[Samba] Add route

Stuart Highlander stuart at fsbwise.com
Thu Sep 27 16:26:24 GMT 2007

add the following line to /etc/rc.local

/sbin/route add -net

where is the gateway

to add a route to a host:

/sbin/route add -host

where is the host and is the gateway.

Jamie Beekhuis wrote:
> I have added an add route command to my firewall and everthing is working
> fine. But when I reboot I lose the route ,
> What file can I edit to make the route permanent. (BSD Version 6.1 Release)
> Jamie

More information about the samba mailing list