Subject: Re: IP NAT
To: Paul Goyette <paul@whooppee.com>
From: Michael Bartosh <bartosh@tamu.edu>
List: port-mac68k
Date: 08/27/1998 10:27:13
So in order to take packets from sn0 and throw them out to ae0 I need to

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

What about the device timeout error for ae0? What does that mean?

Thanks-

-mab

>On Tue, 25 Aug 1998, Michael Bartosh wrote:
>
>>
>> Working on getting IP NAT up here in my dorm. On bootup both my internal
>> sn0 and nubus ae0 inteface are recognized (Quadra 700/ 20 megs ram/ 3.2)
>> IPNAT delivers no errors on startup, but I can not ping the bsd box from my
>> mac (which I'm trying to serve to) and can not ping the mac from the bsd
>> box. In fact when I try to ping the mac, I get the error
>>
>> /netbsd: ae0: device timeout
>>
>>
>> ifconfig.ae0 says:
>>
>> inet 10.0.2.15 netmask 255.255.255.0
>>
>>
>> ifconfig.sn0 says:
>>
>> inet 165.91.120.32 netmask 255.255.254.0
>>
>>
>> ipnat.conf says:
>>
>> map sn0 10.0.2.0/24 -> 165.91.120.0/32 portmap tcp/udp 10000:40000
>>
>> Any obvious problems?
>
>Yes - why are you trying to remap the 10.x.y.z network to host address
>165.91.120.0?  You should probably be remapping to 165.91.120.32 (ie,
>your own IP address on the other interface).
>
>>
>> Thanks-
>>
>> -mab
>>
>>
>>
>>
>
>-----------------------------------------------------------------------------
>| 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 |
>-----------------------------------------------------------------------------