File Sharing Help?

blotto

Senior member
Feb 11, 2006
219
4
81
I've been running my main pc (XP Pro) with 2 Nic's, one 10/100 into the router and one gigabit running over a crossover to my fileserver (win2k). The router assigns IP's in the 192.168.10.x range and I've got the connection between the desktop and my fileserver set at 192.168.2.x. All has been working fine for a while as my desktop is the only pc on the network that needed to access the fileserver, but yesterday I bought a laptop and would like to access my music.

The laptop connects to my router wirelessly and can access files on my desktop but of course can't see the file server. Is there anyway to let the laptop see the server, like a network bridge? I tried bridging the connections in XP but couldn't access the server through either PC.

I could put a second NIC in the server and hook it to the router but would the desktop try to access the server though the router or the crossover? The desktop needs the speed of gigabit. I suppose if worse comes to worse I could go get a gigabit switch, but the wife is already on my back for buying the laptop
 

nukexbi

Member
Nov 24, 2004
47
0
0
I would try adding static routes on the XP Pro machine.

You can do this with the 'route add' command in the command prompt. You can play around with the command without the -p switch and the routes will disappear when you reboot. When you have added the 2 routes use the -p switch so that they stay there after a reboot. You should be able to leave the metric and interface portion blank.

Use 'route /?' to see how the command works.

You may want to try:

route add 192.168.10.0 mask 255.255.255.0 192.168.2.x (where x = host id on XP pro)
route add 192.168.2.0 mask 255.255.255.0 192.168.10.y (where y = host id on XP pro)

If this works add a -p switch so that the routes are added to the registry and used whenever tcp/ip starts.

route -p add 192.168.10.0 mask 255.255.255.0 192.168.2.x (where x = host id on XP pro)
route -p add 192.168.2.0 mask 255.255.255.0 192.168.10.y (where y = host id on XP pro)

I think this should work, but I have only done this sort of thing before with Routing and Remote Access enabled on a server. Any networking guru's that could confirm this?
 

Gooberlx2

Lifer
May 4, 2001
15,381
6
91
blotto! What a great username! I love that word. Welcome to the forums BTW.

Sorry, I don't have any suggestions.
 

blotto

Senior member
Feb 11, 2006
219
4
81
Got it all figured out and it was much easier than expected. Thanks. I put a second nic in the server and ran it the router, when I mapped the drives on the desktop I entered them as \\192.168.2.2\* and when I mapped them on the laptop I used \\fileserver\* . All is working good. Thanks for the replies.