Added bridge interface example

This commit is contained in:
root 2024-07-15 23:25:46 +03:00
parent e1eeda711c
commit d4c4666231

22
interfaces-example Normal file
View File

@ -0,0 +1,22 @@
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
### Bridge part
auto eth1
iface eth1 inet manual
auto br0
iface br0 inet manual
bridge_ports eth1
bridge_fd 0