User Tools

Site Tools


wiki:bringing_interfaces_up_down

This is an old revision of the document!


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.1474535783.txt.gz · Last modified: 2023/03/09 22:35 (external edit)