From owner-freebsd-net@FreeBSD.ORG Wed Oct 29 04:38:53 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5C6C1065690; Wed, 29 Oct 2008 04:38:53 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 806DA8FC0C; Wed, 29 Oct 2008 04:38:53 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id 7C06311A2CB9; Wed, 29 Oct 2008 01:38:51 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 84723-01; Wed, 29 Oct 2008 01:38:43 -0300 (ADT) Received: from [192.168.1.2] (blk-224-204-104.eastlink.ca [24.224.204.104]) by hub.org (Postfix) with ESMTPA id CDB4911A2878; Wed, 29 Oct 2008 01:38:41 -0300 (ADT) Date: Wed, 29 Oct 2008 01:38:38 -0300 From: "Marc G. Fournier" To: Bakul Shah , "Marc G. Fournier" Message-ID: <7762927ECAFF08B969F9E5A0@ganymede.hub.org> In-Reply-To: <20081029041428.DC80C5B46@mail.bitblocks.com> References: <20081029041428.DC80C5B46@mail.bitblocks.com> X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Michael Proto , freebsd-stable@freebsd.org, freebsd-net@freebsd.org Subject: Re: Problem with Bridging ... and bge devices under FreeBSD 7.x? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2008 04:38:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I only have one VM running on one server ... - --On Tuesday, October 28, 2008 21:14:28 -0700 Bakul Shah wrote: > On Wed, 29 Oct 2008 00:35:35 -0300 "Marc G. Fournier" > wrote: >> netstat -nr on the 192 server shows the IP to be at: >> >> > netstat -nr | grep 168.1.100 >> 192.168.1.100 52:54:00:12:34:56 UHLW 1 1 fxp0 1128 >> >> which is very odd, as that MAC address is not found via ifconfig -a: >> >> > ifconfig -a | grep 52 >> > >> >> while arp -a also shows the 52:54 MAC, although MACs for the ifconfig -a are, >> >> in fact: >> >> > ifconfig -a | grep ether >> ether 00:02:b3:ee:da:3e >> ether 5e:d1:e6:8b:55:50 >> ether 00:bd:25:18:6d:00 > > The setup you get with a tap device talking to qemu is this: > > [host]-tap0----qemu---ed0-[VM] > > Each end has its own mac address. The VM's NIC (ed0 or rl0 > or whatever) gets addresses like 52:54:00:12:34:56. The host > will have an arp entry for it once the VM sends an arp > packet. But tap0 will have an address assigned by the tap > driver, something like 00:bd:xx:xx:xx. > > If you have two VMs running at the same time on two different > machines and they both have identical MAC addresses, that > could be part of your problem. > > But your network topolgy is still not clear. What would help > is something like this: > > You have: > machine A (runs VM A1). > machine B (runs VM B1). > machine C (runs windows). > > Can you ping from A to C? > Can you ping from B to C? > Can you ping from A to A1? > Can you ping from B to B1? > Can you ping from A1 to C? > Can you ping from B1 to C? > Can you ping from C to A1? > Can you ping from C to B1? > > All of the above should work. Next you can try tcpdump on > tap devices to see what is going on. If you are still > stumped provide ifconfig -a output on A, B, C, A1 and B1. On > windows machine you can do ipconfig/all to get at this > information (IIRC). - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkH6M4ACgkQ4QvfyHIvDvPciwCgi3LwM74g8DPrRC4XlkNQgFD4 eRgAnj6/CUVTkrzwr8GnzawWKlbfCWBc =KgEt -----END PGP SIGNATURE-----