Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 1999 12:10:27 -0000
From:      Ian MacDonald <imacdonald@bond.co.uk>
To:        freebsd-isp@freebsd.org
Subject:   RE: natd question. 
Message-ID:  <119A28E471BDD1118EEC00A0245CFD656DFF83@exchangeuk.bond.co.uk>

next in thread | raw e-mail | index | archive | help
What I need to be able to do is create a an IP address in the 10.1 network
that will represent the 192.168.1.6 server so that users only need to know
about the 10.1.?.? server. This is because we already have a 192.168.1.0
network on our main network so it is not possible to directly connect it to
ours, hence natd.

If I turn natd round the redirect_address does not appear to work anymore.

> -----Original Message-----
> From:	Brian Somers [SMTP:brian@Awfulhak.org]
> Sent:	09 November 1999 07:07
> To:	Ian MacDonald
> Cc:	freebsd-isp@FreeBSD.ORG; brian@hak.lan.Awfulhak.org
> Subject:	Re: natd question. 
> 
> > 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


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?119A28E471BDD1118EEC00A0245CFD656DFF83>