Disabling ethernet link on an Intel nic?

John Baldwin jhb at freebsd.org
Mon Aug 13 17:47:15 UTC 2012


On Saturday, August 11, 2012 9:35:14 am David Duchscher wrote:
> Greetings, 
> 
> I have a need to turn off the link of an ethernet port on a Intel nic.  The 
issue is not a big deal but one we would like to solve.  we have no way of 
signaling an upstream router that a path is down but via turning off the link 
of the ethernet port.  This would only be used when something goes wrong. The 
hope is that we could automate some problems and handle other situations 
remotely avoiding having to visit the system in person.
> 
> Any thoughts?  We can modify the system so if it means modifying the driver 
or some other code, I am willing to try.  Just need a little direction.

Hmm, does 'ifconfig foo down' not do this?

-- 
John Baldwin


More information about the freebsd-hackers mailing list