https://bugzilla.novell.com/show_bug.cgi?id=833272
https://bugzilla.novell.com/show_bug.cgi?id=833272#c0
Summary: route cache is empty
Classification: openSUSE
Product: openSUSE 12.3
Version: Final
Platform: x86-64
OS/Version: openSUSE 12.3
Status: NEW
Severity: Major
Priority: P5 - None
Component: Kernel
AssignedTo: kernel-maintainers@forge.provo.novell.com
ReportedBy: radaiming@gmail.com
QAContact: qa-bugs@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/28.0.1500.71 Safari/537.36
My PC is connected to a router with dhcp server, when plug in ehternet cable,
NetworkManager will automatically get IP address via dhcp, the route table is
correct:
# ip route show
default via 10.12.0.1 dev eth0 proto static
10.12.0.0/18 dev eth0 proto kernel scope link src 10.12.32.57
I can access networks correctly, and have network activity such as checking for
software update, but the route cache is always empty, the kernel version is:
# uname -a
Linux linux-4dq5.site 3.7.10-1.11-desktop #1 SMP PREEMPT Thu May 16 20:27:27
UTC 2013 (adf31bb) x86_64 x86_64 x86_64 GNU/Linux
Reproducible: Always
Steps to Reproduce:
1. plug in ethernet cable which connect to a router with dhcp server,
NetworkManager will automatically get IP address via dhcp;
2. run "ip route show cache" command or "route -Cn" or cat /proc/net/rt_cache
Actual Results:
# ip route show cache
# route -Cn
Kernel IP routing cache
Source Destination Gateway Flags Metric Ref Use Iface
# cat /proc/net/rt_cache
Iface Destination Gateway Flags RefCnt Use Metric
Source MTU Window IRTT TOS HHRef HHUptod SpecDst
Expected Results:
This results come from my laptop with Gentoo self-compiled kernel 3.4.0, the
results are very long, I only paste some here:
$ ip route show cache
193.120.199.11 from 10.12.21.7 via 10.12.0.1 dev eth0
cache ipid 0xed70
10.12.32.24 dev eth0 src 10.12.21.7
cache ipid 0x05c3
broadcast 10.12.63.255 from 10.12.21.10 dev lo src 10.12.21.7
cache