From owner-freebsd-questions@FreeBSD.ORG Tue Nov 15 13:43:18 2005 Return-Path: X-Original-To: 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 33F3D16A41F for ; Tue, 15 Nov 2005 13:43:18 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [209.167.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90F3843D45 for ; Tue, 15 Nov 2005 13:43:17 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: (qmail 26351 invoked by uid 1002); 15 Nov 2005 13:43:16 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(209.167.16.15):. Processed in 3.019855 secs); 15 Nov 2005 13:43:16 -0000 Received: from unknown (HELO fuze) (209.167.16.15) by pearl.ibctech.ca with SMTP; 15 Nov 2005 13:43:12 -0000 From: "Steve Bertrand" To: "'Ashley Moran'" Date: Tue, 15 Nov 2005 08:43:18 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Thread-Index: AcXp4iVxTeZF5EkhRHCipsnseQAzkQABxSHg In-Reply-To: <200511151241.55239.work@ashleymoran.me.uk> X-Qmail-Scanner-Message-ID: <113206219367526345@pearl.ibctech.ca> Message-Id: <20051115134317.90F3843D45@mx1.FreeBSD.org> Cc: 'FreeBSD Questions' Subject: RE: if_bridge interface confuses Windows Small Business Server 2000 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: Tue, 15 Nov 2005 13:43:18 -0000 > FreeBSD 6 came at the perfect time for me. I've just > switched my primary desktop from Win2k to FreeBSD, and I put > the Windows boot disk in an old machine that was heading for the skip. > > I wanted to access the W2k machine (fred) over VNC without > flooding our switch, so I thought let's take advantage of the > new features in REL 6... I added a second ethernet card to > my FreeBSD box (alfie) and configured a bridge in /etc/rc.conf: > > ifconfig_rl0="DHCP" > ifconfig_rl1="up" > cloned_interfaces="bridge0" > ifconfig_bridge0="addm rl0 addm rl1 up" > gateway_enable="YES" > > SBS is configured to give a static DHCP lease of > 192.168.0.181 to alfie; fred is dynamic and is currently 192.168.0.35. > > At first everything seemed fine, and fred operates as if it > was plugged straight into the network. > > But... > > 1) SBS sees both machines as alfie, even though it correctly > reports the MAC addresses of each machine > > 2) On alfie, when I want to make a VNC connection to fred I > have to type "vnc viewer alfie"(!) > > 3) On fred, if I ping alfie it returns 192.168.0.35 as the IP > number, not 181 which is the static lease. > > > I assume this is a bug in if_bridge, only because I assumed > that bridge > interfaces should be transparent (and act like a physical switch). > > When we get some small switches in I'll use one to connect > the two machines > together, but I'd still like to work out what's going on > here. Am I doing > something wrong? I'm a wee bit confused here, but I do understand what you are trying to do. First, did you compile a new kernel with the following option?: options BRIDGE Second, try giving both PC's a static IP address, and disconnect the FBSD box entirely from the network (so you essentially have a 2 pc network), then commence testing. HTH, Steve > > > Ashley > _______________________________________________ > 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" >