Skip to content

Instantly share code, notes, and snippets.

@lbragstad
Last active May 8, 2018 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lbragstad/2f0fe1777e46dc9e090237b92221c325 to your computer and use it in GitHub Desktop.
Save lbragstad/2f0fe1777e46dc9e090237b92221c325 to your computer and use it in GitHub Desktop.
ubuntu networking issues
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto eth1
iface eth1 inet manual
auto br0
iface br0 inet dhcp
bridge_stp off
bridge_waitport 0
bridge_fd 0
bridge_ports eth1
offload-sg off
# this was working and exposing containers on the home network
auto lo
iface lo inet loopback
#auto br0
#iface br0 inet static
# address 192.168.1.10
# network 192.168.1.1
# netmask 255.255.255.0
# bridge_stp off
# bridge_ports eno1
auto rename3
iface rename3 inet dhcp
bridge-ifaces eno1
bridge-ports eno1
up ifconfig eno1 up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment