Linux command to view network information.

ip a / ip address

View each interface’s ip address

ip route

View IP routing table

ip address add <address>/<subnetmask> dev <interface>

Configure the address of an interfac