[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#785717: Route displayed as existent but has no effect on iptraffic




Package: linux-image-3.2.0-4-amd64
Version: 3.2.60-1+deb7u3
Arch:    amd64 Linux
Desc:    3.2 for 64-bit PCs

When using 'route -n' or 'ip route show' a certain /24 Route is displayed, but does not have effect on the routing decision of the kernel. After removing the bogus route and setting it once again, everything works as expected.

Other packages in conjunction:
net-tools_1.60-24.2_amd64
iproute_20120521-3+b3_amd64
vlan_1.9-3_amd64
libc6_2.13-38+deb7u4_amd64

Here is a transcript:
------------------------------%<-----------------------------------------
toaster:~# ping 192.168.18.1
PING 192.168.18.1 (192.168.18.1) 56(84) bytes of data.
^C
--- 192.168.18.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2006ms

toaster:~# ping 192.168.18.2
PING 192.168.18.2 (192.168.18.2) 56(84) bytes of data.
^C
--- 192.168.18.2 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1006ms

toaster:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.124.246.50 0.0.0.0 UG 0 0 0 vlan10 192.124.246.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan10 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan13 192.168.11.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan12 192.168.18.0 192.124.246.48 255.255.255.0 UG 0 0 0 vlan10 192.168.71.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan11
toaster:~# ip route show
default via 192.124.246.50 dev vlan10
192.124.246.0/24 dev vlan10 proto kernel scope link src 192.124.246.66
192.168.1.0/24 dev vlan13  proto kernel  scope link  src 192.168.1.11
192.168.11.0/24 dev vlan12  proto kernel  scope link  src 192.168.11.201
192.168.18.0/24 via 192.124.246.48 dev vlan10
192.168.71.0/24 dev vlan11  proto kernel  scope link  src 192.168.71.201
toaster:~# traceroute 192.168.18.1
traceroute to 192.168.18.1 (192.168.18.1), 30 hops max, 60 byte packets
 1  win1.asfh-berlin.de (192.124.246.50)  0.319 ms  0.309 ms  0.302 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  *^C
toaster:~# traceroute 192.168.18.2
traceroute to 192.168.18.2 (192.168.18.2), 30 hops max, 60 byte packets
 1  gw.asfh-berlin.de (192.124.246.48)  0.146 ms * *
 2  10.8.0.2 (10.8.0.2)  23.625 ms  23.562 ms  23.561 ms
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  *^C
toaster:~# traceroute 192.168.18.1
traceroute to 192.168.18.1 (192.168.18.1), 30 hops max, 60 byte packets
 1  win1.asfh-berlin.de (192.124.246.50)  0.126 ms  0.111 ms  0.103 ms
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * *^C
toaster:~# route del -net 192.168.18.0/24 gw 192.124.246.48
toaster:~# route add -net 192.168.18.0/24 gw 192.124.246.48
toaster:~# traceroute 192.168.18.1
traceroute to 192.168.18.1 (192.168.18.1), 30 hops max, 60 byte packets
 1  * * *
 2  192.168.18.1 (192.168.18.1)  24.327 ms  24.309 ms  24.279 ms
toaster:~# traceroute 192.168.18.2
traceroute to 192.168.18.2 (192.168.18.2), 30 hops max, 60 byte packets
 1  gw.asfh-berlin.de (192.124.246.48)  0.183 ms  0.166 ms  0.156 ms
 2  10.8.0.2 (10.8.0.2)  23.559 ms  23.558 ms  23.551 ms
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *^C
toaster:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.124.246.50 0.0.0.0 UG 0 0 0 vlan10 192.124.246.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan10 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan13 192.168.11.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan12 192.168.18.0 192.124.246.48 255.255.255.0 UG 0 0 0 vlan10 192.168.71.0 0.0.0.0 255.255.255.0 U 0 0 0 vlan11
toaster:~# ip route show
default via 192.124.246.50 dev vlan10
192.124.246.0/24 dev vlan10 proto kernel scope link src 192.124.246.66
192.168.1.0/24 dev vlan13  proto kernel  scope link  src 192.168.1.11
192.168.11.0/24 dev vlan12  proto kernel  scope link  src 192.168.11.201
192.168.18.0/24 via 192.124.246.48 dev vlan10
192.168.71.0/24 dev vlan11  proto kernel  scope link  src 192.168.71.201
toaster:~# lspci
00:00.0 Host bridge: Intel Corporation 3200/3210 Chipset DRAM Controller (rev 01) 00:01.0 PCI bridge: Intel Corporation 3200/3210 Chipset Host-Primary PCI Express Bridge (rev 01) 00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02) 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02) 00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.3 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02) 00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02) 00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 02)
01:00.0 RAID bus controller: 3ware Inc 9650SE SATA-II RAID PCIe (rev 01)
05:00.0 PCI bridge: Intel Corporation 6702PXH PCI Express-to-PCI Bridge A (rev 09) 0d:00.0 Ethernet controller: Intel Corporation 82573V Gigabit Ethernet Controller (Copper) (rev 03) 0f:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller 11:03.0 VGA compatible controller: XGI Technology Inc. (eXtreme Graphics Innovation) Z9s/Z9m (XG21 core)
toaster:~# lsmod
Module                  Size  Used by
ipt_LOG                12605  1
xt_limit               12638  1
ipt_REJECT             12502  2
xt_tcpudp              12570  37
nf_conntrack_ipv4      14078  1
nf_defrag_ipv4         12483  1 nf_conntrack_ipv4
xt_state               12503  1
nf_conntrack           52720  2 xt_state,nf_conntrack_ipv4
iptable_filter         12536  1
ip_tables              22042  1 iptable_filter
x_tables 19118 7 ip_tables,iptable_filter,xt_state,xt_tcpudp,ipt_REJECT,xt_limit,ipt_LOG
battery                13146  0
power_supply           13475  1 battery
fuse                   61972  1
nfsd                  216167  2
nfs                   308353  1
nfs_acl                12511  2 nfs,nfsd
auth_rpcgss            37143  2 nfs,nfsd
fscache                36739  1 nfs
lockd                  67306  2 nfs,nfsd
sunrpc                173730  10 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
8021q                  23480  0
garp                   13193  1 8021q
stp                    12437  1 garp
bonding                79169  0
ext4                  350763  3
crc16                  12343  1 ext4
jbd2                   62115  1 ext4
ipmi_devintf           17092  0
ipmi_si                36954  0
ipmi_msghandler        35965  2 ipmi_si,ipmi_devintf
dme1737                34038  0
lm85                   22424  0
hwmon_vid              12430  2 lm85,dme1737
loop                   22641  0
sr_mod                 21899  0
cdrom                  35401  1 sr_mod
ftdi_sio               38270  1
usbserial              32061  3 ftdi_sio
i3200_edac             12598  0
edac_core              35258  2 i3200_edac
i2c_i801               16870  0
i2c_core               23876  3 i2c_i801,lm85,dme1737
coretemp               12898  0
iTCO_wdt               17081  1
iTCO_vendor_support    12704  1 iTCO_wdt
acpi_cpufreq           12935  1
mperf                  12453  1 acpi_cpufreq
button                 12937  0
container              12581  0
processor              28149  1 acpi_cpufreq
thermal_sys            18040  1 processor
psmouse                69265  0
shpchp                 31293  0
serio_raw              12931  0
pcspkr                 12579  0
evdev                  17562  3
ext3                  162072  2
mbcache                13114  2 ext3,ext4
jbd                    56902  1 ext3
dm_mod                 63645  12
sg                     25874  0
sd_mod                 36136  5
crc_t10dif             12348  1 sd_mod
ums_cypress            12534  0
usb_storage            43870  1 ums_cypress
e1000e                133833  0
uhci_hcd               26865  0
3w_9xxx                38366  5
scsi_mod 162269 6 3w_9xxx,usb_storage,ums_cypress,sd_mod,sg,sr_mod
ehci_hcd               40249  0
usbcore 128741 7 ehci_hcd,uhci_hcd,usb_storage,ums_cypress,usbserial,ftdi_sio
usb_common             12354  1 usbcore
------------------------------%<-----------------------------------------

I suggest that the issue may be reproduced.

I am using Debian GNU/Linux 7, kernel 3.2.60-1+deb7u3
  and libc6 2.13-38+deb7u4.


Reply to: