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

2 nic setting



I have a Debian Woody stock os running 2 3Com 100Mbit NICs.

I setup both the nic on the same subnet mask ie

nic1 ip address 192.168.1.143
nic2 ip address 192.168.1.142

The reason is to separate the separate the nic for different service, sharing the load. For NIC1 I ask Asterisk to do its business on 192.168.1.143. Netstat shows that the IAX is listening on 192.168.1.143.
For the other NIC, I want to use it for terminal services.

Netstat does show that both nics are up
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

But doing a arp -a it shows that both ip addresses only lead to 1 mac address which the NIC1.

What I have done wrong here? Why pinging 192.168.1.143 and 192.168.1.142 from another machine only lead to the same nic with a single mac address?

David Kwok



Reply to: