It looks like this has been fixed upstream. I will close it. If the
problem still occurs, please reopen it.
** Changed in: linux (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/917643
Title:
Adding IPv6 address to vlan in UNKNOWN state results in routes that
expire within 30 days.
Status in linux package in Ubuntu:
Invalid
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/917643/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp