<br><br><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>Remove the GATEWAY= entries from all of your ifcfg-* files and replace
<br>them with a single GATEWAY=ip.addr entry in /etc/sysconfig/network,<br>where ip.addr is the IP address of your default gateway/router.<br><br>It removed the GATEWAY entries from ifcfg-eth0 and ifcfg-eth1 files and added GATEWAY entries in
</blockquote><div><br>
/etc/sysconfig/network<br>
<br>
But still I am not able to browse the internet.<br>
<br>
Then I ran the command "route"<br>
<br>
the output of the command route<br>
<span style="font-family: monospace;"><br>
<br>
Kernel IP routing table<br>
Destination
Gateway
Genmask Flags Metric
Ref Use Iface<br>
<a href="http://10.0.0.0">10.0.0.0</a>
*
<a href="http://255.255.255.0">255.255.255.0</a> U
0
0 0 eth1<br>
<a href="http://192.168.1.0">192.168.1.0</a>
*
<a href="http://255.255.255.0">255.255.255.0</a> U
0
0 0 eth0<br>
<a href="http://169.254.0.0">169.254.0.0</a>
*
<a href="http://255.255.0.0">255.255.0.0</a> U
0
0 0 eth1<br>
default
<a href="http://10.0.0.1">10.0.0.1</a>
<a href="http://0.0.0.0">0.0.0.0</a>
UG 0
0 0 eth1<br>
<br>
I can see the default gateway is <a href="http://10.0.0.1">10.0.0.1</a>,how do I changed it to <a href="http://192.168.1.1">192.168.1.1</a>.<br>
<br>
The output of the command "Ifconfig"<br>
<br>
ifconfig -a<br>
eth0 Link encap:Ethernet HWaddr 00:11:11:65:76:7F<br>
inet addr:<a href="http://192.168.1.68">192.168.1.68</a> Bcast:<a href="http://192.168.1.255">192.168.1.255</a> Mask:<a href="http://255.255.255.0">255.255.255.0</a><br>
inet6 addr: fe80::211:11ff:fe65:767f/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:1985 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:342 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br>
RX bytes:345980 (337.8 KiB) TX bytes:56283 (54.9 KiB)<br>
Interrupt:3 Memory:fe8fc000-0<br>
<br>
eth1 Link encap:Ethernet HWaddr 00:E0:4C:33:2E:80<br>
inet addr:<a href="http://10.0.0.2">10.0.0.2</a> Bcast:<a href="http://10.0.0.255">10.0.0.255</a> Mask:<a href="http://255.255.255.0">255.255.255.0</a><br>
inet6 addr: fe80::2e0:4cff:fe33:2e80/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:155 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:312 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br>
RX bytes:11544 (11.2 KiB) TX bytes:20158 (19.6 KiB)<br>
Interrupt:9 Base address:0xb000<br>
<br>
lo Link encap:Local Loopback<br>
inet addr:<a href="http://127.0.0.1">127.0.0.1</a> Mask:<a href="http://255.0.0.0">255.0.0.0</a><br>
inet6 addr: ::1/128 Scope:Host<br>
UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
RX packets:1613 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:1613 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0<br>
RX bytes:1626349 (1.5 MiB) TX bytes:1626349 (1.5 MiB)<br>
<br>
sit0 Link encap:IPv6-in-IPv4<br>
NOARP MTU:1480 Metric:1<br>
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0<br>
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br>
</span> </div>Thanks & Regards<br>
<br>
Ankush Grover<br></div><br>