ip

Use the ip command to show and manipulate routing, devices, policy routing, and tunnels.

Status information Command
To display the network device configuration ip link show
To display the interfaces addresses and their properties ip addr show
To display the eth0 addresses and properties ip addr show dev eth0
To display the eth0 IPv6 addresses and properties ip -6 addr show dev eth0
To display the IPv4 routing table ip route show
To display the IPv6 routing table ip -6 route show
To put a second IPv4 to eth0 ip add add 192.168.100.1/24 dev eth0 label eth0:0
To remove a second IPv4 from eth0: ip add del 192.168.100.1/24 dev eth0 label eth0:0