Skip to content

Instantly share code, notes, and snippets.

@Oneiroi
Created October 10, 2011 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Oneiroi/1276622 to your computer and use it in GitHub Desktop.
Save Oneiroi/1276622 to your computer and use it in GitHub Desktop.
CentOS single nic bridge
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