Subnets and networking with DD-WRT, problems ofc

DouglasteR

Gawd
Joined
Jan 6, 2006
Messages
531
Hi there folks,

I was using my router (Tplink 941nd) as the main router on a simple 192.168.0.0-100 DHCP scheme.

Everything was working ok, BUT, the organization was a mess, so i start to think about segmenting the network to organize it more.

Every subnet should have its own DHCP range.

So it ended this way :

10.0.0.x - All the network devices (routers, switchs) are here
10.0.1.x - All the NON-PC devices are here (media players, cellphones, xbox etc)
10.0.2.x - All the IP cameras are here
10.0.3.x - All the PCS and servers are here

I managed to create 3 vlans on the DD-WRT and bind the, created an additional DHCP for each one

So, i "wonder" what subnet mask i should use ? 255.255.252.0 ? im currently using this and all the ranges are receiving DHCP normally.

Also, im having problems that sometimes some clients cant connect to eachother( example, the ip camera at 10.0.2.1 cant connect to the server at 10.0.3.1) and some clients are slow to talk to each other (media player to the server )

Can anyone give me some insight ? :(

Am i doing a mess ?! :(
 
what is doing the intervlan routing? If its a DD-WRT router it may be slow
 
How many devices are on the network? Each of the individual subnets? I'm guessing that DD-WRT is slow as well or something isn't quite right setup. Your /22 subnet gives you 1022 hosts per subnet. It's probably overkill even.
 
Humm, theres no more than 30 devices per segment.

What mask do you recommend ?

Thanks =D
 
do a file transfer between the vlans

Even Cisco 1841 routers are no good for anything like this, if I have a high throughput network (100Mbps +) requirment between VLANs I use a L3 switch.

Why not just use 255.255.255.0? 253 hosts per subnet and its pretty easy to deal with.
 
So you have around 100 devices or so? Why not just break up a /24 subnet into say .1-.10 is your network gear, .20-.40 are you servers, .50-.70 are your printers, .100-.150 are your client stuff, .150-.200 are your phones, etc. If you still want DHCP you could just do DHCP assignments on the device doing DHCP instead of having to assign everything a static IP. That seems like a lot of devices for a little DDWRT device though.
 
Thanks for the help guys, i think i thought a little too high :D

One last question, even with the mask set at 255.255.255.0 can i have thosee ranges ? 10.0.x.x ?

I just need a router to do the routing correct ?
 
Technically your ranges aren't correct if you use 255.255.252.0 with 10.0.1.0, 10.0.2.0, etc. Your ranges would be 10.0.0.1-10.0.3..254, 10.0.4.1-10.0.7.254, 10.0.8.1-10.0.11.254, and 10.0.12.1-10.0.15.254.
If you use a 255.255.255.0 subnet mask then your ranges are 10.0.0.1-10.0.0.254, 10.0.1.1-10.0.1.254, etc.

Having the messed up subnet ranges like you have may also be causing some issues. Try fixing the ranges and see if it improves. If you use the /22 mask then use my first ranges, if you use a /24 then use the last example. The DDWRT router is doing the routing. It may not be powerful enough though.
 
Technically your ranges aren't correct if you use 255.255.252.0 with 10.0.1.0, 10.0.2.0, etc. Your ranges would be 10.0.0.1-10.0.3..254, 10.0.4.1-10.0.7.254, 10.0.8.1-10.0.11.254, and 10.0.12.1-10.0.15.254.
If you use a 255.255.255.0 subnet mask then your ranges are 10.0.0.1-10.0.0.254, 10.0.1.1-10.0.1.254, etc.

Having the messed up subnet ranges like you have may also be causing some issues. Try fixing the ranges and see if it improves. If you use the /22 mask then use my first ranges, if you use a /24 then use the last example. The DDWRT router is doing the routing. It may not be powerful enough though.

Thanks man, i really appreciate you help :p
 
As long as you're on the same subnet this should work fine since the traffic necessarily doesn't need to hit the router itself. If you start using VLANs and other fancy feature that you might hit cpu bottleneck pretty fast.
//Danne
 
Strange, yesterday i tried the 255.255.255.0 with the 10.0.0/1/2/3.x and it didnt work :(

I switched back to the previous 255.255.252.0 and everything went back normal.

One question is bugging me thought, in the Vlan tab, were i created the ranges, theres a priority option that was set to 32768 ! In this case the higher the number higher the priority !?
 
why not just use 192.168.20.0 /24 192.168.21.0 /24 and 192.168.22.0 /24 or something like that?
 
why not just use 192.168.20.0 /24 192.168.21.0 /24 and 192.168.22.0 /24 or something like that?

Humm,

So i should just manually enter the ips for the devices in the ranges i want and leave DHCP running for one of these zones ? This way i avoid using Vlans and messing with complex masks ?

Thanks for the patience guys :p
 
Back
Top