doku:ifconfig_ip
Ziel | ifconfig/route/arp | ip |
---|---|---|
Zeige alle Devices | ifconfig | ip addr show / ip link show |
Device up | ifconfig eth0 up | ip link set eth0 up |
IP-Nummer | ifconfig eth0 192.168.0.77 | ip address add 192.168.0.77 dev eth0 |
Alias | ifconfig eth0:1 10.0.0.1/8 | ip addr add 10.0.0.1/8 dev eth0 label eth0:1 |
Route anzeigen | route -n | ip route show |
Route setzen | route add -net 192.168.1.0 dev eth1 | ip route add 192.168.1.0 dev eth1 / ip route add 192.168.1.0 via 192.168.1.1 |
Links:
- Cheat Sheet: https://access.redhat.com/articles/ip-command-cheat-sheet (Tipp von Jochen Vetter)
doku/ifconfig_ip.txt · Zuletzt geändert: 2015-06-25 12:39 von 127.0.0.1