how can i shutdown the PHYSICAL interface of an ethernet interface
I would like to shutdown the physical interface of an ethernet interface, without disconnecting the cable that is connected to this interface.
Basically, I would like to shutdown the LED of the ethernet interface.
If I do
ifconfig eth2 down
then the IP address is removed from the routing table, but the LED is still blinking on the interface.
same for
ip link set eth3 off
how can I switch the interface off (so simulate a cable cut ?) without really disconnecting the cable ?
|