Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

2 NIC's on same network, possible?

From: Vineet Mehta <vineet(at)linux.com.kw>
Date: Sun Jul 27 2003 - 02:49:10 EDT


Hi all,

My collegue has a Linux machine which has 2 NIC's on it. What he did was assign the IP's 192.168.0.6/24 and 192.168.0.7/24 to the NIC's. And he was trying to ping the network but was getting errors (i dont know the errors).


              | Switch         |
              |_________________|

| |
| |
| |
------------------------------- | NIC1 NIC2 | |192.168.0.6/24 192.168.0.7/24| | Machine | |-----------------------------|

I tried explaining him like this:->

Configuring the machine's network like this is not a big problem, coz other machines on the network can still see these 2 IP's. But his machine will not be able to reach other machines on the network coz 2 NIC's point to the same network so Linux kernel would be confused for which NIC to use to send packets. If by any means we set the route to use ANY one NIC to reach the network then there will be no errors.

Am i right in this, or this is not possible AT ALL? I took my thought from the concept of IP Aliasing.

Thanks in advance for any help.

Regards,

-- 
Vineet Mehta
Network Security Consultant
Kuwait Linux Company
Kuwait
Ph-2412552/2463633

www.linux.com.kw

Received on Mon Jul 28 20:30:03 2003
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:06:38 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library