router ospf 1什么意思 ospf process 1 with router id_OSPF

router ospf 1什么意思 ospf process 1 with router id_OSPF路由协议_02

router ospf 1什么意思 ospf process 1 with router id_OSPF_03

需求:

1)按拓扑中区域Area要求,在每台路由器启用OSPF,使得整个网络可以互连互通。

n进程号Process ID配置为每台设备的主机编号,如R1配置为router ospf 1.

n路由器ID请使用router-id手工指定,如R1为router-id 1.1.1.1.

n每台设备的router-id要求用network通告到OSPF中.

n请确保R1为Area0的指定路由器DR,R7为备份指定路由器BDR.

2)要求在R1看到22、33、55开头的路由条目各7条,请确路由类型都为O IA.

3)要示在R4上可以看到11、77开头的路由条目7条,请确路由类型都为O.

答案:

配置R1:
router ospf 1
router-id 1.1.1.1
network 1.1.1.1 0.0.0.0 area 0
network 11.1.0.0 0.0.7.255 area 0
network 147.1.1.0 0.0.0.255 area 0
network 12.1.1.0 0.0.0.255 area 12
配置R2:
router ospf 2
router-id 2.2.2.2
network 2.2.2.2 0.0.0.0 area 12
network 12.1.1.0 0.0.0.255 area 12
network 22.1.0.0 0.0.7.255 area 12
配置R3:
router ospf 3
router-id 3.3.3.3
network 3.3.3.3 0.0.0.0 area 73
network 33.1.0.0 0.0.7.255 area 73
network 73.1.1.0 0.0.0.255 area 73
network 133.1.0.0 0.0.7.255 area 133
配置R4:
router ospf 4
router-id 4.4.4.4
network 4.4.4.4 0.0.0.0 area 0
network 147.1.1.0 0.0.0.255 area 0
network 45.1.1.0 0.0.0.255 area 457
network 46.1.1.0 0.0.0.255 area 46

 

配置R5:
router ospf 5
router-id 5.5.5.5
network 5.5.5.5 0.0.0.0 area 457
network 45.1.1.0 0.0.0.255 area 457
network 55.1.0.0 0.0.7.255 area 457
network 75.1.1.0 0.0.0.255 area 457
配置R6:
router ospf 6
router-id 6.6.6.6
network 6.6.6.6 0.0.0.0 area 46
network 46.1.1.0 0.0.0.255 area 46
配置R7:
router ospf 7
router-id 7.7.7.7
network 7.7.7.7 0.0.0.0 area 0
network 77.1.0.0 0.0.7.255 area 0
network 147.1.1.0 0.0.0.255 area 0
network 73.1.1.0 0.0.0.255 area 73
network 75.1.1.0 0.0.0.255 area 457

 

 

router ospf 1什么意思 ospf process 1 with router id_OSPF路由协议_04

R2需求:1)在R2配置RIPv2,关闭自己汇总功能,参与RIPv2路由有122.1.16.2到122.1.31.2共16个子网.2)在R2上把RIP重发布到OSPF,要求metric-type为类型1,并在R1上确认已重发布.

答案:

配置R2:
router rip
version 2
network 122.0.0.0
 no auto-summary
router ospf 2
redistribute rip metric-type 1 subnets

R6需求:

1)在R6上把66.1.1.6到66.1.7.6共7个直连子网重发布到OSPF,要求metric-type为类型2,并在R4上确认.

答案:

配置R6:access-list 66 permit 66.1.0.0 0.0.7.255route-map redis-conn permit 10match ip address 66router ospf 6redistribute connected subnets route-map redis-conn

 

router ospf 1什么意思 ospf process 1 with router id_OSPF_05

需求1:1)配置ASBR R2的路由汇总功能,汇总type5的LSA产生的路由,并给这条汇总路由打上tag 12,并在R1上验证

答案:

router ospf 2router-id 2.2.2.2summary-address 122.1.16.0 255.255.240.0 tag 12

需求2:2)配置ASBR R6的路由汇总功能,汇总type5的LSA产生的路由,并给这条汇总路由打上tag 46,并在R4上验证

答 案:

配置R6:
router ospf 6
summary-address 66.1.0.0 255.255.248.0 tag 46

需求3

3)配置ABR R4、R7的路由汇总功能,汇总type3 的LSA产生的路由,使得以33和55开头的路由发送到Area0时只发只发送汇总路由,以11和77开头的路由发送到Area457和Area73时只发送汇总路由,并验证.


答案:


