Created
January 22, 2012 01:01
-
-
Save sunner/1654859 to your computer and use it in GitHub Desktop.
Add a bridged network interface in debian
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
# Replace "auto eth0 ..." with following lines in /etc/network/interfaces | |
# The primary network interface | |
auto br0 | |
iface br0 inet static | |
address xxx.xxx.xxx.xxx | |
netmask xxx.xxx.xxx.xxx | |
network xxx.xxx.xxx.xxx | |
broadcast xxx.xxx.xxx.xxx | |
gateway xxx.xxx.xxx.xxx | |
# dns-* options are implemented by the resolvconf package, if installed | |
dns-nameservers xxx.xxx.xxx.xxx | |
dns-search domain.name | |
bridge_ports eth0 | |
bridge_stp off | |
bridge_maxwait 0 | |
bridge_fd 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment