402 CN4093 Application Guide for N/OS 8.4
IPaddressintheserverresponserepresentstheinterfa c eaddressontheswitch
thatreceivedtheclientrequest.Thisinterfaceaddresstellstheswitchonwhich
VLANtosendtheserverresponsetotheclient.
DHCP Relay Agent Configuration
ToenabletheCN4093tobetheBOOTPforwarder,youneedtoconfigurethe
DHCP/BOOTPserverIPaddressesontheswitch.Generally,youshouldconfigure
theswitchIPinterfaceontheclientsidetomatchtheclient’ssubnet,andconfigure
VLANstoseparateclientandserversubnets.TheDHCPserverknows
fromwhich
IPsubnetthenewlyallocatedIPaddressshouldcome.
ThefollowingfigureshowsabasicDHCPnetworkexample:
Figure 42. DHCPRelayAgentConfiguration
InCN4093implementation,thereisnoneedforprimaryorsecondaryservers.The
clientrequestisforwardedtotheBOOTPserversconfiguredontheswitch.Theuse
oftwoserversprovidefailoverredundancy.However,nohealthcheckingis
supported.
UsethefollowingcommandstoconfiguretheswitchasaDHCPrelayagent:
Additionally,DHCPRelayfunctionalitycanbeassignedonaperinterfacebasis.
UsethefollowingcommandtoenabletheRelayfunctionality:
CN 4093(config)# ip bootp-relay server 1 <IPaddress>
CN 4093(config)# ip bootp-relay server 2 <IPaddress>
CN 4093(config)# ip bootp-relay server 3 <IPaddress>
CN 4093(config)# ip bootp-relay server 4 <IPaddress>
CN 4093(config)# ip bootp-relay server 5 <IPaddress>
CN 4093(config)# ip bootp-relay enable
CN 4093(config)# show ip bootp-relay
CN 4093(config)# interface ip <Interfacenumber>
CN 4093(config-ip-if)# relay
DHCP
Server
DHCP Client
Boston
20.1.1.1
GbESM