Page 1 of 1

Multiple Subnets

Posted: Fri Jul 25, 2014 1:21 pm
by EcoFreak
Hi there :)
I'm using a mikrotik router for my network and I've configured two networks:
- 172.19.4.0/24 (DHCP Network used by employee's laptops)
- 172.19.5.0/24 (Static entries in dhcp server for servers, printers, access points)

I've created a route for the second network to forward traffic to the local-bridge interface.
It's working but it's working rather slow, I can notice specially when printing, it takes too long.

Can you guys help?
Thanks in advance ;)

Re: Multiple Subnets

Posted: Fri Jul 25, 2014 1:28 pm
by Emile
Why dont you change the /24 to /23.

If you do that then you can communicate directly with computer/printers on both subnets

Re: Multiple Subnets

Posted: Fri Jul 25, 2014 2:03 pm
by EcoFreak
Why dont you change the /24 to /23.

If you do that then you can communicate directly with computer/printers on both subnets
How so? Create only one network, 172.19.4.0/23 ? Have only one route?

Re: Multiple Subnets

Posted: Fri Jul 25, 2014 5:24 pm
by Emile
With /24 subnet you can only ping/connect with 254 hosts in that range only.
For example 172.19.4.1-172.19.4.254

But it you use /23 subnet then you can ping/connect with host up to 172.19.5.254.
For example 172.19.4.1-172.19.5.254

Why printing is slow is because if you want to connect to printer on 172.19.5.20 from computer 172.19.4.1 then computer first needs to connect to router and then to the printer.
How so? Create only one network, 172.19.4.0/23 ? Have only one route?
yes you can replace the two rules with only this one rule.

PS: THe higher the subnet number (24,25,26,27) the smaller the number of hosts that subnet can handle.

Re: Multiple Subnets

Posted: Fri Jul 25, 2014 5:29 pm
by Emile
one more thing...

1.Do you mean that 172.19.4.0/24 and 172.19.5.0/24 is on same ether?
2.Or do you mean that you have 172.19.4.0/24 one one ether and 172.19.5.0/24 on another ether?

And if it is number 2 have you put both ether's in one bridge?

Re: Multiple Subnets

Posted: Fri Jul 25, 2014 6:47 pm
by EcoFreak
Yes they are on the same ether and I think that is due to that fact that I'm having some problems. It works, but it is slugish.
I can't set one subnet to one ether because the fixed IP addresses (subnet 172.19.5.0/24) are scattered around the office, like the printers, printer servers, access points, my pc :P and seeing I use the office's ethernet infrastructure I cannot set the subnet to specific ethernet's.
But if I change the netmask of the network I think I won't have that problem anymore.
Thanks, I'm going to try it :)

Re: Multiple Subnets

Posted: Fri Jul 25, 2014 10:31 pm
by Emile
You can test it with one printer that is on the 172.19.5.0/23 network and computer that is on the 172.19.4.0/23. Im 100 % sure it will wotk faster.

To change windows computer subnet from /24 to /23 you need to change 255.255.255.0 to 255.255.254.0