How-To: Configure DHCP Pools through Command Line (udm)

Howto: Configure DHCP pools through command Line (udm)

Prerequisites

You already have DHCP basic settings configured (network, server).

Configure pool through udm

Log in to the console as ssh client and do:

root@ucs:~# udm dhcp/pool create --position "cn=10.42.43.0,cn=multi.ucs,cn=UCS,o=Multi,c=de" \
  --set name="pool-a" \
  --set dynamic_bootp_clients="deny" \
  --set failover_peer="back-failover" \
  --set known_clients="allow" \
  --set range="10.42.63.1 10.42.63.100" \
  --set unknown_clients="allow"

This creates the pool. Change above example values accordingly for your needs.

Mastodon