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

Re: Output of /sbin/route reversed?



On Thu, 13 Oct 2011 08:57:56 +0200, Wolfgang Karall wrote:

> I just noticed on my notebook running up-to-date sid that the output of
> route changed compared to what I've been used to for ages, in that it
> shows the default gateway as top-most line:
> 
> x61s:/etc# /sbin/route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
> 0.0.0.0         10.135.15.254   0.0.0.0         UG    0      0        0 eth0 
> [..rest of the about 15 entries get printed below..]
> 
> Is this something I missed regarding the kernel routing table? Or is
> this some problem with my setup? (plain ifupdown configuration plus
> OpenVPN, but it's the same w/out OpenVPN)

I also get the same on my wheezy (gateway displays first). 

Curiously, "ip ro" is also affected and shows the default route in the 
first row. Maybe an intended change from the net stack?

Greetings,

-- 
Camaleón


Reply to: