What IP to give router?

andy February 3, 2009 at 10:09:31
Specs: Windows XP
Say you have 2 LAN's in 2 rooms next to each other and one LAN is one a 10.x.x.x adresses and the other on 192.x.x.x so you have a router in the middle which is connected to a modem and the modem to the net etc....

So i have to give the router 2 LAN ip's to connect to each LAN. What do i use here....?

See More: What IP to give router?

Report •

February 3, 2009 at 10:26:11
What are you trying to achieve here?

If all you want is both subnets to have internet access, without necessarily being able to communicate with each other, then you pick an IP in whichever subnet you prefer and create a route from the other subnet to that one inside the router.

If you want internet access AND to have the two subnets communicate with each other freely, then the easiest thing is to go with a single subnet spanning both networks (ie: make them one network/subnet). Otherwise, you have to do as I said above and then create two routes, one from LAN A to LAN B and the second the opposite.

Report •

February 3, 2009 at 12:10:52
I never understood why people want more than one subnet in a home network. Even in a small business environment, it isn't needed.

Report •

February 3, 2009 at 12:26:12
It is just a thought scenario rather than what i am actually doing, yes i am trying to join both LAN's as well as give them both internet access. But as you say you should put them both on the same subnet..

But then again how would you actually do what i am asking?

Report •

Related Solutions

February 3, 2009 at 12:42:33
You have to do what Curt R said. The router has an IP on one of the subnets. Then you have to open the web interface of the router and tell it to use it's IP address as the gateway to the second subnet. Look for something that says routing. It could be under advanced. At least, that's what I see on my Dlink.

Report •

February 3, 2009 at 12:53:12
" i have to give the router 2 LAN ip's to connect to each LAN. What do i use here....?"

You use one or the other but not both. SOHO rrouters don't have the advanced feature of sub interfaces like Cisco professional routers do.

You would not go into the wan configuration [guapo I did not understand your post]
but you would go into the LAN interface and set the gateway entry to one or the other of your ip scope.

Then you would set your dhcp scope accordingly. Example: if using for gateway, dhcp would be set to x being the limit of a class c address space or your limit of devices you want addressed.

Report •

February 3, 2009 at 13:15:47
I was only relating what I see on my Dlink router. It wasn't under LAN configuration, it was under advanced, routing. I'm sure they are all different, especially Cisco, as you already stated and I'm sure you can explain it better than I can.

Secondly, I don't use DHCP on such small networks, especially if wireless in involved.

Report •

Ask Question