Users Guide

!
interface ethernet1/1/2
no shutdown
no switchport
ip address 100.1.1.1/24
flowcontrol receive off
OS10# show running-configuration ip dhcp
!
ip dhcp server
no disable
!
pool host1
host 100.1.1.34
hardware-address 00:0c:29:ee:4c:f4
!
pool hostnetwork
lease infinite
network 100.1.1.0/24
!
pool host2
host 20.1.1.34
hardware-address 00:0c:29:aa:22:f4
View DHCP Information
Use the show ip dhcp binding command to view the DHCP binding table entries.
OS10# show ip dhcp binding
IP Address Hardware address Lease expiration Hostname
+--------------------------------------------------------------------------
11.1.1.254 00:00:12:12:12:12 Jan 27 2016 06:23:45
Total Number of Entries in the Table = 1
DHCP relay agent
A DHCP relay agent relays DHCP messages to and from a remote DHCP server, even if the client and server are on different IP
networks. You can configure the IP address of the remote DHCP server.
You can configure a device either as a DHCP server or a DHCP relay agent but not both.
If routes are not leaked between VRFs, the DHCP relay agent supports multi-virtual routing and forwarding (VRF) instances.
The client-facing and server-facing interfaces must be in the same VRF.
NOTE: DHCP relay implementation supports IPv4 and IPv6 addresses.
Intermediate switch deployed between DHCPv6 client and the DHCPv6 relay
agent
If your deployment includes an intermediate switch between the DHCP client and the DHCP relay agent, messages from the
client might not reach the server.
In this example, the client sends a request for an IPv6 address to the DHCP server. The request is sent through the L2 switch,
the Relay Agent, and then to the DHCP server. The server processes the request.
System management
281