Static NAT and PAT on 6.2

Ian Smith smithi at nimnet.asn.au
Wed Jun 18 16:14:56 UTC 2008


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



More information about the freebsd-net mailing list