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" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED] // Pager: 414.314.8282

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to