Skip to content

DHCP

DHCP gives endpoints addresses and default gateway information in labs. netverdict models DHCPv4 server/client/relay behaviour and a smaller DHCPv6 surface for IPv6 scenarios.

AreaLevelNotes
DHCPv4 serverSupportedPools, exclusions, default-router, DNS options, lease allocation.
DHCPv4 clientSupportedClient requests address and installs received configuration.
DHCP relaySupportedHelper-address style relay behaviour.
DHCP snooping integrationBehaviour modelACKs can populate snooping bindings.
DHCPv6Behaviour modelIPv6 lease/config solver and CLI surface.
StandardCoverageNotes
RFC 2131Behaviour modelDHCPv4 DORA lease semantics.
RFC 8415PartialDHCPv6 concepts for supported scenarios.
FeatureStatusNotes
Address poolsSupportedNetwork, range/exclusions, default router.
Option DNSSupportedDNS server option.
Lease tableSupportedActive bindings.
Client default routeSupportedInstalls route from default-router option.
Relay/helper addressSupportedForwards client requests to server.
Snooping bindingSupportedTrusted ACKs create L2 security bindings.
DHCPv6 poolPartialSupported subset.
CommandIOS-styleJunos-styleVyOS-styleNotes
ip dhcp pool USERSSupportedn/aPartialPool definition.
network 10.0.10.0 255.255.255.0Supportedn/aPartialPool network.
default-router 10.0.10.1Supportedn/aPartialGateway option.
ip helper-address 10.0.0.10Supportedn/aPartialRelay.
ip address dhcpSupportedn/aPartialClient mode.
show ip dhcp bindingSupportedPartialPartialLease table.

DHCP exchange is modelled as deterministic events. A client lease is stable for the same topology and pool state, which keeps labs replayable.

Canonical example
configure terminal
ip dhcp excluded-address 10.0.10.1 10.0.10.20
ip dhcp pool USERS
network 10.0.10.0 255.255.255.0
default-router 10.0.10.1
dns-server 192.0.2.53
interface GigabitEthernet0/1
ip address dhcp
end
show ip dhcp binding

Vendor styles

IOS-style
ip dhcp pool USERS
network 10.0.10.0 255.255.255.0
default-router 10.0.10.1
dns-server 192.0.2.53
interface GigabitEthernet0/1
ip address dhcp
Junos-style
set system services dhcp-local-server group USERS interface ge-0/0/1.0
set access address-assignment pool USERS family inet network 10.0.10.0/24
set access address-assignment pool USERS family inet dhcp-attributes router 10.0.10.1
VyOS-style
set service dhcp-server shared-network-name USERS subnet 10.0.10.0/24 option default-router 10.0.10.1
set service dhcp-server shared-network-name USERS subnet 10.0.10.0/24 range 0 start 10.0.10.100
set service dhcp-server shared-network-name USERS subnet 10.0.10.0/24 range 0 stop 10.0.10.200

Option overload, vendor-specific options, failover pairs, DHCP authentication, full DHCPv6 IA state, and lease-renewal races are not modelled in depth.