A-A+

网络工程路由和交换技术的实验要求、拓扑图和具体的配置

2015年11月18日 站长资讯 暂无评论

近期完成的一个设计网络工程路由器和交换机技术的小实验。正所谓麻雀虽小五脏俱全,这个小实验还是设计到了RIP更新包、EIGRP的MD5认证、NSSA、ospf的A0认证等很多技术细节,下面就是实验要求、拓扑图和具体的配置:

1.实验要求:

1.每台路由器均有32位的换回口

2.只有R2和R5相连的两个接口可以收到rip更新包

3.eigrp做md5认证

4.ospf的A1是nssa区域(暂未)

5.ospf的A0做认证

6.R2的环回口分配到eigpr,R1和R4的换回口分别分配到相邻的area

7.最终保证每个路由器的换回口都能通信

2.实验相关重点:

EIGRP的md5认真

OSPF内做虚链路(virtual link)

协议间重分布

3.实验拓扑图

4.实验具体配置

  1. R1:  
  2.   
  3. R1#sh run    
  4. Building configuration...    
  5. Current configuration : 1336 bytes    
  6. !    
  7. version 12.4    
  8. service timestamps debug datetime msec    
  9. service timestamps log datetime msec    
  10. no service password-encryption    
  11. !    
  12. hostname R1    
  13. !    
  14. boot-start-marker    
  15. boot-end-marker    
  16. !    
  17. no aaa new-model    
  18. memory-size iomem 5    
  19. !    
  20. ip cef    
  21. no ip domain lookup    
  22. !    
  23. key chain peter    
  24.  key 0    
  25.   key-string peter    
  26. !    
  27. interface Loopback0    
  28.  ip address 1.1.1.1 255.255.255.255    
  29.  ip ospf 1 area 0    
  30. !    
  31. interface FastEthernet0/0    
  32.  ip address 192.168.124.1 255.255.255.0    
  33.  ip authentication mode eigrp 1 md5    
  34.  ip authentication key-chain eigrp 1 peter    
  35.  duplex auto    
  36.  speed auto    
  37. !    
  38. interface FastEthernet0/1    
  39.  ip address 192.168.13.1 255.255.255.0    
  40.  ip ospf 1 area 0    
  41.  duplex auto    
  42.  speed auto    
  43. !    
  44. interface Serial1/0    
  45.  no ip address    
  46.  shutdown    
  47.  serial restart-delay 0    
  48. !             
  49. interface Serial1/1    
  50.  no ip address    
  51.  shutdown    
  52.  serial restart-delay 0    
  53. !    
  54. interface Serial1/2    
  55.  no ip address    
  56.  shutdown    
  57.  serial restart-delay 0    
  58. !    
  59. interface Serial1/3    
  60.  no ip address    
  61.  shutdown    
  62.  serial restart-delay 0    
  63. !    
  64. router eigrp 1    
  65.  redistribute ospf 1 metric 100000 100 255 255 1500    
  66.  network 192.168.124.0    
  67.  no auto-summary    
  68. !    
  69. router ospf 1    
  70.  log-adjacency-changes    
  71.  redistribute eigrp 1 subnets    
  72. !    
  73. no ip http server    
  74. no ip http secure-server    
  75. !    
  76. control-plane    
  77. !    
  78. line con 0    
  79.  exec-timeout 0 0    
  80.  logging synchronous    
  81. line aux 0    
  82. line vty 0 4    
  83.  login    
  84. !    
  85. end   
  86.     
  87. R2:  
  88.   
  89. R2#sh run    
  90. Building configuration...    
  91. Current configuration : 1055 bytes    
  92. !    
  93. version 12.4    
  94. service timestamps debug datetime msec    
  95. service timestamps log datetime msec    
  96. no service password-encryption    
  97. !    
  98. hostname R2    
  99. !    
  100. boot-start-marker    
  101. boot-end-marker    
  102. !    
  103. no aaa new-model    
  104. memory-size iomem 5    
  105. !    
  106. ip cef    
  107. no ip domain lookup    
  108. !    
  109. key chain peter    
  110.  key 0    
  111.   key-string peter    
  112.    
  113. interface Loopback0    
  114.  ip address 2.2.2.2 255.255.255.255    
  115. !    
  116. interface FastEthernet0/0    
  117.  ip address 192.168.124.2 255.255.255.0    
  118.  ip authentication mode eigrp 1 md5    
  119.  ip authentication key-chain eigrp 1 peter    
  120.  duplex auto    
  121.  speed auto    
  122. !    
  123. interface FastEthernet0/1    
  124.  ip address 192.168.25.2 255.255.255.0    
  125.  duplex auto    
  126.  speed auto    
  127. !    
  128. router eigrp 1    
  129.  redistribute rip metric 100000 100 255 255 1500    
  130.  network 2.0.0.0    
  131.  network 192.168.124.0    
  132.  no auto-summary    
  133. !    
  134. router rip    
  135.  version 2    
  136.  redistribute eigrp 1 metric 3    
  137.  network 192.168.25.0    
  138.  no auto-summary    
  139. !    
  140. no ip http server    
  141. no ip http secure-server    
  142. control-plane    
  143. line con 0    
  144.  exec-timeout 0 0    
  145.  logging synchronous    
  146. line aux 0    
  147. line vty 0 4    
  148.  login    
  149. end   
  150.     
  151. R3:  
  152.   
  153. R3#sh run    
  154. Building configuration...    
  155.    
  156. Current configuration : 946 bytes    
  157. !    
  158. version 12.4    
  159. service timestamps debug datetime msec    
  160. service timestamps log datetime msec    
  161. no service password-encryption    
  162. !    
  163. hostname R3    
  164. !    
  165. boot-start-marker    
  166. boot-end-marker    
  167.    
  168. no aaa new-model    
  169. memory-size iomem 5    
  170. !    
  171. ip cef    
  172. no ip domain lookup    
  173.    
  174. interface Loopback0    
  175.  ip address 3.3.3.3 255.255.255.255    
  176.  ip ospf 1 area 2    
  177. !    
  178. interface FastEthernet0/0    
  179.  ip address 192.168.13.3 255.255.255.0    
  180.  ip ospf 1 area 0    
  181.  duplex auto    
  182.  speed auto    
  183. !    
  184. interface FastEthernet0/1    
  185.  ip address 192.168.34.3 255.255.255.0    
  186.  ip ospf 1 area 1    
  187.  duplex auto    
  188.  speed auto    
  189. !    
  190. interface FastEthernet1/0    
  191.  ip address 192.168.36.3 255.255.255.0    
  192.  ip ospf 1 area 2    
  193.  duplex auto    
  194.  speed auto    
  195. !    
  196. router ospf 1    
  197.  log-adjacency-changes    
  198.  area 2 virtual-link 6.6.6.6    
  199. !             
  200. no ip http server    
  201. no ip http secure-server    
  202.    
  203. control-plane    
  204.    
  205. line con 0    
  206.  exec-timeout 0 0    
  207.  logging synchronous    
  208. line aux 0    
  209. line vty 0 4    
  210.  login    
  211. !    
  212. end   
  213.     
  214. R4:  
  215.   
  216. R4#sh run    
  217. *Mar  1 01:41:41.923: %SYS-5-CONFIG_I: Configured from console by console    
  218. R4#sh run    
  219. Building configuration...    
  220.    
  221. Current configuration : 1254 bytes    
  222. !    
  223. version 12.4    
  224. service timestamps debug datetime msec    
  225. service timestamps log datetime msec    
  226. no service password-encryption    
  227. !    
  228. hostname R4    
  229. !    
  230. boot-start-marker    
  231. boot-end-marker    
  232.    
  233. no aaa new-model    
  234. memory-size iomem 5    
  235.    
  236. ip cef    
  237. no ip domain lookup    
  238.    
  239. key chain peter    
  240.  key 0    
  241.   key-string peter    
  242.    
  243. interface Loopback0    
  244.  ip address 4.4.4.4 255.255.255.255    
  245.  ip ospf 1 area 1    
  246. !    
  247. interface FastEthernet0/0    
  248.  ip address 192.168.124.4 255.255.255.0    
  249.  ip authentication mode eigrp 1 md5    
  250.  ip authentication key-chain eigrp 1 peter    
  251.  duplex auto    
  252.  speed auto    
  253. !    
  254. interface FastEthernet0/1    
  255.  ip address 192.168.34.4 255.255.255.0    
  256.  ip ospf 1 area 1    
  257.  duplex auto    
  258.  speed auto    
  259. !    
  260. interface Serial1/0    
  261.  no ip address    
  262.  shutdown    
  263.  serial restart-delay 0    
  264. !             
  265. interface Serial1/1    
  266.  no ip address    
  267.  shutdown    
  268.  serial restart-delay 0    
  269. !    
  270. interface Serial1/2    
  271.  no ip address    
  272.  shutdown    
  273.  serial restart-delay 0    
  274. !    
  275. interface Serial1/3    
  276.  no ip address    
  277.  shutdown    
  278.  serial restart-delay 0    
  279. !    
  280. router eigrp 1    
  281.  network 192.168.124.0    
  282.  no auto-summary    
  283. !    
  284. router ospf 1    
  285.  log-adjacency-changes    
  286. !    
  287. no ip http server    
  288. no ip http secure-server    
  289.    
  290. control-plane    
  291.    
  292. line con 0    
  293.  exec-timeout 0 0    
  294.  logging synchronous    
  295. line aux 0    
  296. line vty 0 4    
  297.  login    
  298. !    
  299. !    
  300. end   
  301.     
  302. R5:  
  303.   
  304. R5#sh run    
  305. Building configuration...    
  306.    
  307. Current configuration : 1064 bytes    
  308. !    
  309. version 12.4    
  310. service timestamps debug datetime msec    
  311. service timestamps log datetime msec    
  312. no service password-encryption    
  313. !    
  314. hostname R5    
  315. !    
  316. boot-start-marker    
  317. boot-end-marker    
  318. !    
  319. !    
  320. no aaa new-model    
  321. memory-size iomem 5    
  322. !    
  323. !    
  324. ip cef    
  325. no ip domain lookup    
  326.    
  327. interface Loopback0    
  328.  ip address 5.5.5.5 255.255.255.255    
  329. !             
  330. interface FastEthernet0/0    
  331.  ip address 192.168.25.5 255.255.255.0    
  332.  duplex auto    
  333.  speed auto    
  334. !    
  335. interface FastEthernet0/1    
  336.  no ip address    
  337.  shutdown    
  338.  duplex auto    
  339.  speed auto    
  340. !    
  341. interface Serial1/0    
  342.  no ip address    
  343.  shutdown    
  344.  serial restart-delay 0    
  345. !    
  346. interface Serial1/1    
  347.  no ip address    
  348.  shutdown    
  349.  serial restart-delay 0    
  350. !    
  351. interface Serial1/2    
  352.  no ip address    
  353.  shutdown    
  354.  serial restart-delay 0    
  355. !    
  356. interface Serial1/3    
  357.  no ip address    
  358.  shutdown    
  359.  serial restart-delay 0    
  360. !    
  361. router rip    
  362.  version 2    
  363.  network 5.0.0.0    
  364.  network 192.168.25.0    
  365.  no auto-summary    
  366. !    
  367. no ip http server    
  368. no ip http secure-server    
  369.    
  370. line con 0    
  371.  exec-timeout 0 0    
  372.  logging synchronous    
  373. line aux 0    
  374. line vty 0 4    
  375.  login    
  376. !    
  377. !    
  378. end   
  379.     
  380. R6:  
  381.   
  382. R6#sh run    
  383. Building configuration...    
  384.    
  385. Current configuration : 1088 bytes    
  386. !    
  387. version 12.4    
  388. service timestamps debug datetime msec    
  389. service timestamps log datetime msec    
  390. no service password-encryption    
  391. !    
  392. hostname R6    
  393. !    
  394. boot-start-marker    
  395. boot-end-marker    
  396. !    
  397. !    
  398. no aaa new-model    
  399. memory-size iomem 5    
  400. !    
  401. !    
  402. ip cef    
  403. no ip domain lookup    
  404.    
  405. interface Loopback0    
  406.  ip address 6.6.6.6 255.255.255.255    
  407.  ip ospf 1 area 3    
  408. !    
  409. interface FastEthernet0/0    
  410.  ip address 192.168.36.6 255.255.255.0    
  411.  ip ospf 1 area 2    
  412.  duplex auto    
  413.  speed auto    
  414. !    
  415. interface FastEthernet0/1    
  416.  no ip address    
  417.  shutdown    
  418.  duplex auto    
  419.  speed auto    
  420. !    
  421. interface Serial1/0    
  422.  no ip address    
  423.  shutdown    
  424.  serial restart-delay 0    
  425. !    
  426. interface Serial1/1    
  427.  no ip address    
  428.  shutdown    
  429.  serial restart-delay 0    
  430. !             
  431. interface Serial1/2    
  432.  no ip address    
  433.  shutdown    
  434.  serial restart-delay 0    
  435. !    
  436. interface Serial1/3    
  437.  no ip address    
  438.  shutdown    
  439.  serial restart-delay 0    
  440. !    
  441. router ospf 1    
  442.  log-adjacency-changes    
  443.  area 2 virtual-link 3.3.3.3    
  444. !    
  445. no ip http server    
  446. no ip http secure-server    
  447.    
  448. line con 0    
  449.  exec-timeout 0 0    
  450.  logging synchronous    
  451. line aux 0    
  452. line vty 0 4    
  453.  login    
  454. !    
  455. !    
  456. end   
标签:

给我留言