Date: Thu, 3 Mar 2005 12:10:09 -0800 From: "Thomas Foster" <tbonius@comcast.net> To: <freebsd-questions@freebsd.org>, "J.D. Bronson" <jbronson@wixb.com> Subject: Re: dumb network question Message-ID: <00c001c5202d$0072d530$4300a8c0@home.lan> References: <6.2.0.14.2.20050303140314.00b41aa8@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <jbronson@wixb.com> To: <freebsd-questions@freebsd.org> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c001c5202d$0072d530$4300a8c0>