Jump to content

Setting Up Multiple Subnet


dukestraykker

Recommended Posts

First of all hello all. I have been reading around here for a few weeks and have given a few suggestions a try and it has been great fun. This past week or so I have been trying in vain to set up my home network a little differently. To stop all my own confusion I have made a network diagram.

My router is a netcomm NB6plus4Wn. My WAP is running gargoyle software.

What I would like to do is allow the pc and phone on the .2.x access to the .1.x subnet, and vice versa. I have a media server running on the pc on .2.72 and the playstation on .1.80 would like to access that as well as a few other various cross network file sharing.

Can anyone help me get my directions clear please?

post-34551-0-43510800-1303208536_thumb.j

Link to comment
Share on other sites

First off all, does your router support RIP protocol?

If it does, you will need to enable it and specify the subnets.

Link to comment
Share on other sites

I found this discussion on Subnetting on Tom'shardware website, quite interesting I think its worth a read, just to get some general idea of how to tackle your situation.

http://www.tomshardware.com/forum/21918-42-setting-network-subnets

Edited by Infiltrator
Link to comment
Share on other sites

The flaw in your plan is that your wireless AP may not be able to route if it is just an AP. The easiest way is the change the subnet mask of all devices to 255.255.254.0 which would require no routing. Are you firewalling the phone/PC from the rest of the network? Does the wireless AP have a .1 address on it, which implies it is routing? If the WAP does route, just add a route to each of your devices (the proper way) to route 192.168.2.0/24 to 192.168.1.ip of wap. The easy way to add a route, which will generate a lot of ICMP redirects and is non-compliant RFC wise would be to add a route to your wireless modem pointing 192.168.2.0/24 to 192.168.1.ip of wap.

Link to comment
Share on other sites

/23 or 255.255.254.0 will only give him the subnet range from 192.168.0.0 - 192.168.1.255. The next subnet would be ranged from 192.168.2.0 - 192.168.3.255. This still wouldn't get him to the 192.168.2.x network from the 192.168.1.x network. He could go /22 or 255.255.252.0 but if any of the equipment only does classfull routing (/8 /16 /24, RIP protocol included, can't do classless routing, ie: no variable length subnet mask, CIDR notation) then it won't work.

To be safe, his subnet mask should be 192.168.0.0/8 or 255.255.0.0 and then everything should be able to see each other.

Edited by digip
Link to comment
Share on other sites

To be safe, his subnet mask should be 192.168.0.0/8 or 255.255.0.0 and then everything should be able to see each other.

I assume you mean 192.168.0.0/16 :)

I think the point is though that he wants them on two different subnets. The big question would then be is his WAP a router as well, or could his WAP be attached to his router directly rather than through the hub. Either would make his life a lot easier.

Link to comment
Share on other sites

Sure enough, sorry for the oversight/brainfart...indeed a 255.255.252.0 would not overlap the subnets. Some consumer equipment is still not able to subnet anything but a /24 as well, so that may be problematic. Without firewalling, the question to ask is why subnet anyway?

Link to comment
Share on other sites

I assume you mean 192.168.0.0/16 :)

I think the point is though that he wants them on two different subnets. The big question would then be is his WAP a router as well, or could his WAP be attached to his router directly rather than through the hub. Either would make his life a lot easier.

Yes, /16, although /8 would work too :) . As far as the hub, anything connected directly to the hub would be able to see each other since its going to be broadcast city over there. Its the devices on the other side of the AP and Modem that would be an issue since these need to be routed to if they are on different subnets. If he could set the AP to bridge with the wireless modem, that should work as well.

Link to comment
Share on other sites

Sure enough, sorry for the oversight/brainfart...indeed a 255.255.252.0 would not overlap the subnets. Some consumer equipment is still not able to subnet anything but a /24 as well, so that may be problematic. Without firewalling, the question to ask is why subnet anyway?

In his case the need would be to supernet, not subnet, the networks in order for the 192.168.1.x to see the 192.168.2.x network. He could also just change them to a 10.0.0.0/8 class a or 172.16.x.x/16 class b network, and be done with it. That is if his modem and AP allow him to use those subnet ranges (I don't see why they wouldn't, although the ADSL modem might be configured by the ISP).

From reading, I think his AP can set it to get an address from the ADSL modem anyway. Scroll down to the "Configuring Wireless Client Mode"

http://www.gargoyle-router.com/wiki/doku.php?id=single_ethernet_setup&s[]=bridge

Link to comment
Share on other sites

Hi all. Thank you for the replies.

I think to answer a few of the questions to hopefully make it more clear why i would like what I am trying to do:

The wireless AP is an Accton MR3201A. It currently is set up on 192.168.2.1 and the WAN side is set to 192.168.1.50 to access the modem/internet.

The reason I would like it set up like this is to restrict the 1 pc and the phone connected to the Accton MR3201A with the quota system and bandwidth limiting features of the gargoyle firmware.

I believe it can currently route from the .2.x network to the .1.x network as the AP itself can host my phone, and via a wifi app it controls the pc on .1.66 for vlc media player as a remote control.

I do not think I *need* it to be on seperate subnets, in the normal sense. I am just looking for a way to make the 2 items on the Accton MR3201A .2.x AP communicate with the devices on the regular modem and vice versa. If this means they are on the same subnet then that is fine. Currently the netcomm router/modem is handling dhcp for the .1.x range and the Accton MR3201A is handling the dhcp for .2.x range.

Perhaps I mislabelled the hub. It is a direct passthrough device, switch/hub? Its only purpose is to add extra ports to connect all the wired devices to the network :)

The adsl modem is fully under my control no ISP configurations as it is an aftermarket item as well.

Link to comment
Share on other sites

Does the router that do all the internet handling, has capabilities to throttle the bandwidth per device? Or does it only support one device at the time?

Reason being, rather then setting up two subnets, you could configure the router to only throttle the bandwidth on the PC that you want.

Link to comment
Share on other sites

I dont believe it has any sort of function to do that at all not even overall.

What somebody mentioned to me was that perhaps I could set everything to be behind the AP, have that assign dhcp to everything and then only control b/w on the devices required, and have everything on the .2.x "subnet". That would mean everything can see everything again, and all devices would just go out the pre-existing routes from the AP to the modem/router that work already with the phone and 1 pc?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...