Below "ip addr" or "ip a" commands can be used to list all network interfaces & IP addresses in Linux.
Below is example output of above commands showing network bonds and their IP addresses.
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
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