[Bug 665999] Re: ipv6 routes persist after media disconnect
Ryan Rawdon
ryan at u13.net
Sun Oct 24 19:29:46 UTC 2010
** Description changed:
I've noticed this for a while when switching from wired to wireless
ethernet on a number of different laptops and architectures (as well as
versions of ubuntu - at least 10.10 and 10.04 and probably a few others
- previous). I am disconnecting from eth0 (physically unplugging the
- cable), and the v6 routes associated with this interface are not being
- removed from the kernel routing table. This includes the /64 physically
- connected subnet's route as well as the default route. It is also
- keeping the v6 interface addr for eth0 despite the link being down. The
- v4 connected routes and addresses do not persist after the media is
- disconnected.
+ previous).
+
+ I am disconnecting from eth0 (physically unplugging the cable), and the
+ v6 routes associated with this interface are not being removed from the
+ kernel routing table. This includes the /64 physically connected
+ subnet's route as well as the default route. It is also keeping the v6
+ interface addr for eth0 despite the link being down. The v4 connected
+ routes and addresses do not persist after the media is disconnected.
+
+ This results in broken IPv6 connectivity to the local subnet as well as
+ the Internet at large.
Please see the output below
ryan at nova-rrawdon:~$ ip -6 addr sh
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qlen 1000
inet6 2001:470:8:769:5e26:aff:fe08:562d/64 scope global dynamic
valid_lft 2591902sec preferred_lft 604702sec
inet6 fe80::5e26:aff:fe08:562d/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 fe80::c2cb:38ff:fe06:f14/64 scope link
valid_lft forever preferred_lft forever
ryan at nova-rrawdon:~$ ip -6 ro sh
2001:470:8:769::/64 dev eth0 proto kernel metric 256 expires 2591570sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295
default via fe80::200:24ff:feca:dcb8 dev eth0 proto kernel metric 1024 expires 1370sec mtu 1500 advmss 1440 hoplimit 64
ryan at nova-rrawdon:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 5c:26:0a:08:56:2d brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether c0:cb:38:06:0f:14 brd ff:ff:ff:ff:ff:ff
5: vboxnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
ryan at nova-rrawdon:~$ uname -a
Linux nova-rrawdon 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:26:05 UTC 2010 x86_64 GNU/Linux
ryan at nova-rrawdon:~$ cat /proc/version_signature
Ubuntu 2.6.35-22.34-generic 2.6.35.4
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.34
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ryan 2084 F.... pulseaudio
/dev/snd/pcmC0D0p: ryan 2084 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xe9660000 irq 47'
Mixer name : 'IDT 92HD81B1C5'
Components : 'HDA:111d76d5,1028040a,00100104'
Controls : 14
Simple ctrls : 9
Card1.Amixer.info:
Card hw:1 'NVidia'/'HDA NVidia at 0xe3080000 irq 17'
Mixer name : 'Nvidia GT21x HDMI'
Components : 'HDA:10de000b,10de0101,00100200'
Controls : 16
Simple ctrls : 4
Date: Sun Oct 24 15:02:46 2010
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=06538aad-e115-4245-b93a-e3fdf592401b
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100831.2)
MachineType: Dell Inc. Latitude E6410
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=ecdab842-1204-4e81-9362-a48418ff725a ro quiet splash nomodeset
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
SourcePackage: linux
dmi.bios.date: 07/08/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 0K42JR
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd07/08/2010:svnDellInc.:pnLatitudeE6410:pvr0001:rvnDellInc.:rn0K42JR:rvrA01:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6410
dmi.product.version: 0001
dmi.sys.vendor: Dell Inc.
** Description changed:
I've noticed this for a while when switching from wired to wireless
ethernet on a number of different laptops and architectures (as well as
versions of ubuntu - at least 10.10 and 10.04 and probably a few others
previous).
I am disconnecting from eth0 (physically unplugging the cable), and the
v6 routes associated with this interface are not being removed from the
kernel routing table. This includes the /64 physically connected
subnet's route as well as the default route. It is also keeping the v6
interface addr for eth0 despite the link being down. The v4 connected
routes and addresses do not persist after the media is disconnected.
This results in broken IPv6 connectivity to the local subnet as well as
the Internet at large.
+
+ Personally I am not familiar enough with the mechanisms at hand, the
+ mismatched behavior between v4 and v6 may be related more to Network
+ Manager and not so much the kernel.
Please see the output below
ryan at nova-rrawdon:~$ ip -6 addr sh
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qlen 1000
inet6 2001:470:8:769:5e26:aff:fe08:562d/64 scope global dynamic
valid_lft 2591902sec preferred_lft 604702sec
inet6 fe80::5e26:aff:fe08:562d/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 fe80::c2cb:38ff:fe06:f14/64 scope link
valid_lft forever preferred_lft forever
ryan at nova-rrawdon:~$ ip -6 ro sh
2001:470:8:769::/64 dev eth0 proto kernel metric 256 expires 2591570sec mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth0 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev eth1 proto kernel metric 256 mtu 1500 advmss 1440 hoplimit 4294967295
default via fe80::200:24ff:feca:dcb8 dev eth0 proto kernel metric 1024 expires 1370sec mtu 1500 advmss 1440 hoplimit 64
ryan at nova-rrawdon:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 5c:26:0a:08:56:2d brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether c0:cb:38:06:0f:14 brd ff:ff:ff:ff:ff:ff
5: vboxnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
ryan at nova-rrawdon:~$ uname -a
Linux nova-rrawdon 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:26:05 UTC 2010 x86_64 GNU/Linux
ryan at nova-rrawdon:~$ cat /proc/version_signature
Ubuntu 2.6.35-22.34-generic 2.6.35.4
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.34
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ryan 2084 F.... pulseaudio
/dev/snd/pcmC0D0p: ryan 2084 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xe9660000 irq 47'
Mixer name : 'IDT 92HD81B1C5'
Components : 'HDA:111d76d5,1028040a,00100104'
Controls : 14
Simple ctrls : 9
Card1.Amixer.info:
Card hw:1 'NVidia'/'HDA NVidia at 0xe3080000 irq 17'
Mixer name : 'Nvidia GT21x HDMI'
Components : 'HDA:10de000b,10de0101,00100200'
Controls : 16
Simple ctrls : 4
Date: Sun Oct 24 15:02:46 2010
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=06538aad-e115-4245-b93a-e3fdf592401b
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100831.2)
MachineType: Dell Inc. Latitude E6410
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=ecdab842-1204-4e81-9362-a48418ff725a ro quiet splash nomodeset
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
SourcePackage: linux
dmi.bios.date: 07/08/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 0K42JR
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd07/08/2010:svnDellInc.:pnLatitudeE6410:pvr0001:rvnDellInc.:rn0K42JR:rvrA01:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6410
dmi.product.version: 0001
dmi.sys.vendor: Dell Inc.
--
ipv6 routes persist after media disconnect
https://bugs.launchpad.net/bugs/665999
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list