From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 16:13:18 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 DBDDF16A41F for ; Sat, 31 Dec 2005 16:13:18 +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 1C80C43D48 for ; Sat, 31 Dec 2005 16:13:14 +0000 (GMT) (envelope-from jan.zach@unient.cz) Received: (qmail 1925 invoked from network); 31 Dec 2005 17:13:13 +0100 Received: from owa.unient.cz (HELO mejlon.unient.cz) (217.169.180.69) by wia-smtp.multimedia.cz with SMTP; 31 Dec 2005 17:13:13 +0100 Received: from [10.10.100.120] ([10.10.100.120]) by mejlon.unient.cz with Microsoft SMTPSVC(6.0.3790.1830); Sat, 31 Dec 2005 17:13:38 +0100 Message-ID: <43B6AE18.3020600@unient.cz> Date: Sat, 31 Dec 2005 17:13:12 +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 CC: freebsd-questions@freebsd.org References: <43B54AFD.4090100@unient.cz> In-Reply-To: <43B54AFD.4090100@unient.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 Dec 2005 16:13:38.0473 (UTC) FILETIME=[289F1190:01C60E25] Subject: Re: 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: Sat, 31 Dec 2005 16:13:19 -0000 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 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >