. .
二、配置NSSA区域 R3上面的配置信息: [R3]dis cur # version 5.20, Release 1808, Standard # interface Ethernet0/0 port link-mode route ip address 20.0.0.2 255.255.255.0 # interface Ethernet0/1 port link-mode route ip address 30.0.0.1 255.255.255.0 # interface Serial1/0 link-protocol ppp # interface Serial2/0 link-protocol ppp # interface NULL0 # interface LoopBack0 ip address 3.3.3.3 255.255.255.255 # ospf 1 router-id 3.3.3.3 area 0.0.0.0 network 20.0.0.0 0.0.0.255 network 3.3.3.0 0.0.0.255 area 0.0.0.2 network 30.0.0.0 0.0.0.255 nssa default-route-advertise # return [R3] R4上面的配置信息: [R4]dis cur # interface Ethernet0/0.1 vlan-type dot1q vid 1 ip address 202.168.4.1 255.255.255.0 # . . .
. .
interface Ethernet0/0.2 vlan-type dot1q vid 2 ip address 202.168.5.1 255.255.255.0 # interface Ethernet0/0.3 vlan-type dot1q vid 3 ip address 202.168.6.1 255.255.255.0 # interface Ethernet0/0.4 vlan-type dot1q vid 4 ip address 202.168.7.1 255.255.255.0 # interface Ethernet0/1 port link-mode route ip address 30.0.0.2 255.255.255.0 # interface Serial1/0 link-protocol ppp # interface Serial2/0 link-protocol ppp # interface NULL0 # interface LoopBack0 ip address 4.4.4.4 255.255.255.255 # ospf 1 router-id 4.4.4.4 import-route direct area 0.0.0.2 network 30.0.0.0 0.0.0.255 network 4.4.4.0 0.0.0.255 nssa # return [R4] R4上面的特殊区域LSDB链路状态数据库 . . .
. .
图2.1 R4上面的LSDB表 图2.2 R4的路由信息 . . .
. .
总结: 通过这次实验,我发现问题不仅仅是从书本上获得的,更多的问题是在做实验的过程中,反反复复实验后,才发现的。同时,在对实验代码配置中的顺序问题,也是一个深刻的教训,以后得记住。 上机成绩、评语
指导教师签名 批改日期 . . .