2 nics on the same subnet mask
I have a FC1 server set up with 2 identical 3 com 100M nic.
I want to set up 2 nics in order to assign 2 different services to each nic.
eth0 192.168.1.143 - PBX
eth1 19126.96.36.199 - Terminal Service and others.
ifconfig eth0 192.168.1.143 netmask 255.255.255.0 up
ifconfig eth0 192.168.1.142 netmask 255.255.255.0 up
route add default gw 192.168.1.1
I can specify asterisk to listen on ip address 143. However, when I look up the routing table on my gateway. Both ip addresses are share the same mac address. In other word, arp treated the ip addresses as the nic card although in reality they are not.
Is it possible to run 2 nic on the same subnet mask? And does my idea work at all?
since all the network traffic is in fact going though the same nic I have problem using my ip phone.