lab topology

pc1 -- deltaos

deltaos
    ge0: 10.0.1.1

pc1
    eth0: dhcp client

lab configuration

running deltaos, see How to run deltaos

check current configuration

# show running-config

# DELTAOS CONFIG VERSION: 0

interface ge 0
  no ip address
  shutdown

interface ge 1
  no ip address
  shutdown

line console

line serial

line vty
  no login
  transport input none

end

configure the static ip

# conf t
(config)# int ge0
(config-if)# ip address 10.0.1.1 255.255.255.0
(config-if)# no shutdown
(config-if)# end
#

enable dhcp

# conf t
(config)# ip dhcp pool pool1
(dhcp-config)# network 10.0.1.0 255.255.255.0
(dhcp-config)# default-router 10.0.1.1
(dhcp-config)# dns-server 8.8.8.8 9.9.9.9
(dhcp-config)# end
#

configure dhcp client on pc1

# nmcli conn add con-name eth0_dhcp type ethernet connection.interface-name eth0 ipv4.method auto
# nmcli conn up
# wait a second

# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.1.2  netmask 255.255.255.0  broadcast 10.0.1.255
        inet6 fe80::7b03:419f:8835:db90  prefixlen 64  scopeid 0x20<link>
        ether 52:54:00:65:cb:d1  txqueuelen 1000  (Ethernet)
        RX packets 952472  bytes 1424097414 (1.3 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 448734  bytes 54807822 (52.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

# ip route
default via 10.0.1.1 dev eth0 proto dhcp src 10.0.1.2 metric 106
10.0.1.0/24 dev eth0 proto kernel scope link src 10.0.1.2 metric 106

# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 9.9.9.9

check dhcp bindings on deltaos

# show ip dhcp binding
10.0.1.2 52:54:00:65:cb:d1 86339