Specifications

ip helper-address
15-18 IP Configuration
ip helper-address
UsethiscommandtoenableDHCP/BOOTPrelayandtheforwardingoflocalUDPbroadcasts
specifyinganewdestinationaddressonaroutinginterface.Upto3IPhelperaddressesmaybe
configuredperinterface.
Thenoformofthiscomm anddisablestheforwardingofUDPdatagramstothespecifiedaddress.
Syntax
ip helper-address address
no ip helper-address address
Parameters
Defaults
None.
Mode
Interfaceconfiguration:C3(su)>Router1(Configif(Vlan1))#
Usage
About DHCP/BOOTP Relay
DHCP/BOOTPrelayfunctionalityisappliedwiththehelpofIPbroadcastforwarding.Atypical
situationoccurswhenahostrequestsanIPaddresswithnoDHCPserverlocat e donthatsegment.
AroutercanforwardtheDHCPrequesttoaserverlocatedonanothernetworkiftheaddressof
theDHCP
serverisconfiguredasahelperaddressonthereceivinginterfaceoftherouter
forwardingtherequest,usingthiscommand(iphelperaddress).
TheDHCP/BOOTPrelayfunctionwilldetecttheDHCPrequestandmakethenecessarychanges
totheheader,replacingthedestinationaddresswiththeaddressofthe
server,andthesourcewith
itsownaddress,andsendittotheserver.Whentheresponsecomesfromtheserver,theDHCP/
BOOTPrelayfunctionsendsittothehost.
Example
ThisexampleshowshowtoforwardDHCP/BOOTPbroadcaststoaDHCP/BOOTPserverwithan
IPaddressof191.168.1.23onVLAN1:
C3(su)->router(Config)#interface vlan 1
C3(su)->router(Config-if(Vlan 1))#ip helper-address 192.168.1.28
address AddressofthehostwhereUDPbroadcastpacketsshouldbeforwarded.