QEMU networking quirkiness on 7.0

Jim Stapleton stapleton.41 at gmail.com
Thu Apr 10 15:33:31 UTC 2008


> Yes, this needs to be setup on the host system.  The way a bridge is
>  configured has changed on 7.  Here are the steps assuming that your
>  external interface is em0:

Well, it seems pretty calm, and hasn't tried to cut itself yet... But
I think I can adapt.

>  # ifconfig tap0 create
>  # ifconfig tap0 up
>  # ifconfig em0 up
>  # ifconfig bridge0 create
>  # ifconfig bridge0 addm tap0 addm em0
>

Could I mimic this in RC.conf? Or is this saved between restarts?


Also, for the bridge, could I do this, correct?

#existing rc.conf
hostname="elrond.var-dev.net"
ifconfig_re0="inet 192.168.1.84 netmask 255.255.255.0"
ifconfig_re0_alias0="192.168.1.85 netmask 255.255.255.255"
defaultrouter="192.168.1.1"
#adding... Should I use an IP not aliased by re0?
ifconfig_bridge0="inet 192.168.1.85 netmask 255.255.255.0"




Thanks for your help,
-Jim Stapleton


More information about the freebsd-questions mailing list