Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Nov 1999 07:06:49 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Ian MacDonald <imacdonald@bond.co.uk>
Cc:        freebsd-isp@FreeBSD.ORG, brian@hak.lan.Awfulhak.org
Subject:   Re: natd question. 
Message-ID:  <199911090706.HAA00335@hak.lan.Awfulhak.org>
In-Reply-To: Message from Ian MacDonald <imacdonald@bond.co.uk>  of "Mon, 08 Nov 1999 12:32:03 GMT." <119A28E471BDD1118EEC00A0245CFD656DFEFC@exchangeuk.bond.co.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I have a FreeBSD box with 2 nics (xl0, xl1). It is configured as follows:
> 
> xl0 has address 10.1.1.101/16 and alias 10.1.1.102/16
> xl1 has address 192.168.100.253/24
> 
> there is a route via a router at 192.168.100.230 to 192.168.1.0/24. The
> route works fine. Nat is running on xl0 with a redirect_address to
> 192.168.1.6 from 10.1.1.102. 
> The packets go out to 192.168.1.6 fine but the origin is left as 10.1.1.*
> and not changed to 192.168.100.253 and as such the destination does not know
> how to get back.
> 
> Has anyone got any ideas how I can force natd to change the source ip addr
> when the source and dest are both reserved IP ranges?

If you want to hide the 10.1/16 network from the 192.168.100/24 
network, you should consider 10.1/16 private and 192.168.100/24 
public.  It's then obvious that you must run natd on xl1 (the public 
interface).

> Thanks.
> 
> Ian.

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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