Friday, January 25, 2013

Creating Static Route in Linux

Static routes improves overall performance of your network.They are also useful in stub networks (i.e. there is only one link to the network). For example, each LAN (located at different offices) is connected VPN or lease line.
They are very helpfull in bandwidth saving also
So here we go :
Login in root :
to view routs:

root@sd-malanch.blogspot.com#  ip route show

Adding route in linux server


root@sd-malanch.blogspot.com# route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.01 dev eth1

root@sd-malanch.blogspot.com# /etc/init.d network restart





Connect with me on :

                            
                             

No comments:

Post a Comment