Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2005 03:05:30 -0800
From:      Peter Kieser <pfak@telus.net>
To:        Dick Hoogendijk <dick@nagual.st>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD multi-homed w/ipnat
Message-ID:  <4215CBFA.7090706@telus.net>
In-Reply-To: <20050218105830.GC34932@lothlorien.nagual.st>
References:  <4215BD9A.7070002@telus.net> <20050218105830.GC34932@lothlorien.nagual.st>

next in thread | previous in thread | raw e-mail | index | archive | help
Dick Hoogendijk wrote:

>On 18 Feb Peter Kieser wrote:
>  
>
>>vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>       inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
>>       inet6 fe80::211:d8ff:fe3d:564a%vr0 prefixlen 64 scopeid 0x3
>>       ether 00:11:d8:3d:56:4a
>>       media: Ethernet autoselect (100baseTX <full-duplex>)
>>       status: active
>>map dc0 192.168.1.0/24 -> 0/32
>>map dc1 192.168.2.0/24 -> 0/32
>>    
>>
>
>I only seee 192.168.1.1 defined. Is this a typo or is there inof
>missing?
>
>  
>
The map with the CIDR prefix only specifies what IP addresses the NAT 
will masquerade for, still doesn't explain why 192.168.1.0/24 masquarde 
fails to work. You can specify the subnet mask for 192.168.1.1 as 
255.255.254.0 to cover both those blocks, which is a 192.168.0.0/23.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4215CBFA.7090706>