Linux network information

DNS address assigned by DHCP
nmcli device show eth0 | grep DNS
Gateway address assigned by DHCP
nmcli device show eth0 | grep GATEWAY
Show active and ofline connections
nmcli connection show
Load configuration files
nmcli con reload
nmcli con load

Leave a Reply

Your email address will not be published. Required fields are marked *