Chapter2RIPConguration
showCommandOutputDescription
interfaceLearnaninterfacefromtheneighbor
2.4RIPCongurationExample
CongurationDescription
SincetherealizingprincipleandcongurationofRIPareverysimple,itismainlyusedto
somesimplenetworks.AsshowninFigure2-1,RIPrunonbothofS1andS2.
Figure2-1RIPCongurationExampleTopology
CongurationThought
1.CongureinterfaceIPaddresses.
2.CongureRIP .
3.EnableRIPcongurationsoninterfaces.
4.TestcongurationresulttomakesurethatneighborhoodisestablishedbetweenS1
andS2.S1andS2canlearntheroutesadvertisedbythepeerbetweeneachother.
CongurationProcess
CongurationonS1:
S1(config)#interfacevlan10
S1(config-if)#ipaddress192.168.1.1255.255.255.0
S1(config-if)#exit
S1(config)#interfacevlan20
S1(config-if)#ipaddress10.1.0.1255.255.0.0
S1(config-if)#exit
S1(config)#routerrip
S1(config-rip)#network192.168.1.10.0.0.255
S1(config-rip)#network10.1.0.10.0.255.255
S1(config-rip)#exit
CongurationonS2:
S2(config)#interfacevlan10
S2(config-if)#ipaddress192.168.1.2255.255.255.0
S2(config-if)#exit
S2(config)#interfacevlan20
2-13
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential