Created
October 10, 2011 21:35
-
-
Save Oneiroi/1276622 to your computer and use it in GitHub Desktop.
CentOS single nic bridge
This file contains 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
put this in ifcfg-br0 : | |
DEVICE=br0 | |
TYPE=Bridge | |
BOOTPROTO=static | |
IPADDR=xxx.xxx.xxx.xxx | |
NETMASK=xxx.xxx.xxx.xxx | |
GATEWAY=xxx.xxx.xxx.xxx | |
ONBOOT=yes | |
DELAY=0 | |
Put this in ifcfg-eth0 | |
DEVICE=eth0 | |
BOOTPROTO=none | |
USERCTL=no | |
BRIDGE=br0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment