cached route that can't be removed with 'ip route flush cache'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
I currently have the following bogus route in my ip route cache:
$ ip route get 128.31.0.51
128.31.0.51 via 207.224.24.214 dev wlan1 src 192.168.15.42
cache <redirected> ipid 0x6ab2 rtt 111ms rttvar 35ms cwnd 10
$
207.224.24.214 is the IP address of the main gateway for my home network, but should not be the next hop for any route on my laptop. There must have been some bug on my network that caused this route to appear.
However, now my problem is that I can't get rid of the route. It doesn't show up in 'ip route list':
$ ip route list
default via 192.168.15.1 dev wlan1 proto static
169.254.0.0/16 dev wlan1 scope link metric 1000
192.168.15.0/24 dev wlan1 proto kernel scope link src 192.168.15.42 metric 2
$
And I can't get rid of it with ip route flush cache:
$ sudo ip route flush cache
$ ip route get 128.31.0.51
128.31.0.51 via 207.224.24.214 dev wlan1 src 192.168.15.42
cache <redirected> ipid 0x6ab2 rtt 111ms rttvar 35ms cwnd 10
$
So I can't reach the machine in question, apparently short of rebooting.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: iproute 20110629-1
ProcVersionSign
Uname: Linux 3.2.0-2-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Mon Dec 5 14:58:07 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: iproute
UpgradeStatus: Upgraded to precise on 2011-11-08 (27 days ago)
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: vorlon 22542 F...m pulseaudio
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf2520000 irq 47'
Mixer name : 'Intel IbexPeak HDMI'
Components : 'HDA:14f15069,
Controls : 13
Simple ctrls : 6
Card29.Amixer.info:
Card hw:29 'ThinkPadEC'
Mixer name : 'ThinkPad EC 6QHT30WW-1.11'
Components : ''
Controls : 1
Simple ctrls : 1
Card29.
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
MachineType: LENOVO 3249CTO
Package: linux (not installed)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.62
StagingDrivers: mei
Tags: precise running-unity staging
Uname: Linux 3.2.0-2-generic x86_64
UpgradeStatus: Upgraded to precise on 2011-11-08 (27 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin mythtv plugdev sambashare src
WifiSyslog:
dmi.bios.date: 08/23/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET52WW (1.22 )
dmi.board.name: 3249CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 3249CTO
dmi.product.
dmi.sys.vendor: LENOVO
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | added: kernel-fixed-upstream |
'ip route show cache' shows two hosts affected, with (for some reason) several entries for one of them.
91.189.89.225 from 192.168.15.42 via 207.224.24.214 dev wlan1
cache <redirected> ipid 0x7e6c
[...]
91.189.89.225 from 192.168.15.42 via 207.224.24.214 dev wlan1
cache <redirected> ipid 0x7e6c
[...]
91.189.89.225 via 207.224.24.214 dev wlan1 src 192.168.15.42
cache <redirected> ipid 0x7e6c
[...]
128.31.0.51 via 207.224.24.214 dev wlan1 src 192.168.15.42
cache <redirected> ipid 0x6ab2 rtt 111ms rttvar 35ms cwnd 10
perhaps more importantly, there are 124 cache entries in total, so it looks like the 'flush cache' is having no effect at all...