This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP not working

Hello Everyone, Please my dhcp is not leasing IPs after 120 nodes connects to the network.

10.X.X.X and subnet 255.255.252.0.

 

 



This thread was automatically locked due to age.
Parents Reply Children
  • What is your goal in having /22 instead of /24?  Do you need the additional subnets?  /24 will provide 256 addresses, minus the start point of 20 so 236 I believe.  

     

    I only ask because I am curious but does the interface and zone match this?   In terms of subnetting?

  • Thanks for the reply and answers , well I am guessing /22 gives me more address which is 10.16.20.0 to .23.0 than /24 which will be 10.16.20.0 to .20.255. Correct me if am wrong please and again could that be the problem why it’s not leasing IPs ??

    I can change it back to /24 if u think that wud solve the problem.

  • /22 will give you additional subnets were /24 will keep all leases on the same subnet.  I bring this up because on your screen shot it shows port 1 for interface, which is set to 10.16.20.1.  I would check that the interface port under networking ---> interfaces is also set to 10.16.20.1/22 or /24 or whatever subnetting you are trying to achieve.  Basically the interface has to support the same IP's as the DHCP.  But if I were you I would make it as simple to work through as possible and for now stick with /24, get the 230 devices working and if you need more go from there.

     

    Also you can read here: 

     

    https://community.sophos.com/kb/en-us/123133

     

  • Thanks so much Boss, will check it out and update u by tomorrow since am done for the Day. Take care

  • Hi,

     

    So i checked the interface.

  • Hello, Please when i changed it is still wont give out IPs, clients cant connect to the APs alright but no valid IP giving.

  • Hi elmooo,

    I would recommend to check if the DHCP request is initiated and responded by XG. Please take a packet capture on the host mac address, you use CLI and go to option 4 and enter the command with the command shown below.

    tcpdump host aa:bb:cc:11:22:33
  • I am confused on that one, how are they able to connect without getting a valid IP?  Or are you just seeing duplicate IP's? Another thing to try, can you give one a static IP past the 120 IP addresses you are currently seeing.  i.e. if you can only get IP's now from 10.10.10.1 to 10.10.10.120 can you assign one with 10.10.10.125 and will it work?  Just trying to think of other clues that might be there.

  • Thanks Man for your help so far but a colleague had mounted some ubiquiti APs on the network which i think he left the dhcp on. So

    it kinda look like we have two DHCPs so since the 192. network has no internet config when a user gets that ip he/she turns not

    to connect to the internet.

     

    so am still working to see which one.

     

    Thanks