From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 20:09:33 2005 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 37E4C16A4CE for ; Thu, 3 Mar 2005 20:09:33 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A34B43D54 for ; Thu, 3 Mar 2005 20:09:31 +0000 (GMT) (envelope-from tbonius@comcast.net) Received: from ostros (c-24-18-102-54.client.comcast.net[24.18.102.54]) by comcast.net (sccrmhc11) with SMTP id <2005030320092901100suir2e>; Thu, 3 Mar 2005 20:09:29 +0000 Message-ID: <00c001c5202d$0072d530$4300a8c0@home.lan> From: "Thomas Foster" To: , "J.D. Bronson" References: <6.2.0.14.2.20050303140314.00b41aa8@localhost> Date: Thu, 3 Mar 2005 12:10:09 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: dumb network question 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: Thu, 03 Mar 2005 20:09:33 -0000 hostname="my.hostname.whatever" ifconfig_NIC1="inet a.b.c.d netmask 255.255.255.0" ifconfig_NIC2="DHCP" gateway_enable="YES" replace NIC1 and NIC2 with the interface names.. and of course.. a.b.c.d with the internal IP address.. be sure theres no gateway defined for the internal interface.. and if you need help setting up a firewall/router, be sure and check out : http://www.section6.net/help.php Hope this helps T ----- Original Message ----- From: "J.D. Bronson" To: Sent: Thursday, March 03, 2005 12:05 PM Subject: dumb network question > Ok. I admit it. I cant figure what I am missing. > > I have 2 NICs in this machine. > > NIC 1 is a LAN NIC and static IP. - that I can figure out. > > NIC 2 needs to be DHCP (from cable modem). > and I want the default router to be the DHCP cable > modem gateway IP (passed from dhclient). > > What do I need to setup in /etc/rc.conf > to make this happen? > > Thanks and sorry for the dumb question. > > > > -- > J.D. Bronson > Aurora Health Care // Information Services // Milwaukee, WI USA > Office: 414.978.8282 // Email: jd@aurora.org // Pager: 414.314.8282 > > _______________________________________________ > 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" >