Di seguito è riportato un breve confronto dei comandi forniti da net-tools V/s iproute pacchetto. Fondamentalmente confronteremo i comandi ifconfig V/s ip.
| COMANDI NET-TOOLS | COMANDI IPROUTE |
|---|---|
| arp -a | ip nitrito |
| arp -v | ip -s nitrito |
| arp -s 192.168.1.1 1:2:3:4:5:6 | ip neigh add 192.168.1.1 lladdr 1:2:3:4:5:6 dev eth1 |
| arp -i eth1 -d 192.168.1.1 | ip neigh del 192.168.1.1 dev eth1 |
| ifconfig -a | indirizzo IP |
| ifconfig eth0 giù | ip link imposta eth0 giù |
| ifconfig eth0 su | collegamento ip impostato eth0 su |
| ifconfig eth0 192.168.1.1 | ip addr aggiungi 192.168.1.1/24 dev eth0 |
| ifconfig eth0 netmask 255.255.255.0 | ip addr aggiungi 192.168.1.1/24 dev eth0 |
| ifconfig eth0 mtu 9000 | ip link set eth0 mtu 9000 |
| ifconfig eth0:0 192.168.1.2 | ip addr aggiungi 192.168.1.2/24 dev eth0 |
| netstat | ss |
| netstat -neopa | ss -neopa |
| netstat -g | ip maddr |
| percorso | percorso IP |
| add percorso -net 192.168.1.0 maschera di rete 255.255.255.0 dev eth0 i | instradamento ip aggiungi 192.168.1.0/24 dev eth0 |
| percorso aggiungi predefinito gw 192.168.1.1 | ip route aggiungi predefinito tramite 192.168.1.1 |
Foglio di trucco del comando "ip" (riferimento alla riga di comando)