Creating a Network bridge

From Hidden In Plain Sight
Jump to: navigation, search
# Create the bridge
brctl addbr <name>

# Add some network interfaces to it
brctl addif <name> <if1name>
brctl addif <name> <if2name>

# Bring the bridge up
ifconfig <name> up