Server responds to all configured ip addresses when the cable isn't plugged in.
I have two ips (192.168.1.10 and 192.168.100.10) on two different nics configured on a redhat ES 3 server. Only one of the network cables are plugged in on one of the nics. If I ping or arping that server from another machine on either of the ip's, the server responds. Is this supposed to happen by design? If it is, is there a way I can stop it? I only want the server to respond to traffic if it comes in on the appropriate network interface.
I tried setting "net.ipv4.conf.all.arp_filter = 1" in /etc/sysctl.conf and rebooted the servers, but that did not work. Any help would be greatly appreciated. |
Try to disable the ip forward.
Code:
echo 0 > /proc/sys/net/ipv4/ip_forward |
Quote:
|
All times are GMT -5. The time now is 03:42 PM. |