[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 10.19.1.0/24 10.19.1.254

where 10.19.1.254 is the gateway

to add a route to a host:

/sbin/route add -host 192.168.0.5 192.168.1.254

where 192.168.0.5 is the host and 192.168.1.254 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