lubuntu networking notes

hotplug is your friend if you want to use lubuntu network manager and you don’t want the manager spinning all the time.

why even use network-manager?

because you don’t want annoying failsafe timer messages on bootup (main reason)

if you attempt to # out timer messages in failsafe.conf you will cause more headaches for yourself.

to check nm device management

ccie@ccie-virtual-machine:~/os$ nmcli device status
DEVICE     TYPE              STATE
eth2       802-3-ethernet    connected
eth1       802-3-ethernet    disconnected
eth0       802-3-ethernet    unmanaged

this is especially important if you are using more than 1 network virtualization environment and you have a default network config supporting a primary, like virl in my case:

vm_virt_net_ifaces

for each vm you’ll want to customize internal networks as needed.

#The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual      # set pass through and use br0 for networking

# Bridge setup
allow-hotplug br0
auto br0 
iface br0 inet static
  address 192.168.0.1
  netmask 255.255.255.0
  network 192.168.0.0
  broadcast 192.168.0.255
  gateway 192.168.0.254    # make sure this gateway address is correct
  bridge_ports eth0        # bind to device here
  bridge_stp off 
  bridge_fd 0
  bridge_maxwait 0