...
Code Block |
---|
auto br0 iface br0 inet static address 192.168.0.201 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 8.8.8.8 8.8.4.4 bridge_ports eth0 bridge_stp off |
https://help.ubuntu.com/community/NetworkConnectionBridge - Bridge article, shows how to also do as straight command line (which does not persist after reboot) for testing,
Code Block |
---|
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# Bridge between eth0 and eth1
auto br0
iface br0 inet dhcp
# For static configuration delete or comment out the above line and uncomment the following:
# iface br0 inet static
# address 192.168.1.10
# netmask 255.255.255.0
# gateway 192.168.1.1
# dns-nameservers 192.168.1.5
# dns-search example.com
bridge_ports eth0 eth1
bridge_stp off
bridge_fd 0
bridge_maxwait 0 |
https://www.cyberciti.biz/faq/how-to-create-bridge-interface-ubuntu-linux/ - shows bridging with multiple cards... more complicated,
...