not able to browse the internet with 2 lan cards on Fc3

Ankush Grover ankush174 at gmail.com
Tue Sep 13 09:29:43 UTC 2005


> 
> Remove the GATEWAY= entries from all of your ifcfg-* files and replace
> them with a single GATEWAY=ip.addr entry in /etc/sysconfig/network,
> where ip.addr is the IP address of your default gateway/router.
> 
> It removed the GATEWAY entries from ifcfg-eth0 and ifcfg-eth1 files and 
> added GATEWAY entries in 


/etc/sysconfig/network

But still I am not able to browse the internet.

Then I ran the command "route"

the output of the command route


Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 <http://10.0.0.0> * 255.255.255.0 <http://255.255.255.0> U 0 0 0 
eth1
192.168.1.0 <http://192.168.1.0> * 255.255.255.0 <http://255.255.255.0> U 0 
0 0 eth0
169.254.0.0 <http://169.254.0.0> * 255.255.0.0 <http://255.255.0.0> U 0 0 0 
eth1
default 10.0.0.1 <http://10.0.0.1> 0.0.0.0 <http://0.0.0.0> UG 0 0 0 eth1

I can see the default gateway is 10.0.0.1 <http://10.0.0.1>,how do I changed 
it to 192.168.1.1 <http://192.168.1.1>.

The output of the command "Ifconfig"

ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:11:11:65:76:7F
inet addr:192.168.1.68 <http://192.168.1.68>
Bcast:192.168.1.255<http://192.168.1.255>Mask:
255.255.255.0 <http://255.255.255.0>
inet6 addr: fe80::211:11ff:fe65:767f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1985 errors:0 dropped:0 overruns:0 frame:0
TX packets:342 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:345980 (337.8 KiB) TX bytes:56283 (54.9 KiB)
Interrupt:3 Memory:fe8fc000-0

eth1 Link encap:Ethernet HWaddr 00:E0:4C:33:2E:80
inet addr:10.0.0.2 <http://10.0.0.2> Bcast:10.0.0.255 <http://10.0.0.255>Mask:
255.255.255.0 <http://255.255.255.0>
inet6 addr: fe80::2e0:4cff:fe33:2e80/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:155 errors:0 dropped:0 overruns:0 frame:0
TX packets:312 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11544 (11.2 KiB) TX bytes:20158 (19.6 KiB)
Interrupt:9 Base address:0xb000

lo Link encap:Local Loopback
inet addr:127.0.0.1 <http://127.0.0.1> Mask:255.0.0.0 <http://255.0.0.0>
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1613 errors:0 dropped:0 overruns:0 frame:0
TX packets:1613 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1626349 (1.5 MiB) TX bytes:1626349 (1.5 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
 Thanks & Regards

Ankush Grover
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20050913/da4f888f/attachment-0002.html 


More information about the users mailing list