【求助】linux 重启eth口IPv6地址丢失问题
操作如下
ipv4的地址重启eth1后没有丢失、ipv6的丢失了,如何才能让ipv6的地址不丢失呢?
有知道的大侠告诉下、谢谢。
# ip addr add dev eth1 2011:04:20::1/64
# ip addr add dev eth1 11.11.1.1/24
# ip addr show eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0c:29:d4:62:88 brd ff:ff:ff:ff:ff:ff
inet 11.11.1.1/24 scope global eth1
inet6 2011:4:20::1/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:fed4:6288/64 scope link
valid_lft forever preferred_lft forever
# ip link set dev eth1 down
# ip link set dev eth1 up
# ip addr show dev eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0c:29:d4:62:88 brd ff:ff:ff:ff:ff:ff
inet 11.11.1.1/24 scope global eth1
inet6 fe80::20c:29ff:fed4:6288/64 scope link
valid_lft forever preferred_lft forever