Re: ARP routing issue

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

 



Jan De Luyck wrote:
On Thursday 06 January 2005 17:06, Steve Iribarne wrote:

Hi Jan,


-> default gateway is set to 10.0.22.1, on eth0. -> -> Problem is, if I try to ping from another network -> (10.216.0.xx) to 10.0.24.xx, i see the following ARP request: -> -> arp who-has 10.0.22.1 tell 10.0.24.xx ->

You see that coming out the eth0 interface??

If that is the case it is most definately wrong.  Assuming that your
masks are setup properly.  But I haven't worked on the 2.4 kernel for a
long time so I'm not so sure if what you are seeing is a bug that has
been fixed.


The network information is:
eth0 10.0.22.xxx mask 255.255.255.0
eth1 10.0.24.xxx mask 255.255.255.0

routing:
10.0.22.0 0.0.0.0 255.255.255.0 eth0
10.0.24.0 0.0.0.0 255.255.255.0 eth1
0.0.0.0  10.0.22.1 0.0.0.0  eth0

Jan


That arp is perfectly OK.
The routing table will cause the icmp echo packet to go from 10.216.0.xx to 10.0.24.xx via the 10.0.24.x network.
The icmp echo response will return via the 10.0.22.x network back to the 10.216.0.xx network.
So the paths in each direction are different.


the "arp who-has 10.0.22.1 tell 10.0.24.xx", you can safely ignore the "10.0.24.xx" bit, as that will be ignored by the device responding to the ARP.
It is just highlighting the point that you have 2 paths to the same destination.


Cheers

James

-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux