Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2005 15:58:05 +0100
From:      Jan ZACH <zach@unient.cz>
To:        freebsd-questions@freebsd.org
Subject:   qemu and bridging
Message-ID:  <43B54AFD.4090100@unient.cz>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43B54AFD.4090100>