Table of Contents
All Distributions:
route -nee |
with the iproute2 package installed:
ip route show |
cp /etc/network/interfaces /etc/network/interfaces.bak nano /etc/network/interfaces auto lo iface lo inet loopback #My IP description # IPv4 address iface eth0 inet static address 192.168.0.100 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 nano /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 |