DHCP Relay Agent Configuration
402
CN4093 Application Guide for N/OS 8.4
IP address in the server response represents the interface address on the switch
that received the client request. This interface address tells the switch on which
VLAN to send the server response to the client.
To enable the CN4093 to be the BOOTP forwarder, you need to configure the
DHCP/BOOTP server IP addresses on the switch. Generally, you should configure
the switch IP interface on the client side to match the client's subnet, and configure
VLANs to separate client and server subnets. The DHCP server knows from which
IP subnet the newly allocated IP address should come.
The following figure shows a basic DHCP network example:
Figure 42. DHCP Relay Agent Configuration
Boston
DHCP Client
In CN4093 implementation, there is no need for primary or secondary servers. The
client request is forwarded to the BOOTP servers configured on the switch. The use
of two servers provide failover redundancy. However, no health checking is
supported.
Use the following commands to configure the switch as a DHCP relay agent:
CN 4093(config)# ip bootp-relay server 1 <IP address>
CN 4093(config)# ip bootp-relay server 2 <IP address>
CN 4093(config)# ip bootp-relay server 3 <IP address>
CN 4093(config)# ip bootp-relay server 4 <IP address>
CN 4093(config)# ip bootp-relay server 5 <IP address>
CN 4093(config)# ip bootp-relay enable
CN 4093(config)# show ip bootp-relay
Additionally, DHCP Relay functionality can be assigned on a per interface basis.
Use the following command to enable the Relay functionality:
CN 4093(config)# interface ip <Interface number>
CN 4093(config-ip-if)# relay
GbESM
20.1.1.1
DHCP
Server