From owner-freebsd-net@FreeBSD.ORG Wed Nov 26 22:06:09 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 4FF1E16A4CE for ; Wed, 26 Nov 2003 22:06:09 -0800 (PST) Received: from home.ctcnet.net (home.ctcnet.net [147.160.128.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37D4343FAF for ; Wed, 26 Nov 2003 22:06:08 -0800 (PST) (envelope-from vescovi@ctcnet.net) Received: from ctcnet.net (line-198-14.chsd.k12.pa.us [147.160.198.14]) by home.ctcnet.net (8.12.10/8.12.10) with ESMTP id hAR66bvC004869 for ; Thu, 27 Nov 2003 01:06:38 -0500 (EST) Sender: vescovi@ctcnet.net Message-ID: <3FC59457.ECFEC9E7@ctcnet.net> Date: Thu, 27 Nov 2003 01:06:16 -0500 From: Ken Vescovi X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: dhcp on one of 2 nics X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 06:06:09 -0000 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? 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? thanks Ken -- Ken Vescovi