Setting a Default Gateway for Redhat / CentOS systems?
There are two possible ways for adding a default gateway. Option 1: You can add a gateway definition to the /etc/sysconfig/network file. This definition will apply to all network interfaces. Let’s say that your gateway is 192.168.4.1, then you need to add the following line to /etc/sysconfig/network file. GATEWAY=192.168.4.1 Option 2: You can define a [...]
Read the rest of this entry »