From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 10:05:21 2004 Return-Path: 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 0BA2416A4CE for ; Sat, 3 Jan 2004 10:05:21 -0800 (PST) Received: from be-well.no-ip.com (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 965DB43D6D for ; Sat, 3 Jan 2004 10:05:19 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.no-ip.com (Postfix, from userid 1147) id DAFC0F; Sat, 3 Jan 2004 13:05:18 -0500 (EST) Sender: lowell@be-well.ilk.org To: "Scott Renna" References: <000001c3d21a$d3cd36d0$0201a8c0@mars> From: Lowell Gilbert Date: 03 Jan 2004 13:05:18 -0500 In-Reply-To: <000001c3d21a$d3cd36d0$0201a8c0@mars> Message-ID: <44oetkj4bl.fsf@be-well.ilk.org> Lines: 49 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: problem with 2 nics in same box X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2004 18:05:21 -0000 "Scott Renna" writes: > Hello List, > > I am having some difficulty in getting my xl0 and xl1 3com cards to work > the way I'd like. I'm running 5.1 Release and I'm basically trying to > have one interface with no IP address(specifying it as such in > /etc/rc.conf as ifconfig_xl1="up") And I'd like to have the other(xl0) > to have an IP address of my Internal Network. The purpose of this setup > is to sniff traffic with the interface that has no IP address and allow > for management and reporting over the interface that has an IP > associated with the Internal network. > > For some reason, this is just not working for me at all. I've tried to > configure via rc.conf and this fails to work. I've also tried assigning > an RFC 1918 address to the interface I want sniffing as this traffic > should not be routable, but it doesn't seem to work. > > Can anyone make a suggestion? > > Here's what my rc.conf looks like: > > Hello List, > > I am having some difficulty in getting my xl0 and xl1 3com cards to work > the way I'd like. I'm running 5.1 Release and I'm basically trying to > have one interface with no IP address(specifying it as such in > /etc/rc.conf as ifconfig_xl1="up") And I'd like to have the other(xl0) > to have an IP address of my Internal Network. The purpose of this setup > is to sniff traffic with the interface that has no IP address and allow > for management and reporting over the interface that has an IP > associated with the Internal network. > > Here's the first few lines of my /etc/rc.conf > > defaultrouter="192.168.1.1" > hostname="charon" > ifconfig_xl0="inet 192.168.1.6 netmask 255.255.255.0" > ifconfig_x11="up" > > Will this accomplish what I'm trying to do successfully? Just checking the obvious: you have bridging enabled, right? [As in the "Bridging" chapter of the Handbook.] -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password "public"