Re: Do you know the TCP stack? (127.x.x.x routing)

From: Thomas Graf
Date: Sun Mar 06 2005 - 12:31:39 EST


> Hmmm, I don't seem to have the loopback interface...
> This table implies that 127.0.0.1 should go out via eth0
> to a gateway 192.168.13.264. That's hard to believe.

It's in the local table

tgr:axs ~ ip route list dev lo table local
broadcast 127.255.255.255 proto kernel scope link src 127.0.0.1
broadcast 127.0.0.0 proto kernel scope link src 127.0.0.1
local 127.0.0.1 proto kernel scope host src 127.0.0.1
local 127.0.0.0/8 proto kernel scope host src 127.0.0.1
tgr:axs ~ ip route del 127.0.0.1 dev lo table local
tgr:axs ~ ip route del 127.0.0.0/8 dev lo table local
tgr:axs ~ ip route get 127.0.0.1
127.0.0.1 via 192.168.23.13 dev eth0 src 192.168.23.1
cache mtu 1500 advmss 1460 metric10 64
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html