From owner-freebsd-net@FreeBSD.ORG Sat Nov 29 18:31:00 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CE7216A4CE for ; Sat, 29 Nov 2003 18:31:00 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFC3743FBD for ; Sat, 29 Nov 2003 18:30:58 -0800 (PST) (envelope-from cristjc@comcast.net) Received: from blossom.cjclark.org (c-24-6-186-224.client.comcast.net[24.6.186.224]) by comcast.net (rwcrmhc12) with ESMTP id <20031130023058014007cfthe>; Sun, 30 Nov 2003 02:30:58 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.9p2/8.12.8) with ESMTP id hAU2Uv43003847; Sat, 29 Nov 2003 18:30:57 -0800 (PST) (envelope-from cristjc@comcast.net) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.9p2/8.12.9/Submit) id hAU2UuHx003846; Sat, 29 Nov 2003 18:30:56 -0800 (PST) (envelope-from cristjc@comcast.net) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to cristjc@comcast.net using -f Date: Sat, 29 Nov 2003 18:30:56 -0800 From: "Crist J. Clark" To: Ken Vescovi Message-ID: <20031130023055.GA3559@blossom.cjclark.org> References: <3FC59457.ECFEC9E7@ctcnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FC59457.ECFEC9E7@ctcnet.net> User-Agent: Mutt/1.4.1i X-URL: http://people.freebsd.org/~cjc/ cc: freebsd-net@freebsd.org Subject: Re: dhcp on one of 2 nics X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Crist J. Clark" List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 02:31:00 -0000 On Thu, Nov 27, 2003 at 01:06:16AM -0500, Ken Vescovi wrote: > I finally got cable modem access here in the backwoods of west-central > PA. > > I want to set up my Dell Latitude running 4.8 as a gateway doing PAT and > using ipfw. > > I have 2, 3c589c cards and need one to get an address from the cable > company via DHCP. > > The other nic will be configured as the gateway for my home net. > > Problem one: > Card 2 is recognized, but I get this message "No free Configuration for > card 3Com corp' and no device id is assigned. > It doesn't matter which slot the card is in, it seems to only recognize > the first and give it device id ep0. > I removed the 'default' setting from pcic1 in the kernel config as > follows: > > device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 > device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 > > But it's still not recognized. Any suggestions? I thought pccardd(8) dealt with this automatically, but it looks like it is not for you. The way to deal with the conflict here may be some pccard.conf(5) trickery, not messing with pcic(4) settings in the kernel configuration. If you need more help, freebsd-mobile@freebsd.org might be a better place. > Problem 2 is how do I configure one nic for dhcp and the other for > static. I can do the static config, > but how do I config the system to have static on card 1 and dhcp on card > 2? This is easier. Just a, ifconfig_ep1="DHCP" In rc.conf(5) should be all you need. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org