Network Managers
====================================================================================
Ubuntu - Netplan
Netplan uses .yaml files for network configuration, these are stored in /etc/netplan
Check DHCP IP leases info
netplan ip leases interfacename
Changes to interfaces are made in the .yaml files, once changes have been made they need to be applied.
To test changes, use the try command. This essentially implements the change for a set amount of time, after which the change is reverted.
netplan try
You can also set a custom timeout time using the below command:
netplan try --timeout=15
To permanently apply a change, use the below command:
netplan apply
====================================================================================
RHEL - nmcli
network configuration files are stored in /etc/syconfig/network-scripts
====================================================================================
OpenSUSE - Wicked
Network configuration files are stored in /etc/sysconfig/XXXXXXXXXXXXXXX
systemctl status network
Show all interfaces
wicked show all
Show info for specific interface
wicked show eth1
Take interface down or up
wicked ifdown eth1
wicked ifup eth1