Skip site navigation (1)Skip section navigation (2)
Date:      03 Jan 2004 13:05:18 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Scott Renna" <srenna@vdbmusic.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: problem with 2 nics in same box
Message-ID:  <44oetkj4bl.fsf@be-well.ilk.org>
In-Reply-To: <000001c3d21a$d3cd36d0$0201a8c0@mars>
References:  <000001c3d21a$d3cd36d0$0201a8c0@mars>

next in thread | previous in thread | raw e-mail | index | archive | help
"Scott Renna" <srenna@vdbmusic.com> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44oetkj4bl.fsf>