![]() TX packets:13355 errors:0 dropped:0 overruns:0 carrier:0 RX packets:48116 errors:0 dropped:0 overruns:0 frame:0 It would appear (tested with ifupdown version 0.7.53.1) that we can add several iface eth0 inet6 stanzas to the interfaces file, which is more declarative than the accepted answer. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 These temporary addresses are kept active for quite a. if answering to a ping, the source IP of the answer will be the destination IP of the request, no matter which address. ![]() fe80::/64) is sent from the link-local address, everything else from the global one. This is a privacy extension as your IP address will change periodically and can't be traced back to your server as easily as a fixed address. When sending something, everything sent to a link-local address (i.e. One feature IPv6 has is the ability to generate random addresses with a /128 range. Valid_lft forever preferred_lft ifconfig eth0 Ubuntu has IPv6 enabled by default and has for a long time. You can also use the ip command to display the status of an interface. Valid_lft forever preferred_lft ifconfig eth0 ip addr show dev eth0Ģ: eth0: mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 Link/ether 00:0c:29:99:03:c2 brd ff:ff:ff:ff:ff:ff 4 Answers Sorted by: 12 Generally, you really should not remove the link-local address, as it is required for core IPv6 features to work, such as Neighbour Discovery (i.e. UP BROADCAST RUNNING MULTICAST MTU:1500 ip -6 addr add dead::1/120 dev ip addr show dev eth0Ģ: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 Any kernel patch/sysctl to retain the ipv6 address configured after the link flap.?Īlso this behavior is different than ipv4 address on the same interface where the ipv4 address is retained across the link flap, any particular reason why this is the behavior for ipv6 address only.? ifconfig eth0Įth0 Link encap:Ethernet HWaddr 00:0c:29:99:03:c2 In linux/ubuntu after the link flap on an interface the global ipv6 address is flushed out & not seen in ifconfig.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |