Activity log for bug #917643

Date Who What changed Old value New value Message
2012-01-17 13:33:29 SaveTheRbtz bug added bug
2012-01-17 13:34:26 SaveTheRbtz description We noticed that after we add IPv6 address to vlan route to local network is added with expire date. If after `ip link set vlanXXX up` up we wait until vlan's link state becomes UP then route get added without expiration time. We are using Ubuntu LTS 10.04: Ubuntu 2.6.32-32.62-server 2.6.32.38+drm33.16. To reproduce one can use following test script: $ cat test.sh ip addr del 2a02::1.1.1.1/64 dev vlan764 || : vconfig rem vlan764 || : vconfig set_name_type VLAN_PLUS_VID_NO_PAD vconfig add eth0 764 ip link set vlan764 up #sleep 5 ip addr add 2a02::1.1.1.1/64 dev vlan764 sleep 2 ip -6 route show $ sudo ./test.sh 2a02::/64 dev vlan764 proto kernel metric 256 expires 2591999sec mtu 8950 advmss 8890 hoplimit 4294967295 fe80::/64 dev eth0 proto kernel metric 256 mtu 8950 advmss 8890 hoplimit 4294967295 fe80::/64 dev vlan764 proto kernel metric 256 mtu 8950 advmss 8890 hoplimit 4294967295 default via fe80::226:bff:fe29:c40 dev vlan764 proto kernel metric 1024 expires 1799sec mtu 8950 advmss 8890 hoplimit 64 Notice `expires 2591999sec` in `2a02::/64 dev vlan764 ` route Now uncomment `#sleep 5` $ sudo ./test.sh 2a02::/64 dev vlan764 proto kernel metric 256 mtu 8950 advmss 8890 hoplimit 4294967295 fe80::/64 dev eth0 proto kernel metric 256 mtu 8950 advmss 8890 hoplimit 4294967295 fe80::/64 dev vlan764 proto kernel metric 256 mtu 8950 advmss 8890 hoplimit 4294967295 default via fe80::226:bff:fe29:c40 dev vlan764 proto kernel metric 1024 expires 0sec mtu 8950 advmss 8890 hoplimit 64 Now `expire` is gone. We noticed that after adding IPv6 address to vlan route to local network is added with expiration time. If after `ip link set vlanXXX up` up we wait until vlan's link state becomes UP then route get added without expiration time. We are using Ubuntu LTS 10.04: Ubuntu 2.6.32-32.62-server 2.6.32.38+drm33.16. To reproduce one can use following test script: $ cat test.sh ip addr del 2a02::1.1.1.1/64 dev vlan764 || : vconfig rem vlan764 || : vconfig set_name_type VLAN_PLUS_VID_NO_PAD vconfig add eth0 764 ip link set vlan764 up #sleep 5 ip addr add 2a02::1.1.1.1/64 dev vlan764 sleep 2 ip -6 route show $ sudo ./test.sh 2a02::/64 dev vlan764 proto kernel metric 256 expires 2591999sec mtu 8950 advmss 8890 hoplimit 4294967295 fe80::/64 dev eth0 proto kernel metric 256 mtu 8950 advmss 8890 hoplimit 4294967295 fe80::/64 dev vlan764 proto kernel metric 256 mtu 8950 advmss 8890 hoplimit 4294967295 default via fe80::226:bff:fe29:c40 dev vlan764 proto kernel metric 1024 expires 1799sec mtu 8950 advmss 8890 hoplimit 64 Notice `expires 2591999sec` in `2a02::/64 dev vlan764 ` route Now uncomment `#sleep 5` $ sudo ./test.sh 2a02::/64 dev vlan764 proto kernel metric 256 mtu 8950 advmss 8890 hoplimit 4294967295 fe80::/64 dev eth0 proto kernel metric 256 mtu 8950 advmss 8890 hoplimit 4294967295 fe80::/64 dev vlan764 proto kernel metric 256 mtu 8950 advmss 8890 hoplimit 4294967295 default via fe80::226:bff:fe29:c40 dev vlan764 proto kernel metric 1024 expires 0sec mtu 8950 advmss 8890 hoplimit 64 Now `expire` is gone.
2012-01-17 14:00:09 Brad Figg linux (Ubuntu): status New Incomplete
2012-01-17 14:05:10 SaveTheRbtz linux (Ubuntu): status Incomplete Confirmed
2012-01-17 19:25:49 SaveTheRbtz summary Adding address to vlan in UNKNOWN state results in routes that expire within 30 days. Adding IPv6 address to vlan in UNKNOWN state results in routes that expire within 30 days.
2012-01-17 21:53:55 Joseph Salisbury tags needs-upstream-testing
2012-01-17 21:54:02 Joseph Salisbury linux (Ubuntu): status Confirmed Incomplete
2012-01-17 21:54:05 Joseph Salisbury linux (Ubuntu): importance Undecided Medium
2012-01-17 22:31:56 SaveTheRbtz tags needs-upstream-testing
2012-01-17 22:33:56 SaveTheRbtz linux (Ubuntu): status Incomplete Confirmed
2017-08-08 22:53:23 SaveTheRbtz removed subscriber SaveTheRbtz