[SunRescue] Making Solaris 2.8 be a NAT gateway

Mike Hebel rescue at sunhelp.org
Mon Mar 12 10:30:21 CST 2001


IIRC you need to change the local MAC address on the second card to
something unique.

man ifconfig

(I'm sorry I don't have the actual ifconfig command for you.  If I find it
I'll post it - I just saw it on another list I'm subscribed to.

Mike Hebel

>>-----Original Message-----
>>From: rescue-admin at sunhelp.org [mailto:rescue-admin at sunhelp.org]On
>>Behalf Of Ron Rosson
>>Sent: Monday, March 12, 2001 10:09 AM
>>To: rescue at sunhelp.org
>>Subject: [SunRescue] Making Solaris 2.8 be a NAT gateway
>>
>>
>>Heya People,
>>
>>Here is what I have:
>>        A SUN Ultra 1 running Solaris 2.8 with 2 ethernet cards running
>>        IPFilter.
>>
>>The server is also running DHCPD to hand out IP addresses on le1. Ok
>>when I boot up I get an error on ifconfig for le1. when I get a prompt I
>>see that it initialized le1 with the same settings as le0 (Not Good).
>>
>>So what do I do to fix that?
>>
>>The one job of this box that I really need to get working quickly is for
>>it to work as a NAT gateway for the IP addresses that it hands out VIA
>>the le1 interface..
>>
>>What is the magic to getting both ethernet cards configured properly on
>>boot?
>>
>>le0  <- Public IP
>>le1  <- Private IP
>>
>>The IPFilter Stuff is already done.
>>
>>If anyone has a HOWTO please point me to it.. My Solaris knowledge is
>>still very weak. (I am a *BSD person try to learn Solaris  ;-))
>>
>>TIA
>>--
>>------------------------------------------------------------------
>>------------
>>Ron Rosson          			      ... and a UNIX user said ...
>>The InSaNe One                 			      rm -rf *
>>insane at oneinsane.net     	            and all was /dev/null
>>and *void()
>>------------------------------------------------------------------
>>------------
>>    "Out the token ring, through the router, down the fiber, off
>>    a switch, past the firewall, down the T1 ... nothing but Net."
>>_______________________________________________
>>rescue maillist  -  rescue at sunhelp.org
>>http://www.sunhelp.org/mailman/listinfo/rescue
>>




More information about the rescue mailing list