How To Assign Default Gateway In Linux?

0 comments

How to Assign Default gateway in linux?
Ans : In linux Default gateway is set through route command or GUI tools.

Through Route command
#route add default gw default-gateway

Example :
#route add default gw 192.168.0.1
Here 192.168.0.1 is the default gate of my system.

Through GUI tools
Use system-config-network in terminal or GUI to set up default gateway.

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Archive

    Translate this page

     

    The Linux Juggernaut | Copyright 2006-2009 Surendra Kumar Anne | Surendra's Home Page | Give us feedback how we are doing, Click here