Routing

Michael K. Smith - Adhost mksmith at adhost.com
Mon Jan 1 18:04:24 PST 2007



> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-
> questions at freebsd.org] On Behalf Of Office of the CIO-rithy4u.NET
> Sent: Monday, January 01, 2007 2:17 AM
> To: freebsd-questions at freebsd.org
> Subject: Routing
> 
> I try to do dual routing on my freebsd box but its was not
> sucecssfull. any one can help?
> 

Hello:

With very little information, I'm guessing you mean, "how do I route
through a FreeBSD box from one NIC to another?"

First, as root, 'sysctl net.inet.ip.forwarding=1' and then update
/etc/sysctl.conf with 'net.inet.ip.forwarding=1' so it is available
after reboot.

Second, in /etc/rc.conf, put 'gateway_enable="YES"'

After that, you'll have to provide more information about your
configuration to receive more specific information about configuration
guidelines.

Regards,

Mike


More information about the freebsd-questions mailing list