Subject: Re: IP-NAT
To: Keith Fischer <kfischer@poisonlab.com>
From: None <mcmahill@mtl.mit.edu>
List: port-mac68k
Date: 07/13/1999 13:50:29
On Tue, 13 Jul 1999, Keith Fischer wrote:

> Here's a new error I get on boot.  Anyone know what setting in ip-nat is
> required to set the destination netmask?  Weird, as I haven't made any
> ip-nat changes.  And a netmask doesn't appear to be required in the
> ipnat.conf file.   ifconfig.ae0 and ifconfig.sn0 both have the netmask line
> "netmask 255.255.255.0"
> 
> ....
> installing NAT rules:
> 0 entries flushed from NAT Table:
> missing fields (dest netmask)
> 1 syntax error in map:
> ....
> 
> ipnat.conf:
> ----------------
> map ae0 10.0.2.0/24 -> 24.8.169.45 portmap tcp/udp 10000:40000

map ae0 10.0.2.0/24 -> 24.8.169.45/32 portmap tcp/udp 10000:40000

The netmask is the /24 and /32 parts.

-Dan