设置:
目前正在使用RedHat7.2(确切地说是Red Hat Enterprise Linux Server release 7.2 (Maipo))的机器工作。
我配置了一个vxlan接口:
# ip link add test.123 type vxlan dev test id 123 dstport 4789
# ifconfig test.123
test.123: flags=4098<BROADCAST,MULTICAST> mtu 1450
ether a2:3a:a8:0c:d9:76 txqueuelen 1000 (Ethernet)
我想使用我的接口与一个单一的IPv4地址和IPv6禁用。
IPv4是在手动配置的,静态IP没有网关和网络掩码255.255.255.0。User this connection only for resources on its network也被勾选了。DNS和路由自动。
IPv6“禁用”在nmcli和nmtui中称为ignore。
📷
重新启动后,我仍然得到一个IPv6地址。为什么?
📷
CentOS Linux7.7.1908版(核心)
3.10.0-1062.12.1.el7.x86_64