Re: IMCP not returning

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

 



On Sat, Jun 11, 2005 at 07:29:49PM +0300, Sadus . wrote:
> This is what i'm getting:
> 
> debian:~# ip route get locationIP
> locationIP dev eth1  src HostIP     
> 	cache  mtu 1500 advmss 1460 hoplimit 64

that's not a complete entry, unless $locationIP is on the same layer 3
subnet as $HostIP.

like this output from my machine on 10.1.1.0/24 with IP 10.1.1.223:

$ ip route get 10.1.1.1
10.1.1.1 dev eth0  src 10.1.1.223
    cache  mtu 1500 advmss 1460 fragtimeout 64

a route get for an IP address not on the local segment would have a "via
$gateway_IP" part to it:

$ ip route get 4.2.2.2
4.2.2.2 via 10.1.1.1 dev eth0  src 10.1.1.223
    cache  mtu 1500 advmss 1460 fragtimeout 64

since you're not providing any actual IP information, i can't actually
help you, but if $locationIP is not on the same layer 3 subnet as
$HostIP, or is not *directly* reachable on eth1, someone has added a
faulty route to that box along the lines of this:

  ip route add $locationIP dev eth1

instead of:

  ip route add $locationIP via $gateway_IP

good luck figuring it out--you have all the tools at your hands now.

-j

--
"Peter: YEAH. I'm also addicted to boobies."
        --Family Guy


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux