Chapter6NetworkProtocolConguration
ConfiguringIPAddress
TocongureIPaddress,performthefollowingsteps.
Step
CommandFunction
1
ZXR10(config)#interface<interface-name>Thisentersinterface
congurationmode
2
ZXR10(config-if)#ipaddress<ip-address><net-mask
>[<broadcast-address>][secondary]
ThissetsinterfaceIPaddress
3
ZXR10(config)#showipinterfaceThisviewsinterfaceIP
address
IPAddressConfigurationExample
AssumingthatLayer3interfaceVLAN1iscreatedinZXR10
8900seriesswitch,conguretheIPaddressoftheinterfaceto
192.168.3.1,andmasktobe255.255.255.0.Theconguration
isshownbelow.
ZXR10(config)#interfacevlan1
ZXR10(config-if)#ipaddress192.168.3.1255.255.255.0
ARPConfiguration
ARPOverview
AnetworkdeviceshouldknowtheIPaddressofthedestination
deviceanditsphysicaladdress(MACaddress)whentransmitting
datatoanothernetworkdevice.ThefunctionofAddressResolu-
tionProtocol(ARP)ismappingIPaddresstophysicaladdressto
ensuresuccessfulcommunication.
First,thesourcedevicebroadcastcarriestheARPrequestofdesti-
nationdeviceIPaddress,soalldevicesinthenetworkwillreceive
thisARPrequest.IfadevicendsthattheIPaddressinthere-
questanditsownIPaddressmatch,itwilltransmitaresponse
containingMACaddresstosourcedevice.Thesourcedeviceob-
tainstheMACaddressofthecurrentdevicethroughthisresponse.
ThemappingrelationshipbetweenIPaddressandMACaddress
iscachedinthelocalARPtablewiththepurposeofreducingARP
packetsinthenetworktotransmitdatamorerapid.Whenthe
deviceneedstotransmitdata,itwillsearchARPtableaccording
toIPaddress,ifMACaddressofdestinationdeviceisfoundin
theARPtable,transmittingARPrequestisnotneeded.Dynamic
CondentialandProprietaryInformationofZTECORPORATION61