qemu bridge building

Peter Ulrich Kruppa ulrich at pukruppa.net
Mon Sep 22 15:59:44 UTC 2008


Hello Desmond!

Desmond Chapman schrieb:
> own    tap0  moleque:moleque
> :q!
> # /etc/rc.d/devfs restart
> # kldload kqemu aio if_tap if_bridge
> kldload: can't load kqemu: File exists
> kldload: can't load aio: File exists
> # sysctl net.link.tap.user_open=1
> net.link.tap.user_open: 0 -> 1
> # ifconfig bridge0 create
You will need a
   # ifconfig tap0 create
here.

Greetings,

Uli.


> # ifconfig
> rl0: flags=8802 metric 0 mtu 1500
>     options=8
>     ether 00:15:f2:7a:dc:83
>     media: Ethernet autoselect
>     status: no carrier
> fwe0: flags=8802 metric 0 mtu 1500
>     options=8
>     ether 02:11:d8:85:04:0b
>     ch 1 dma -1
> fwip0: flags=8802 metric 0 mtu 1500
>     lladdr 0.11.d8.0.0.85.4.b.a.2.ff.fe.0.0.0.0
> dc0: flags=8843 metric 0 mtu 1500
>     options=8
>     ether 00:04:5a:4f:ab:db
>     inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255
>     media: Ethernet autoselect (100baseTX )
>     status: active
> plip0: flags=108810 metric 0 mtu 1500
> lo0: flags=8049 metric 0 mtu 16384
>     inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
>     inet6 ::1 prefixlen 128
>     inet 127.0.0.1 netmask 0xff000000
> bridge0: flags=8802 metric 0 mtu 1500
>     ether 4e:48:d6:53:ff:2b
>     id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
>     maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
>     root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0
> # ifconfig bridge0 addm dc0 up
> # ifconfig bridge0 addm tap0
> ifconfig: BRDGADD tap0: No such file or directory
> . Problem is there now. 
> _________________________________________________________________
> Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
> http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008_______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 



More information about the freebsd-questions mailing list