Created
July 5, 2023 23:25
-
-
Save suntong/268a12d8f725426a702123e8272f7a4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Initially generated on boot by initramfs, | |
# interfaces(5) file used by ifup(8) and ifdown(8) | |
# Include files from /etc/network/interfaces.d: | |
source /etc/network/interfaces.d/* | |
auto lo | |
iface lo inet loopback | |
# Specify that the physical interface that should be connected to the bridge | |
# should be configured manually, to avoid conflicts with NetworkManager | |
allow-hotplug eth0 | |
iface eth0 inet manual | |
# The br0 bridge settings | |
auto br0 | |
iface br0 inet static | |
bridge_ports eth0 | |
address 192.168.0.IP | |
broadcast 192.168.0.255 | |
netmask 255.255.255.0 | |
gateway 192.168.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment