Synopsis: IP respond to ping even if the attached interface is no carrier
Arrival-Date: Tue Jul 13 09:10:02 UTC 2010
Originator: Fabrice Bruel
Release: FreeBSD 8.0 release amd 64
Please considered a server with two or more physicals Ethernet Interfaces. To supervise this server, we are using a tool that try to ping all the IP address of the server, but the IP packet come by just one interface (that is on the same LAN on the supervision tool).
If an interface is "no carrier", its IP answer very well to the ping request, so in our tool, everything seems to be OK.
Is it possible that the FreeBSD Kernel checks the status of an interface before answer ?
- A server with two physical interfaces.
- a static route to access the second interface through the first interface
- unplugged the network cable in the second interface
- ping @IP_attached_to_the_second_interface