I need to temporarily down the physical link of a wired ethernet interface, and as far as I can tell ifconfig isn't capable of this. Well, with some interfaces
ifconfig <dev> down
followed by ifconfig <dev> up
does seem to briefly down the link. The briefness is fine for my purposes (it only needs to be down for an instant) but leveraging this seems shady. Is there some other way?
Last edited by a moderator: