5.2. Colocando as interfaces em up e down

Existem dois métodos usados para colocar as interfaces em up ou down..

5.2.1. Usando "ip"

Uso:

# ip link set dev <interface> up
# ip link set dev <interface> down

Exemplo:

# ip link set dev eth0 up
# ip link set dev eth0 down

5.2.2. Usando "ifconfig"

Uso:

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

Exemplo:

# /sbin/ifconfig eth0 up
# /sbin/ifconfig eth0 down


Your connection is via: IPv4
Your address: 18.234.88.196
mirrors.bieringer.de
is maintained by
webmaster at bieringer dot de
(Impressum)
powered by Apache HTTP server powered by Linux IPv4 connectivity is provided by
Strato