ow to access different networks thr

Hewlett-packard / Normal pc
Thiyagu January 23, 2009 at 03:03:42
Specs: Windows XP, 1gb
Hi,

I'm very new to this networking field. Please
help me to sort out issue.

I have 3 PC's. Each having 2 ethernet cards.

PC1 (NIC1):
ip addr - 192.168.1.10
subnet mask - 255.255.255.0
default g/w - 192.168.1.1


PC2 (NIC1):
ip addr - 192.168.1.3
subnet mask - 255.255.255.0
default g/w - 192.168.1.1


PC2 (NIC2):
ip addr - 192.168.2.3
subnet mask - 255.255.255.0
default g/w - 192.168.2.1


PC3 (NIC1):
ip addr - 192.168.2.10
subnet mask - 255.255.255.0
default g/w - 192.168.2.1

This is my IP configuration. All the Pc's are
connected to a normal ethernet switch.
Now i wants to ping PC1 in PC3 & vice-versa.
i.e., pinging 1.10 in 2.10 m/c through PC2.
All are windows XP m/c.

I tried by assigning default g/w of PC1 as
PC3 & PC3 as PC1. But it didnt.
I tried of routing configuration in all
pc's(enabled routing in regedit -
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Servi ces\Tcpip\Parameters\IPEnableRouter=1)
in command. As
route add 192.168.1.3 mask 255.255.255.0
192.168.1.1
its shows : The route addition failed: The
specified mask paramater is invalid.
<destination & mask> != Destination.

Please provide me a solution ASAP.


See More: ow to access different networks thr

Report •


#1
January 23, 2009 at 05:40:25
There is no reason to have dual homed machines or more than one subnet on a home network with only 3 PCs. Disable the second NICs and use one subnet. It's much easier.

Report •

#2
January 23, 2009 at 05:43:25
I tried by assigning default g/w of PC1 as PC3 & PC3 as PC1. But it didnt.

No surprise there. PC3 is on a completely different subnet.

I tried of routing configuration in all
pc's

The only place you should need to create a route between the two subnets is on the PC that is on both subnets. I've never tried doing routing inside a windows XP box myself. I would either use a windows server and RRAS, or I would use a router. You should be able to do the routing with XP but it looks to me like you need to figure out how to properly add a route that will work is all.

PC1 should point to PC2 as it's gateway and PC3 should also point at PC2....but in each case, at the appropriate address (ie: the one on PC2 that's in their respective subnets).

This would be a lot simpler with a router.


Report •

Related Solutions


Ask Question