Deactivating an interface

6.18 LPAR mode z/VM guest

You can deactivate an interface with ip or an equivalent command or by setting the network device offline.

About this task

Setting a device offline involves actions on the attached device, but deactivating an interface only stops the interface logically within Linux®.

Procedure

To deactivate an interface with ip, issue a command of the form:
# ip link set dev <interface_name> down

Example

To deactivate eth0 issue:
# ip link set dev eth0 down