Deactivating an interface
![]()
You can deactivate an interface with ip or an equivalent command or by setting the network device offline.
About this task
Procedure
To deactivate an interface with ip,
issue a command of the form:
# ip link set dev <interface_name> down
Example
# ip link set dev eth0 down