Main Menu

Search

LINUX: "ip addr" or "ip a" Command To List All Network Interfaces & IP Addresses In Linux (How To Doc)

Below "ip addr" or "ip a" commands can be used to list all network interfaces & IP addresses in Linux.
ip addr | grep -i global

ip a | grep -i global

Below is example output of above commands showing network bonds and their IP addresses.

# ip a | grep global
inet 192.168.20.6/24 brd 192.168.20.255 scope global bond1
inet 192.168.21.6/24 brd 192.168.21.255 scope global bond2
inet 192.168.23.6/24 brd 192.168.23.255 scope global bond0

Products to which Article Applies

All Linux Operating Systems


tarun boyella


No comments:

Post a Comment