qemu and bridging
Jan ZACH
zach at unient.cz
Sat Dec 31 08:13:19 PST 2005
here is the solution:
http://qemu.dad-answers.com/viewtopic.php?t=554
Jan ZACH wrote:
> Hi,
>
> I'm configuring qemu. Everything works fine except networking between
> the bsd host and the qemu computer (I cannot ping from bsd to qemu and
> vice versa). Networking with other computers works fine. Am I missing
> anything in my configuration?
>
> Thanks a lot
> Jan
>
> bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
> inet 10.10.100.120 netmask 0xffffff00 broadcast 10.10.100.255
> ether 00:0f:1f:b9:ff:fb
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> inet 127.0.0.1 netmask 0xff000000
> tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> ether 00:bd:98:a7:01:00
> Opened by PID 849
>
>
> Destination Gateway Flags Refs Use Netif
> Expire
> default 10.10.100.1 UGS 0 14167 bge0
> 10.10.100/24 link#1 UC 0 0 bge0
> 10.10.100.1 00:50:7f:25:2d:e0 UHLW 2 0 bge0
> 1183
> 10.10.100.122 52:54:00:12:34:56 UHLW 1 1 bge0
> 1195 <------- qemu computer
> localhost localhost UH 0 495 lo0
>
> kldstat
> Id Refs Address Size Name
> 4 1 0xc07c3000 4188 if_tap.ko
> 16 1 0xc0821000 be20 kqemu.ko
> 17 1 0xc082d000 9150 bridge.ko
> 21 1 0xc1e44000 d000 ipfw.ko
>
> net.link.ether.bridge_cfg: bge0,tap0
> net.link.ether.bridge_ipfw: 0
> net.link.ether.bridge_ipf: 0
> net.link.ether.bridge.config: bge0,tap0
> net.link.ether.bridge.enable: 1
> net.link.ether.bridge.predict: 0
> net.link.ether.bridge.dropped: 0
> net.link.ether.bridge.packets: 11863
> net.link.ether.bridge.ipfw_collisions: 0
> net.link.ether.bridge.ipfw_drop: 0
> net.link.ether.bridge.copy: 0
> net.link.ether.bridge.ipfw: 0
> net.link.ether.bridge.ipf: 0
> net.link.ether.bridge.debug: 0
> net.link.ether.bridge.version: 031224
> net.link.gif.parallel_tunnels: 0
> net.link.gif.max_nesting: 1
> net.link.log_link_state_change: 1
> net.link.tap.debug: 0
> net.link.tap.user_open: 1
>
> qemu option to run net: -net nic -net tap,ifname=tap0
>
> qeumu computer is running winxp with dhcp enabled
> _______________________________________________
> 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