hi
![]()
are you askinf gor dhcp client or server ?
I assume you want to server dhcp.
First make sure the dhcp package is enabled in system>packages
Next you must add a pool with the following:
ip pool add name=pool1 ranges=10.0.0.2-10.0.0.254
Then configure the dhcp server with the interface you want(i will assume wlan1):
ip dhcp-server network add address=10.0.0.0/24 gateway=10.0.0.1 dns-server=x.x.x.x
ip dhcp-server add interface=wlan1 address-pool=pool1
ip dhcp-server enable 0
Assuming you have wlan1 set with a 10.0.0.1, all clients will be served addresses between 10.0.0.2 and 10.0.0.254.