two nics on one subnet on one machine
I`ve configured a machine with 2 physical nics witch both are attached to the same subnet.
They both have a different ip address ( in the same subnet ).
But when I do an arp request from a second machine for the ip adres of one of nics on the first machine I get a reply of both interfaces on the machine .
Does anybody know why this is happening ?
Thanks in advance for the answer.
Are you getting two different MAC addresses or the same MAC address?
Also what is the output of this on your system:
I found the solution myself.
If two interfaces are on the same subnet they both answer arp requests ( with their own mac ) for the ip adress that just is configured on one of the cards.
This behaviour can be stopped by setting :
echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter
|All times are GMT -5. The time now is 02:17 PM.|