[SunRescue] Making Solaris 2.8 be a NAT gateway

Les rescue at sunhelp.org
Mon Mar 12 11:06:32 CST 2001


What does your /etc/hostname.le0 contain?
What does your /etc/hostname.le1 contain?
What does the
  ifconfig -a
output look like ?

I assume that the two NICs are connected to
totally different networks?

Les

----- Original Message -----
From: "Ron Rosson" <insane at oneinsane.net>
To: <rescue at sunhelp.org>
Sent: Monday, March 12, 2001 10:09 AM
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