Sharing resources between two subnets

K

kurotsuke

Hi,

I have a problem sharing resources between PCs connected to two
different subnets.
My network configuration is this:

- 4 PCs (3 running Windows XP, 1 running Windows 98)
- 3-Port hub (I'll call it HAG with connects to the external network
via optic fiber)
- D-Link DI-713P router wireless (with Print Server).

Two PCs (A and B) are connected directly to the HAG (with address
41.2.1.x)
Two PCs (C and D) are connected to the D-Link router (with address
192.168.0.x)
The WAN port of the D-Link is connected to the HAG

What I need to do is sharing resources between C-D and A-B (with
Windows sharing, as I did before). Moreover I would like to access the
printer from A and B (the printer is reachable through the private
address of the D-Link router which is 192.168.0.1). I cannot change to
topology of the network due to the way PC are located in my house.

I noticed that C-D can ping A-B but not viceversa. Is there a solution
to the problem (do I have to create a VPN). Any help will be greatly
appreciated.
Thanks.
Andrea
 
R

Rakesh Chanana [MSFT]

The reason that you can ping A & B from C & D is because both C & D are
pointing to the D-Link router as their default gateway and teh D-Link
router had an interface on the HAG network (plus it's NATing the
192.168.0.x IP addresses so that C &D see those packets as coming from the
D-Link router). However, A & B are probably pointing to some device on HAG
as their default gateway and that device doesn't know about the 192.168.0.x
network.

Choices:
(a) Preferred - Add a route on the HAG netwrok router/gateway device that
points to the D-Link router's HAG IP address as the default gateway for
192.168.0.x subnet.
or
(b) Add a route on A & B (you'll have to do it on both) such as "route add
-p 192.168.0.0 mask 255.255.255.0 <D-Link_Router_HAG_IP_ address>" (without
the quotes)
----
Thanks,
Rakesh Chanana [MSFT]

When replying, please post to GROUP so that everyone can benefit from the
knowledge.

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


--------------------
 
K

kurotsuke

The reason that you can ping A & B from C & D is because both C & D are
pointing to the D-Link router as their default gateway and teh D-Link
router had an interface on the HAG network (plus it's NATing the
192.168.0.x IP addresses so that C &D see those packets as coming from the
D-Link router). However, A & B are probably pointing to some device on HAG
as their default gateway and that device doesn't know about the 192.168.0.x
network.

Choices:
(a) Preferred - Add a route on the HAG netwrok router/gateway device that
points to the D-Link router's HAG IP address as the default gateway for
192.168.0.x subnet.
or
(b) Add a route on A & B (you'll have to do it on both) such as "route add
-p 192.168.0.0 mask 255.255.255.0 <D-Link_Router_HAG_IP_ address>" (without
the quotes)
----
Thanks,
Rakesh Chanana [MSFT]

When replying, please post to GROUP so that everyone can benefit from the
knowledge.

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

I tried to do what you suggested (option b) but it didn't work. I'm
still not able to ping the machines behind the D-Link router. My HAG
works like an hub and doesn't have its own IP address.
Any further suggestions?
Thanks.
Andrea
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top