Same LAN, Different Subnets

MadPoet

Junior Member
Nov 15, 2001
8
0
0
I have two computers running windows XP, hooked up to a cable modem. The provider keeps assigning them IPs that are on different subnets, so they have to go out to the ISP and back when talking to each other. This is causing them to have pings in excess of 500ms at times. Is there any way to specify a single IP as local, or will I need to staticly assign them a subnet mask of like 255.255.248.0 in order to get them to talk properly? Currently the adresses are x.x.115.x and x.x.116.x
 

ScottMac

Moderator<br>Networking<br>Elite member
Mar 19, 2001
5,471
2
0
There is no way to make them talk to each other without going through the ISP's router (if they are on separate subnets).

You easiest solution, assuming the ISP won't/can't get 'em both on the same network would be to add a second NIC to both, and connect 'em to each other on their own LAN (hub/switch/crossover cable).

The more popular option would be to add a router doing NAT (LinkSys, Netgear, etc) on one of the two addresses, and connect both machines behind the router. Keep the second address (or not) for direct connection for gaming or whatever.

Good Luck

Scott
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
howabout adding a static route to the specific host and letting arp handle the rest?

or adding a second NIC with the same subnet using private addressing?
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
I am assuming that you want the two computers on the same subnet for fast file sharing? Why not used NetBEUI?
 

MadPoet

Junior Member
Nov 15, 2001
8
0
0
Nope, no file sharing. Trying to play Dungeon Siege.

/mourn IPX/SPX

I have never had good luck with multiple NICs, but worth a try, not going to have this setup too long, not worth a router. Thanks for the tips.
 

JustinLerner

Senior member
Mar 15, 2002
425
0
0


<< I have two computers running windows XP, hooked up to a cable modem. The provider keeps assigning them IPs that are on different subnets, so they have to go out to the ISP and back when talking to each other. This is causing them to have pings in excess of 500ms at times. Is there any way to specify a single IP as local, or will I need to staticly assign them a subnet mask of like 255.255.248.0 in order to get them to talk properly? Currently the adresses are x.x.115.x and x.x.116.x >>

Not sure of your setup! Does each PC have it's own cable modem or are they both connected to the same cable modem via a switch/hub with uplink/crossover?

It sounds like you have a hub/switch, and one cable modem, right? Otherwise, if you were on two separate cable modems (two physical locations), you would expect each PC to go out to the internet to communicate! I don't see why changing the subnet wouldn't work, but I just don't know if this would not work.

With 2000/XP since they can accept changes without rebooting and your ISP is assigning addresses dynamically (so the PC's have to be dyanmic), then I would try the following using your subnet mask idea (what can it hurt to try?):
After each PC connects to the ISP and receives an IP address, run ipconfig /all. Get the IP addresses (and all IP info), for each PC. Then manually enter the same assigned IP address, dns server, gateway that was dynamically assigned and apply the different netmask which will cover both IP addresses. Try playing for that session. So this would only work for as long as the same IP address is assigned by the ISP. Would this really be a solution?