>
> I've been deploying multi-interface Linux gateways since 2008, so I'll try.
> Please post:
> - output of ip rule sh


# ip rule sh
0:      from all lookup local
32766:  from all lookup main
32767:  from all lookup default

# ip route sh table 0
192.168.19.0/24 dev eth2  proto kernel  scope link  src 192.168.19.95
195.75.145.0/24 dev eth0  proto kernel  scope link  src 195.75.145.122
default via 195.75.145.1 dev lo  scope link
broadcast 127.255.255.255 dev lo  table local  proto kernel  scope link
 src 127.0.0.1
local 195.75.145.122 dev eth0  table local  proto kernel  scope host  src
195.75.145.122
broadcast 192.168.19.0 dev eth2  table local  proto kernel  scope link  src
192.168.19.95
broadcast 195.75.145.255 dev eth0  table local  proto kernel  scope link
 src 195.75.145.122
broadcast 195.75.145.255 dev lo  table local  proto kernel  scope link  src
195.75.145.120
local 195.75.145.120 dev lo  table local  proto kernel  scope host  src
195.75.145.120
local 192.168.19.95 dev eth2  table local  proto kernel  scope host  src
192.168.19.95
broadcast 192.168.19.255 dev eth2  table local  proto kernel  scope link
 src 192.168.19.95
broadcast 195.75.145.0 dev eth0  table local  proto kernel  scope link  src
195.75.145.122
broadcast 195.75.145.0 dev lo  table local  proto kernel  scope link  src
195.75.145.120
broadcast 127.0.0.0 dev lo  table local  proto kernel  scope link  src
127.0.0.1
local 127.0.0.1 dev lo  table local  proto kernel  scope host  src 127.0.0.1
local 195.75.145.0/24 dev lo  table local  proto kernel  scope host  src
195.75.145.120
local 127.0.0.0/8 dev lo  table local  proto kernel  scope host  src
127.0.0.1

# ip route sh table 32766
# ip route sh table 32767

Both 32766 and 32767 are empty....

Thanks very much!

Regards,
Massimiliano



On Mon, Nov 7, 2011 at 14:59, Pandu Poluan <pa...@poluan.info> wrote:

>
> On Nov 7, 2011 8:38 PM, "Massimiliano Ziccardi" <
> massimiliano.zicca...@gmail.com> wrote:
> >>
> >> seems to be a really tricky one...
> >> What does
> >> tracepath 195.75.145.33
> >> give?
> >
> >
> > Here is the output:
> >
> >  1:  195.75.145.33 (195.75.145.33)                          0.074ms pmtu
> 16436
> >  1:  195.75.145.33 (195.75.145.33)                          0.039ms
> reached
> >  1:  195.75.145.33 (195.75.145.33)                          0.028ms
> reached
> >
> > I tried shutting down localhost with:
> >
> > ifconfig lo down.
> >
> > Now I can't ping 195.75.145.33 anymore (as all the other 195.75.145.xx
> addresses).
> >
> > And now tracepath gives:
> >
> > 1:  send failed
> >      Resume: pmtu 65535
> >
> > So, for some reason, seems it always uses the 'lo' device...
> >
> > Any idea?
> >
>
> I've been deploying multi-interface Linux gateways since 2008, so I'll try.
>
> Please post:
>
> - output of ip rule sh
> - output of ip route sh table $t, where $t is *all* table names/numbers
> you get from the first output ( "... lookup $t" )
>
> Rgds,
>

Reply via email to