User Tools

Site Tools


wiki:bringing_interfaces_up_down

Bringing Interfaces Up/Down


Two methods can be used to bring interfaces up or down.

Using "ip"


From the command line, use:

  ip link set dev <interface> up
  ip link set dev <interface> down
  
  Example:
  ip link set dev eth0 up
  ip link set dev eth0 down



Using "ifconfig"


From the command line, use:

  /sbin/ifconfig <interface> up
  /sbin/ifconfig <interface> down
  
  Example:
  /sbin/ifconfig eth0 up
  /sbin/ifconfig eth0 down



wiki/bringing_interfaces_up_down.txt · Last modified: 2017/02/28 18:00 (external edit)