Subject: Re: IP NAT
To: Michael Bartosh <bartosh@tamu.edu>
From: Paul Goyette <paul@whooppee.com>
List: port-mac68k
Date: 08/27/1998 11:12:56
So, if your university connection is sn0, put the following in your
/etc/ipnat.conf file:

	map sn0 10.0.2.0/24 -> 165.91.120.32/32 portmap tcp/udp 10000:40000

The rest should "just work".

On Thu, 27 Aug 1998, Michael Bartosh wrote:

> >Here's what I have in my ipnat.conf file:
> >
> >	map ppp0 172.16.249.206/32 -> 209.182.147.67/32
> >
> >ppp0 is my connection to the "real world" Internet
> >172.16.249.206 is the IP address assigned to my "private network"
> >	connection for my other machine.
> >209.182.147.67 is a registered IP address that my ISP gave me.
> >
> >In your case, you should probably have this:
> >
> >	map ae0 10.0.2.0/24 -> 165.91.120.32/32 portmap tcp/udp 10000:4000
> >
> >This assumes that ae0 is your connection to the university's network,
> 
> Ahh- my connection to the university is sn0
> 
> >that your assigned address on that network is 165.91.120.32, and that
> >your private network on sn0 is addresses as 10.0.2.0 with a mask of
> >255.255.255.0.
> >
> 
> [SNIP]
> 
> So thus far my conclusion is that my ae0 card is malfunctioning. Which is
> weird since it is identified correctly on startup.
> 
> What happens id that I try to ping the mac (10.2.0.16) and I get the error
> 
> netbsd/ ae0:device timeout
> 
> Ideas anyone?
> 
> 
> 

-----------------------------------------------------------------------------
| Paul Goyette      | Public Key fingerprint:    | E-mail addresses:        |
| Network Engineer  |   0E 40 D2 FC 2A 13 74 A0  |  paul@whooppee.com       |
| and kernel hacker |   E4 69 D5 BE 65 E4 56 C6  |  paul.goyette@ascend.com |
-----------------------------------------------------------------------------