How to set dhcp server

I am trying to set dhcp server
installed tftp,xinetd,vsftp,dhcp,telnet services
Added dhcpd.conf at /etc/dhcp/dhcpd.conf
Edited /etc/xinetd.d and xinetd.conf to listen=yes for ipv4
Now when i start lpar install, ping test to this server is pass but after block size the packet count is not getting started :disappointed:
at dhcp server i see following messages

Apr  8 07:58:50 abc2 xinetd[189666]: START: tftp pid=201483 from=10.33.13.91 
Apr  8 07:58:50 abc2 xinetd[189666]: EXIT: tftp status=64 pid=201483 duration=0(sec) 
Apr  8 07:58:54 abc2 dhcpd[201274]: DHCPDISCOVER from ma:ca:dd:re:ss via en0: network vlan1130: no free leases 
Apr  8 07:59:08 abc2 dhcpd[201274]: DHCPREQUEST for 192.111.111.112 from ma:ca:dd:re:ss via en0: ignored (not authoritative). 
Apr  8 07:59:10 abc2 dhcpd[201274]: DHCPDISCOVER from ma:ca:dd:re:ss via enP49165p1s0: network vlan1130: no free leases 

Hi @Priya_Amaresh,

Please confirm the OS and version that you're working on, it seems like AIX. I don't know that it matters, but good to be clear.

The biggest thing that I see is the no free leases message from dhcpd for ma:ca:dd:re:ss.

Please share your dhcpd.conf file contents.

How many systems are on the network? Are there more systems than the number of IPs in the DHCP pool?

The DHCP server and clients must be in same network segment.

From what i see your current DHCP is on network 10.33.13.X, while offering 192.111.111.x
Is this true ?

This can be alleviated by either

  1. Adding multiple interfaces (vlan tagged) to DHCP server and serving pools per network/interface.
  2. Introduce DHCP relay on your network gear.
  3. Encapsulation using VXLAN/GENEVE or VPN such as wireguard, effectively making one L2 network out of many IP networks - this one is a probably an overhead for your use case :slight_smile:

Regards
Peasant.