A continuación se muestra una breve comparación de los comandos proporcionados por net-tools V/s iruta paquete. Básicamente estaremos comparando los comandos ifconfig V/s ip.
COMANDOS DE HERRAMIENTAS DE RED | COMANDOS IPROUTE |
---|---|
arp-a | ip relincho |
arp-v | ip -s relincho |
arp -s 192.168.1.1 1:2:3:4:5:6 | ip relincho agregar 192.168.1.1 lladdr 1:2:3:4:5:6 dev eth1 |
arp -i eth1 -d 192.168.1.1 | ip relincho del 192.168.1.1 dev eth1 |
ifconfig-a | dirección IP |
ifconfig eth0 inactivo | el enlace IP estableció eth0 inactivo |
ifconfig eth0 arriba | Configuración de enlace IP eth0 |
ifconfig eth0 192.168.1.1 | dirección IP agregar 192.168.1.1/24 dev eth0 |
ifconfig eth0 máscara de red 255.255.255.0 | dirección IP agregar 192.168.1.1/24 dev eth0 |
ifconfig eth0 mtu 9000 | conjunto de enlaces IP eth0 mtu 9000 |
ifconfig eth0:0 192.168.1.2 | dirección IP agregar 192.168.1.2/24 dev eth0 |
netstat | ss |
netstat-neopa | ss-neopa |
netstat -g | ip maddr |
ruta | ruta ip |
ruta agregar -net 192.168.1.0 máscara de red 255.255.255.0 dev eth0 i | ruta ip agregar 192.168.1.0/24 dev eth0 |
ruta agregar por defecto gw 192.168.1.1 | añadir ruta IP por defecto a través de 192.168.1.1 |
Hoja de trucos del comando 'ip' (Referencia de la línea de comandos)