Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

5.2. Bringing interfaces up/down

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

5.2.1. Using "ip"

Usage:

# 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
   

5.2.2. Using "ifconfig"

Usage:

# /sbin/ifconfig <interface> up
# /sbin/ifconfig <interface> down
   

Example:

# /sbin/ifconfig eth0 up
# /sbin/ifconfig eth0 down
   
 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linux IPv6 HOWTO (en) ". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.