作业帮 > 综合 > 作业

encapsulation

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/03 19:17:42
encapsulation
router1的配置:
router1#
interface fastethernet 0/0
ip address 192.168.1.1 255.255.255.0
interface serial 1/0
encapsulation hdlc
ip address 192.200.10.5 255.255.255.252
router rip
network 192.168.1.0 255.255.255.0
version 2
redistribute ospf
router ospf 1
network 192.200.10.4 255.255.255.252 area 0
redistribute rip
router2的配置:
router2#
interface fastethernet 0/0
ip address 192.168.0.2 255.255.255.0
interface serial 1/0
ip address 192.200.10.6 255.255.255.252
encapsulation hdlc
ip route 192.168.2.0 255.255.255.0 192.168.0.1
router ospf 1
network 192.200.10.4 255.255.255.252 area 0
redistribute static
encapsulation hdlc
是默认配置,串口 默认采用HDLC封装的哦