encapsulation
router1的配置:
router1#
interfacefastethernet0/0
ipaddress192.168.1.1255.255.255.0
interfaceserial1/0
encapsulationhdlc
ipaddress192.200.10.5255.255.255.252
routerrip
network192.168.1.0255.255.255.0
version2
redistributeospf
routerospf1
network192.200.10.4255.255.255.252area0
redistributerip
router2的配置:
router2#
interfacefastethernet0/0
ipaddress192.168.0.2255.255.255.0
interfaceserial1/0
ipaddress192.200.10.6255.255.255.252
encapsulationhdlc
iproute192.168.2.0255.255.255.0192.168.0.1
routerospf1
network192.200.10.4255.255.255.252area0
redistributestatic