Comment 0 for bug 900522

Revision history for this message
Steve Langasek (vorlon) wrote :

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
ProcVersionSignature: Ubuntu 3.2.0-2.6-generic 3.2.0-rc3
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)