Re: Static NAT and PAT on FreeBSD 6.2
I have continued to experiment and am still running into the same issues. Anyone? -Matt On Sun, Jun 1, 2008 at 5:33 PM, Matt Brennan <[EMAIL PROTECTED]> 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. > > Any help is appreciated. > > -Matt > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help with default route
Well, I can't be sure without seeing your entire routing table, but I would bet you need to do something more like this: route add -net 10.0.0.0/24 -iface ipw0 route add default 10.0.0.1 (or maybe route add default gw 10.0.0.1) If that doesn't work try giving us the output from your routing table (netstat -rn). -Matt On Sun, Jun 8, 2008 at 10:27 AM, Svein Halvor Halvorsen <[EMAIL PROTECTED]> wrote: > Hi! > > I usually use the wired network at home, in which everything gets > configured automatically as soon as I attach the cable to my network > card. > > However, when using the wireless network, I need to run > > # route add default -iface ipw0 > > This will give me a route to the gateway (10.0.0.1), and I can ping > the gateway, as well as other machines on our local network. But if > I try to connect to anything outside of 10/24, I get a "no route to > host" error. If I manually add a route, with > > # route add x.y.z.t 10.0.0.1 > > I can connect to that host. If I change my default route to anything > but "-iface ipw0" I cannot connect to the gateway (10.0.0.1). I > cannot keep adding routes to all hosts I need to connect to. > > I've solved the problem for web usage, by running a proxy on another > machine on the local network (that's reachable) > > > What am I doing wrong? > I don't think I have a thorough understanding of network routes. > > >Svein Halvor > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Static NAT and PAT on FreeBSD 6.2
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. Any help is appreciated. -Matt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"