配置R4:
Router ospf 4
area 457 range 55.1.0.0 255.255.248.0
area 0 range 11.1.0.0 255.255.248.0
area 0 range 77.1.0.0 255.255.248.0

配置R7:

Router ospf 7
area 457 range 55.1.0.0 255.255.248.0
area 73 range 33.1.0.0 255.255.248.0
area 0 range 11.1.0.0 255.255.248.0
area 0 range 77.1.0.0 255.255.248.0

 4)配置ABR R1的路由汇总功能,汇总type3 的LSA产生的路由,使得以22开头的路由发送到Area0时只发只发送汇总路由, 并验证.

配置R1:
Router ospf 1
area 12 range 22.1.0.0 255.255.248.0

router ospf 1什么意思 ospf process 1 with router id_CCNP_06

需求:1)配置Area457作为Stub区域,其中R5从R4上只能接收默认路由,从R7上接收O IA的路由和默认路由,通过在R4或R7上调整默认路由的cost值,使得R5使用R4发送过来的默认路由到达ASBR外部网络或Internet,R5到达其它区域通过R7到达.答案:

配置R4:
Router ospf 4
area 457 stub no-summary


配置R5:


Router ospf 5
area 457 stub

配置R7:

Router ospf 7
area 457 stub
area 457 default-cost 10

需求:

2)配置Area12作为NSSA区域,使得R2只能通过R1发送的默认路由到达核心网络area0,且R2能正常重发布RIP的路由进OSPF,使得其它区域能够到达R2 ASBR外部的网络.

答案:

配置R1:
Router ospf 1
area 12 nssa no-summary
配置R2:
Router ospf 2
area 12 nssa

 

router ospf 1什么意思 ospf process 1 with router id_CCNP_07

需求:

1)在R3和R7上配置虚连接,使得Area133逻辑上连接到Area0,在R7上确认看到Area133上路由条目,并汇总这些路由条目.

答案:

配置R3:
Router ospf 3
area 73 virtual-link 7.7.7.7
area 133 range 133.1.0.0 255.255.248.0
area 73 range 33.1.0.0 255.255.248.0
配置R7:
Router ospf 7
area 73 virtual-link 3.3.3.3

 

router ospf 1什么意思 ospf process 1 with router id_router ospf 1什么意思_08

需求:

1)在R6上即使没有默认路由,也能通过OSPF动态分发默认路由到各区域的路由器,并确认是否分发成功.

答案:

配置R6:
Router ospf 6
default-information originate always

2)在R6上已经配置好了接口F0/0 IP地址为100.1.1.6作为Internet地址,确认每台路由器能访问这个IP地址.

答案:

在R1上测试:
R1# ping 100.1.1.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.1.1.6, timeout is 2 seconds:
!!!!!

在R3上测试:

R3# ping 100.1.1.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.1.1.6, timeout is 2 seconds:
!!!!!

 在R7上测试

R7# ping 100.1.1.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 100.1.1.6, timeout is 2 seconds:
!!!!!

router ospf 1什么意思 ospf process 1 with router id_OSPF_09

需求:1)链路验证:配置R4到R6之间的OSPF链路验证,验证模式为md5,key为cisco , 并确认是否验证成功.答案:

配置R4:
Interface serial 1/1
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
配置R6:
Interface serial 1/0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco

2)区域验证:配置R1,R4,R7的OSPF区域Area0验证,验证模式为md5,key为cisco ,并确认是否验证成功.

答案:

配置R1:
Router ospf 1
  area 0 authentication message-digest
Interface f0/0
ip ospf message-digest-key 1 md5 cisco

配置R4:
Router ospf 4
area 0 authentication message-digest
Interface f0/0
ip ospf message-digest-key 1 md5 cisco
配置R7:
Router ospf 7
area 0 authentication message-digest
Interface f0/0
ip ospf message-digest-key 1 md5 cisco

 

3)虚链路验证:配置R7和R3之间的虚链路验证,验证模式为md5,key为cisco , 并确认是否验证成功.

答案:

配置R7:
Router ospf 7
area 73 virtual-link 3.3.3.3 authentication message-digest
area 73 virtual-link 3.3.3.3 message-digest-key 1 md5 cisco
配置R3:
Router ospf 3
area 73 virtual-link 7.7.7.7 authentication message-digest
area 73 virtual-link 7.7.7.7 message-digest-key 1 md5 cisco

 

router ospf 1什么意思 ospf process 1 with router id_HCIP_10

1)调整R7到R5上的链路花费,确保R1到网络55.1.0.0/21只通过R7到达.配置R7:

interface Serial1/1
ip ospf cost 60