I am trying to have 2 Linux machines connected via a switch, and share the
BSNL Dataone ADSL Broadband connection.
|PC-1: 192.168.1.2 eth0|---|MT800 Modem+Router:192.168.1.1}--BSNL Network-->
| 192.168.2.2 eth1|
|-------{SWITCH}------|PC-2: 192.168.2.3 eth0|
It should be possible to add more number of machines on the switch.
I am connected and browsing comfortably with PC-1.
>From PC-2, I am able to Ping PC-1 192.168.2.2 and 192.168.1.2, but NOT
192.168.1.1
The routing table on PC-1 is placed below:
[EMAIL PROTECTED] ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
The routing table on PC-2 is placed below:
[EMAIL PROTECTED] ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.2.2 0.0.0.0 UG 0 0 0 eth0
I am unable to browse Internet on PC-2. What's the problem??
Many thanks in advance.
Anand Shankar
Anand Shankar
_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[EMAIL PROTECTED]/