Skip to content

Instantly share code, notes, and snippets.

@silas
Created July 28, 2009 06:35
Show Gist options
  • Save silas/156991 to your computer and use it in GitHub Desktop.
Save silas/156991 to your computer and use it in GitHub Desktop.
#!/bin/sh -x
brctl addbr br0
brctl setfd br0 0
ifconfig br0 172.20.0.1 netmask 255.255.255.0
brctl addif br0 eth0
brctl show br0
ifconfig br0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment