Dual dhcp on the same wireless network

freepbx
network
dhcp
v7

(Oladipo Segun) #1

Version 7.4 stable. I have a working installation of nethserver and it’s been running for some time. I have 3 lan cards designated as red green green. One of the green has an IP of 192.168.111.1 and the second one is 192.168.222.2. 111 is connected to my wireless while the 222 is for a cabled computer lab. I recently got a call to include the pbx function so that we can use it for our intercom. My problem is that I have already exhausted the 254 hosts allowed on the wireless so I wanted to merge the 2 networks on the switch so that I can use the 222 remaining IP’s to server the voip phones. My question is will it conflict with each other. N. B I have already restricted access with the IP reservation list. Please help


(fpausp) #2

Can you use another subnetmask, for example /23:

Address:   192.168.111.1         11000000.10101000.0110111 1.00000001
Netmask:   255.255.254.0 = 23    11111111.11111111.1111111 0.00000000
Wildcard:  0.0.1.255             00000000.00000000.0000000 1.11111111
=>
Network:   192.168.110.0/23      11000000.10101000.0110111 0.00000000 (Class C)
Broadcast: 192.168.111.255       11000000.10101000.0110111 1.11111111
HostMin:   192.168.110.1         11000000.10101000.0110111 0.00000001
HostMax:   192.168.111.254       11000000.10101000.0110111 1.11111110
Hosts/Net: 510                   (Private Internet)

(Oladipo Segun) #3

Thanks i read your reply and i will try to implement it as soon as possible but to understand you better, my network will now look like this
Network Card 1 192.168.111.1/24
Network Card 2 192.168.111.1/23


(fpausp) #4

The subnet-ranges must not overlapping !

Address: 192.168.111.1/23 = 510 Hosts
Address: 192.168.222.2/23 = 510 Hosts

In total 1020 Hosts…