Networking Forums

Networking Forums > Computer Networking > Linux Networking > 1pc, 2 network devices in same network -> ping problem

Reply
Thread Tools Display Modes

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

 
 
beyens.pieter@gmail.com
Guest
Posts: n/a

 
      05-31-2005, 09:22 AM
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows 2003 network problem/ping Mike Windows Networking 10 04-19-2008 11:41 PM
Problem with Ad-hoc wireless network Windows to Linux (no ping) tangens0@gmail.com Linux Networking 11 03-02-2008 10:47 PM
newbie debian network problem : no ping on eth0 Alan Myler Linux Networking 2 07-10-2006 11:58 PM
network problem (can't ping myself) - newb GRM Linux Networking 11 10-25-2005 11:48 AM
Microsoft Broadband Network Util Network Devices List Mark A. Huckaby Broadband Hardware 2 08-11-2004 09:46 PM



1 2 3 4 5 6 7 8 9 10 11