Added bridge interface example
This commit is contained in:
parent
e1eeda711c
commit
d4c4666231
22
interfaces-example
Normal file
22
interfaces-example
Normal 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
|
Loading…
Reference in New Issue
Block a user