1. Login in the system with the system administrator privilege.
2. Open the network configuration file with a editor. I will be using “vi editor” in this case.
example : “vi /etc/network/interfaces“
3. Go to last line and add your routing.
example “up route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0“
4. Save your changes and exit the editor.
5. Restart the network service with “/etc/init.d/networking restart“
6. Verify your routing by sending “route” command.
No comments:
Post a Comment