1pc, 2 network devices in same network -> ping problem

beyens.pieter_at_gmail.com
Date: 05/31/05


Date: 31 May 2005 02:22:13 -0700

Hello,

Consider the following situation:

kernel 2.4
1 pc, 2 network devices
Both devices have an IP of the same network e.g.
net_device1 has IP 192.168.0.1
net_device2 has IP 192.168.0.2

This results in the following routing table
(dependent of which device is firstly initialized with ifconfig ...
up):
...
...
192.168.0.0 * 255.255.0.0 U 0 0 0 net_device2
192.168.0.0 * 255.255.0.0 U 0 0 0 net_device1

When pinging to net_device1,
net_device2 responds to the arp-request and the ping instead of
net_device1 (even when the cable of net_device1 is unplugged).
Thus net_device2 kind of becomes the "gateway" of network 192.168.0.0.
Net_device1 never responds.

How can I change this behavior to obtain that:
- net_device1 responds to an arp-request and a ping to 192.168.0.1
- net_device2 responds to an arp-request and a ping to 192.168.0.2 ?

This is needed for monitoring purposes (to be able to switch between a
main e.g. net_device1 and backup device e.g. net_device2).

Thx
Pieter Beyens



Relevant Pages

  • Re: Mshome is not accessible
    ... Windows Network, and select the workgroup I get: ... Mshome is not accessible. ... All computers are running Windows XP SP2 and are members of the MSHOME ... Computer A can ping using ping hom100fr001. ...
    (microsoft.public.windowsxp.network_web)
  • network slowness/freez-up since update 10/11
    ... network problems: first the network is slow (even within a few ... network - but not the rest of the system - just locks up (can't ping ... OHCI version 1.0, legacy support ... <Parallel port bus> on ppc0 ...
    (freebsd-current)
  • network slowness/freez-up since update 10/11
    ... network problems: first the network is slow (even within a few ... network - but not the rest of the system - just locks up (can't ping ... OHCI version 1.0, legacy support ... <Parallel port bus> on ppc0 ...
    (freebsd-current)
  • Re: Networking problem
    ... I finally got it to the point that from the desktop i can ping the ip ... of the laptop and get a response. ... It seems some network configuration is not ok on the laptop. ... each machine hooked to ethernet ports of wireless router. ...
    (microsoft.public.windowsxp.general)
  • network slowness/freez-up since update 10/11
    ... network problems: first the network is slow (even within a few ... network - but not the rest of the system - just locks up (can't ping ... OHCI version 1.0, legacy support ... <Parallel port bus> on ppc0 ...
    (freebsd-current)