Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2008 02:14:45 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Matt Brennan <brennanma@gmail.com>
Cc:        FreeBSD Networking <freebsd-net@freebsd.org>
Subject:   Re: Static NAT and PAT on 6.2
Message-ID:  <Pine.BSF.3.96.1080619015924.16043C-100000@gaia.nimnet.asn.au>
In-Reply-To: <1c01b5070806130659ufaa761ax18de48287c7064d1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Jun 2008, Matt Brennan wrote:
 > Hi All,
 >
 >  I am running FreeBSD 6.2-release. I have been running PAT via natd
 > and ipfw for some time now and it runs great. However, I continue to
 > try and employ static NAT on this router, and as soon as I do so all
 > other clients lose routing. My natd.conf is as below:
 > 
 > unregistered_only
 > use_sockets
 > log_ipfw_denied
 > redirect_address 10.100.1.2 66.92.79.20
 > alias_address 66.92.79.89
 > 
 >  Whenever I run with this configuration all clients except the
 > static'ed one lose routing out of the building. I have tried switching
 > the order of the alias_address and redirect_address.

Maybe folks need more information on your network topology; ifconfig,
netstat -rn, say .. tcpdumps on the interface losing traffic?

I haven't used redirect_address, but perhaps you need to specify
target_address to disambiguate requests to other than alias_address?

Stab in the dark, since it was my bright idea to refer you to -net :)

cheers, Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1080619015924.16043C-100000>