FreeBSD routing between 2 interfaces

freebsd at killersolutions.com freebsd at killersolutions.com
Tue Sep 30 20:19:56 PDT 2003


> You forgot natd.
>
> Am guessing your DSL or cable modem is doing NAT and assigning an
> address to your FreeBSD system.

No the modem assigns IP to the 192.168.0.1 router, which in turn acts as
gateway for the rest of the network. I only have 1 real IP address. It
seems I have NAT already on the 192.168.0.1 and will now have to put
another NAT scheme into 192.168.0.3 machine? Perhaps, I should just create
static routes using the route command in freebsd?

>The modem will only accept traffic from
> the IP address it gave your machine. So when your other network routes
> thru the FreeBSD machine the modem igores it. Use natd to map that
> network traffic to the FreeBSD machine's external IP address.
>
> --
> David Kelly N4HHE, dkelly at hiwaay.net
> =====================================================================
> The human mind ordinarily operates at only ten percent of its
> capacity -- the rest is overhead for the operating system.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list