z_yarijan

Honorable
Oct 31, 2012
6
0
10,510
:pt1cable: i want pc1 to use the printer of pc2.
pc1:
IP 172.16.57.58 subnet 255.255.255.128 DGW 172.16.57.1
PC2:
IP 172.16.57.249 subnet 255.255.255.128 DGW 172.16.57.129
DNS and every other think is similar in both systems.
i manually change the DGW of the pc1 to 172.16.57.129
i can ping the pc2 but the printer is not listed in network printers.while printer is shared. :pt1cable:
 

z_yarijan

Honorable
Oct 31, 2012
6
0
10,510
as you see they have the same subnet.there are no routers in between.the destination pc is xp.and the other is win7.the DGW is different that means they are from different VLANs.

Tracing route to ZAMANI [172.16.57.249]
over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms 172.16.57.1
2 <1 ms <1 ms <1 ms ZAMANI [172.16.57.249]

Trace complete.
 

john-b691

Honorable
Sep 29, 2012
703
1
11,160
Have you tried putting in the IP address of the printer rather than trying to pick it from a list that does not exist. The list of networked shared devices if I remember right is built via broadcast which does not pass between subnets. Generally if you can ping the devices but you cannot share stuff when you key in a direct IP address some firewall is blocking something
 

No, that is NOT what I see; that is why I asked ;)

You state the PCs are configured like this:

pc1:
IP 172.16.57.58 subnet 255.255.255.128 DGW 172.16.57.1
PC2:
IP 172.16.57.249 subnet 255.255.255.128 DGW 172.16.57.129

If that is correct then they ARE on separate networks and of course they cannot talk directly with each other without going through a router!

OK, more details: The subnet mask of 255.255.255.128 limits the range of each PC: pc1 is limited to talking to 172.16.57.0 to 172.16.57.127, and pc2 is limited to 172.16.57.128 to 172.16.57.255.