From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 14:58:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1252C16A420 for ; Fri, 30 Dec 2005 14:58:15 +0000 (GMT) (envelope-from jan.zach@unient.cz) Received: from wia-smtp.multimedia.cz (wia-smtp.multimedia.cz [80.250.3.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 328D343D76 for ; Fri, 30 Dec 2005 14:58:07 +0000 (GMT) (envelope-from jan.zach@unient.cz) Received: (qmail 17451 invoked from network); 30 Dec 2005 15:58:06 +0100 Received: from owa.unient.cz (HELO mejlon.unient.cz) (217.169.180.69) by wia-smtp.multimedia.cz with SMTP; 30 Dec 2005 15:58:06 +0100 Received: from [10.10.100.120] ([10.10.100.120]) by mejlon.unient.cz with Microsoft SMTPSVC(6.0.3790.1830); Fri, 30 Dec 2005 15:58:16 +0100 Message-ID: <43B54AFD.4090100@unient.cz> Date: Fri, 30 Dec 2005 15:58:05 +0100 From: Jan ZACH Organization: Unient Communications, a.s. User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051118) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Dec 2005 14:58:16.0916 (UTC) FILETIME=[77267940:01C60D51] Subject: qemu and bridging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 14:58:15 -0000 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 mtu 1500 options=1a inet 10.10.100.120 netmask 0xffffff00 broadcast 10.10.100.255 ether 00:0f:1f:b9:ff:fb media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 tap0: flags=8943 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