ifconfig bridge0 create up
ifconfig tap0 create 0
ifconfig tap1 create up
brconfig bridge0 add tap0 add tap1
ifconfig tap0 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
cat <<EOF >/tmp/dhcp.conf
ddns-update-style none;
authoritative;
subnet 10.0.0.0 netmask 255.255.255.0 {
       range 10.0.0.2 10.0.0.254;
}
EOF
touch /tmp/dhcp.leases
dhcpd -cf /tmp/dhcp.conf -lf /tmp/dhcp.leases tap0
dhcpcd tap1
