dumb network question
Thomas Foster
tbonius at comcast.net
Thu Mar 3 12:09:33 PST 2005
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 at wixb.com>
To: <freebsd-questions at 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 at aurora.org // Pager: 414.314.8282
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list