Firstly, edit the file /etc/rc.d/rc.netaddress.up
Above the 'echo "setting up firewall ......."', add:
/sbin route add -net destination netmask subnetmask gw gateway dev deviceinterface
Which destination Specified the IP address for the network
subnetmask Subnet mask to be associated with this route entry
gateway Gateway
deviceinterface Device interface with connected to this network
Should read "/sbin/route add -net destination netmask subnetmask gw gateway"
ReplyDelete