Description

SSR can be configured to provide IP via DHCP to the LAN clients. This article explains method to obtain DHCP and Its lease information.

Solution

When SSR is configured with DHCP server as a host service for one of the interface as mentioned in the document https://docs.128technology.com/docs/config_dhcp/#basic-configuration


The DHCP and its lease information can be obtained from PCLI , the output looks like bleow


```

[email protected]# show network-interface application name LAN1

Mon 2023-06-10 21:07:12 UTC

✔ Retrieving network-interface application data...


 Interface:                  node1.128-br1:LAN1

 dhcp-server:

   kea-service-target-status:

    active since Thu 2023-03-28 13:28:32 UTC

   kea-status:

    active (running/success) since Thu 2023-03-28 13:28:32 UTC

   kea-ctrl-status:

    active (running/success) since Thu 2023-03-28 13:28:32 UTC

   metrics:

     declined-addresses:          0

     pkt4-ack-sent:            15082

     pkt4-discover-received:        5166

     pkt4-inform-received:         7743

     pkt4-nak-sent:            3

     pkt4-offer-sent:           5166

     pkt4-receive-drop:          1895

     pkt4-received:            22152

     pkt4-release-received:        2

     pkt4-request-received:        9241

     pkt4-sent:              20251

     reclaimed-declined-addresses:     0

     reclaimed-leases:           26

     subnet[1].assigned-addresses:     3

     subnet[1].declined-addresses:     0

     subnet[1].reclaimed-declined-addresses:0

     subnet[1].reclaimed-leases:      26

     subnet[1].total-addresses:      128

   subnets:

      current-lease-count:        3

      current-leases:

        lease:

         client-last-transaction-time: 2024-05-01 17:06:40

         hostname:           host1.labs.local

         hw-address:         52:54:00:86:6a:ea

         ip-address:          10.10.10.147

         valid-lifetime:        86400

        lease:

         client-last-transaction-time: 2024-05-01 17:07:05

         hostname:           host2.labs.local

         hw-address:         52:54:00:86:6a:d3

         ip-address:          10.10.10.148

         valid-lifetime:        86400

        lease:

         client-last-transaction-time: 2024-05-01 17:06:41

         hostname:           host3.labs.local

         hw-address:          52:54:00:86:6a:98

         ip-address:          10.10.10.149

         valid-lifetime:        86400

      subnet:               10.10.10.1/24

   ha-heartbeat:

    role:                  primary

    state:                 standalone


```




Modification History

2024-06-10 : Article Created