DHCP on multiple interfaces
-
@johnpoz Yes, so just thinking, if i have two such dhcp services running, will a personal device that connects to the wifi network get IP from second dhcp service that running on second interface. What changes need to be done to make that work.
-
Huh... You said these would be different networks..
Please do not trying and run multiple layer 3 networks on the same Layer 2 network... That is just borked and cause you all kinds of issues.. Especially if any of these devices need to talk to each other..
If this is a single layer 2 network.. Then you NEED to change its ip range so you can increase network size to be appropriate for number of devices.. /23 or /22 - I really wouldn't put more than say a /22 on the same network.. Especially if they are chatty little window boxes that love to send out craptons of broadcasts and multicast..
-
@johnpoz I understand.
By network I meant two different subnets -
That is implied its 2 different L2 networks.. You do not run multiple L3 networks on the same L2 - its BORKED!! especially with 2 different dhcp servers..
Do what I suggested and move the IP range to something new so you can use a /22 or /23 network if you need more IPs on the same network.
edit: Don't tell me the other networks you mention are all on the same L2??? That is why your not running dhcp on them???
-
@johnpoz Yes, I think that's the right approach. Thank you.
Like I said, we have an unused interface OPT1, so I can just disable DHCP on LAN and enable DHCP on OPT1. We do have around 10-15 static mappings which then need to add it to the new DHCP interface.
After that, we will work on organizing our entire networks in a more proper way as @JeGr suggested.
Thank you -
So this is just one big flat network with multiple layer 3 networks on it.. OMG.. what a cluster..
Do you have switches that support vlans? Do you have multiple switches?
If all you want is 1 big network, then do that - there is no reason to run multiple layer 3 networks if all you have is one L2.. You are not actually isolating anything from talking to each other if al your doing is using different IP schemes for different clients. So you might as well just put them on 1 network.
To properly segment clients, you need to do it at layer 2 first..