default gateway

I am a new Linux user. How do I add a new or default gateway using route command on Linux operating systems? How can I use route command to show or set a new route on Linux based server or desktop system?

{ 20 comments }

Q. How do I setup up a default Gateway for all interfaces (eth0 and eth1) under CentOS Linux 5? A.There are different ways to setup TCP/IP hosts so that you can reach to remote destinations. The simplest one is to setup default gateway by modifying the /etc/sysconfig/network Setup a default Gateway Open /etc/sysconfig/network file: # […]

{ 30 comments }

Q. How do I setup a default gateway on Debian or Ubuntu Linux? My router IP is 192.168.1.254 and I’d like to setup this as a default gateway for Debian Linux.

{ 23 comments }

Q. How do I setup default gateway with a route command? A. route command show and/or manipulate the IP routing table under Linux and UNIX oses. Route manipulates the kernel’s IP routing tables. Its primary use is to set up static routes to specific hosts or networks via an interface after it has been configured […]

{ 31 comments }