← Back to team overview

kernel-packages team mailing list archive

[Bug 1411350] [NEW] routing table does not show dynamic routes

 

Public bug reported:

Dynamic routes gotten from ICMP-redirect message are not shown in the
routing table.

Here is an example from my network:
My default router is 147.91.174.17 which had sent back ICMP-redirect packet to change route to 147.91.174.5

$route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         147.91.174.17   0.0.0.0         UG    0      0        0 eth0
147.91.174.0    *               255.255.255.0   U     1      0        0 eth0
$netstat -rt
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
default         147.91.174.17   0.0.0.0         UG        0 0          0 eth0
147.91.174.0    *               255.255.255.0   U         0 0          0 eth0
$ ip route show
default via 147.91.174.17 dev eth0  proto static 
147.91.174.0/24 dev eth0  proto kernel  scope link  src 147.91.174.16  metric 1 

But packets to certain hosts are routed to a different router:
# ip route get 82.94.219.115
82.94.219.115 via 147.91.174.5 dev eth0  src 147.91.174.16 
    cache <redirected>

As you can see,  route to 147.91.174.5 is not listed in the main routing
table.

Is this a bug or expected behaviour?

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-generic 3.13.0.43.50
ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
Uname: Linux 3.13.0-43-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  zzarko     1969 F.... pulseaudio
 /dev/snd/controlC0:  zzarko     1969 F.... pulseaudio
CurrentDesktop: Unity
Date: Thu Jan 15 18:34:11 2015
HibernationDevice: RESUME=UUID=33a09d3d-d43f-4755-acee-21f923268c1b
InstallationDate: Installed on 2014-07-14 (185 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
IwConfig:
 eth0      no wireless extensions.
 
 lo        no wireless extensions.
MachineType: Hewlett-Packard HP Compaq Elite 8300 CMT
ProcFB: 0 VESA VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-43-generic root=UUID=93f74578-9c5b-4ef0-a3e0-f29949715269 ro
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-43-generic N/A
 linux-backports-modules-3.13.0-43-generic  N/A
 linux-firmware                             1.127.11
RfKill:
 
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/16/2013
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: K01 v02.90
dmi.board.asset.tag: CZC4231W0V
dmi.board.name: 3396
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: CZC4231W0V
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrK01v02.90:bd07/16/2013:svnHewlett-Packard:pnHPCompaqElite8300CMT:pvr:rvnHewlett-Packard:rn3396:rvr:cvnHewlett-Packard:ct3:cvr:
dmi.product.name: HP Compaq Elite 8300 CMT
dmi.sys.vendor: Hewlett-Packard

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
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/1411350

Title:
  routing table does not show dynamic routes

Status in linux package in Ubuntu:
  New

Bug description:
  Dynamic routes gotten from ICMP-redirect message are not shown in the
  routing table.

  Here is an example from my network:
  My default router is 147.91.174.17 which had sent back ICMP-redirect packet to change route to 147.91.174.5

  $route
  Kernel IP routing table
  Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
  default         147.91.174.17   0.0.0.0         UG    0      0        0 eth0
  147.91.174.0    *               255.255.255.0   U     1      0        0 eth0
  $netstat -rt
  Kernel IP routing table
  Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
  default         147.91.174.17   0.0.0.0         UG        0 0          0 eth0
  147.91.174.0    *               255.255.255.0   U         0 0          0 eth0
  $ ip route show
  default via 147.91.174.17 dev eth0  proto static 
  147.91.174.0/24 dev eth0  proto kernel  scope link  src 147.91.174.16  metric 1 

  But packets to certain hosts are routed to a different router:
  # ip route get 82.94.219.115
  82.94.219.115 via 147.91.174.5 dev eth0  src 147.91.174.16 
      cache <redirected>

  As you can see,  route to 147.91.174.5 is not listed in the main
  routing table.

  Is this a bug or expected behaviour?

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-generic 3.13.0.43.50
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  zzarko     1969 F.... pulseaudio
   /dev/snd/controlC0:  zzarko     1969 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Thu Jan 15 18:34:11 2015
  HibernationDevice: RESUME=UUID=33a09d3d-d43f-4755-acee-21f923268c1b
  InstallationDate: Installed on 2014-07-14 (185 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: Hewlett-Packard HP Compaq Elite 8300 CMT
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-43-generic root=UUID=93f74578-9c5b-4ef0-a3e0-f29949715269 ro
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-43-generic N/A
   linux-backports-modules-3.13.0-43-generic  N/A
   linux-firmware                             1.127.11
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/16/2013
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: K01 v02.90
  dmi.board.asset.tag: CZC4231W0V
  dmi.board.name: 3396
  dmi.board.vendor: Hewlett-Packard
  dmi.chassis.asset.tag: CZC4231W0V
  dmi.chassis.type: 3
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvrK01v02.90:bd07/16/2013:svnHewlett-Packard:pnHPCompaqElite8300CMT:pvr:rvnHewlett-Packard:rn3396:rvr:cvnHewlett-Packard:ct3:cvr:
  dmi.product.name: HP Compaq Elite 8300 CMT
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1411350/+subscriptions


Follow ups

References