Q. How do I add new / default gateway using route command under Linux? A. You can use any one of the following tool to add route: => route command : show / manipulate the IP routing table => ip command : show / manipulate routing, devices, policy routing and tunnels Linux route add using [...]
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: # [...]
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.
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 [...]