Ethernet Bridge
From GSLUG
This script creates a bridge for static IP client.
Modify the IP and GATEWAY variables.
This script is useful for wifi/ethernet bridges and Quick Qemu bridges.
IP=192.168.0.3 GATEWAY=192.168.0.1 sudo /sbin/brctl addbr br0 sudo /sbin/brctl addif br0 eth0 sudo ifconfig eth0 0.0.0.0 sudo ifconfig br0 $IP sudo /sbin/route add default gw $GATEWAY # Add other interfaces to your bridge by running: sudo /sbin/brctl addif br0 $IFACE # where IFACE is your other interface.

