5.2. Interfaces ein/aus-schalten

Es gibt zwei Methoden, ein Interface ein- oder auszuschalten.

5.2.1. Verwendung von "ip"

Gebrauch:

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

Beispiel:

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

5.2.2. Verwendung von "ifconfig"

Gebrauch:

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

Beispiel:

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


Your connection is via: IPv4
Your address: 38.107.191.97
IPv6 Ready Interessiert an einer
Spende
an den Author?
mirrors.bieringer.de
is maintained by
webmaster at bieringer dot de
(Impressum)
powered by Apache2 powered by Linux Webhosting is provided by
AERAsec
IPv6 connectivity is provided by
M-Net