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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/pan.2011.10.13.14.43.12@xxxxxxxxx



Relevant Pages

  • Re: Modem and NIC Gateway
    ... my ISP uses DHCP so the local IP, gateway and DNSs are being assigned ... You shouldn't need to set a gateway in order to ping 172.21.0.1 because ... Your initial routing table ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [OT] Source Based Routing
    ... Now the IP the provider uses as gateway is ... Let me recommend using Shorewall for this. ... add more routing tables so that I could use the full range as outgoing ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: multiple nic/IP in firewall
    ... Kernel IP routing table ... default gateway, that should probably have a next hop specific to that ...
    (Debian-User)
  • Re: Output of /sbin/route reversed?
    ... Is this something I missed regarding the kernel routing table? ... I also get the same on my wheezy (gateway displays first). ... "ip ro" is also affected and shows the default route in the ...
    (Debian-User)
  • Re: network setup question
    ... server1:/home/milesf# route ... Kernel IP routing table ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject ...
    (Debian-User)