The above part tells us that we are bridging a NC named enp0s8. The key part is below in bold where I declare the br0: #example of NIC named eth0, bridged as eth0 and using static (change eth0 to the name of your NIC) device #example of NIC named eth0, bridged as eth0 and using DHCP (change eth0 to the name of your NIC) deviceīe sure to change the static IP, gateway, netmask and bridge_ports to what matches what you need. Sudo cp /etc/network/interfaces ~/interfaces-`date +%Y-%m-%d-%s`Ģ.) Setup your bridge by editing /etc/network/interfacesĪlso be note that the br0 is a zero not an "O"įor simplicity I am going to call it br0 but it could be called almost anything. Sudo apt-get install bridge-utils uml-utilitiesīackup your interfaces file to your home dir 1.) Install the utilities to make our bridge To create your bridge you need the bridge-utils package for brctl and if you want to do things like bridge VMs that run on a tap device you will need the uml-utilities which provides "tunctl". Having a network bridge allows you to bridge traffic under multiple devices so they can talk natively without using any special routing, iptables/firewall or other trickery.
0 Comments
Leave a Reply. |