I moved my Desktop to another room and have since joined it to the wireless network. Since moving my upstream interface to a wireless card, my bridging (to tap0) no longer works correctly with Qemu.
The -exact- same setup works if my desktop is on a wired network.. is there something funky that applies because my upstream is a wireless card?
I'm on FreeBSD 8, too... so wasn't sure if it has anything to do with the VAP / wireless alias stuff.
... and yes I have ip-forwarding on and PF is currently off.
My router is a NanoBSD/Alix board... so I can change something on there if necessary.
------ script to create bridge -------
------------------------------------
The -exact- same setup works if my desktop is on a wired network.. is there something funky that applies because my upstream is a wireless card?
I'm on FreeBSD 8, too... so wasn't sure if it has anything to do with the VAP / wireless alias stuff.
... and yes I have ip-forwarding on and PF is currently off.
My router is a NanoBSD/Alix board... so I can change something on there if necessary.
------ script to create bridge -------
Code:
#!/bin/sh
WAN_IF="wlan0"
BRIDGE_IF="bridge0"
TAP_IF="${1}"
# allow packets to forward to another interface
/sbin/sysctl net.inet.ip.forwarding=1
# create the bridge
/sbin/ifconfig $BRIDGE_IF create
/sbin/ifconfig $BRIDGE_IF addm $TAP_IF
/sbin/ifconfig $BRIDGE_IF addm $WAN_IF
# bring interfaces up
/sbin/ifconfig $WAN_IF up
/sbin/ifconfig $BRIDGE_IF up
/sbin/ifconfig $TAP_IF up
------------------------------------
Code:
FreeBSD desk.digitalfoo.net 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Dec 2 23:35:29 UTC 2009 epoxy@desk.digitalfoo.net:/usr/src/sys
/amd64/compile/NEWKERNEL amd64