ROS软路由论坛 ROSABC.com 网络方案网络工程交流

 找回密码
 会员注册

QQ登录

只需一步,快速开始

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

2014-10-3 19:11| 发布者: admin| 查看: 1051| 评论: 0

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

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

1.实验要求:

  1. 1.每台路由器均有32位的换回口  
  2. 2.只有R2和R5相连的两个接口可以收到rip更新包  
  3. 3.eigrp做md5认证  
  4. 4.ospf的A1是nssa区域(暂未)  
  5. 5.ospf的A0做认证  
  6. 6.R2的环回口分配到eigpr,R1和R4的换回口分别分配到相邻的area  
  7. 7.最终保证每个路由器的换回口都能通信 

2.实验相关重点:

EIGRP的md5认真

OSPF内做虚链路(virtual link)

协议间重分布

3.实验拓扑图

 

4.实验具体配置

R1:

  1. R1#sh run  
  2. Building configuration...  
  3. Current configuration : 1336 bytes  
  4. !  
  5. version 12.4  
  6. service timestamps debug datetime msec  
  7. service timestamps log datetime msec  
  8. no service password-encryption  
  9. !  
  10. hostname R1  
  11. !  
  12. boot-start-marker  
  13. boot-end-marker  
  14. !  
  15. no aaa new-model  
  16. memory-size iomem 5  
  17. !  
  18. ip cef  
  19. no ip domain lookup  
  20. !  
  21. key chain peter  
  22.  key 0  
  23.   key-string peter  
  24. !  
  25. interface Loopback0  
  26.  ip address 1.1.1.1 255.255.255.255  
  27.  ip ospf 1 area 0  
  28. !  
  29. interface FastEthernet0/0  
  30.  ip address 192.168.124.1 255.255.255.0  
  31.  ip authentication mode eigrp 1 md5  
  32.  ip authentication key-chain eigrp 1 peter  
  33.  duplex auto  
  34.  speed auto  
  35. !  
  36. interface FastEthernet0/1  
  37.  ip address 192.168.13.1 255.255.255.0  
  38.  ip ospf 1 area 0  
  39.  duplex auto  
  40.  speed auto  
  41. !  
  42. interface Serial1/0  
  43.  no ip address  
  44.  shutdown  
  45.  serial restart-delay 0  
  46. !           
  47. interface Serial1/1  
  48.  no ip address  
  49.  shutdown  
  50.  serial restart-delay 0  
  51. !  
  52. interface Serial1/2  
  53.  no ip address  
  54.  shutdown  
  55.  serial restart-delay 0  
  56. !  
  57. interface Serial1/3  
  58.  no ip address  
  59.  shutdown  
  60.  serial restart-delay 0  
  61. !  
  62. router eigrp 1  
  63.  redistribute ospf 1 metric 100000 100 255 255 1500  
  64.  network 192.168.124.0  
  65.  no auto-summary  
  66. !  
  67. router ospf 1  
  68.  log-adjacency-changes  
  69.  redistribute eigrp 1 subnets  
  70. !  
  71. no ip http server  
  72. no ip http secure-server  
  73. !  
  74. control-plane  
  75. !  
  76. line con 0  
  77.  exec-timeout 0 0  
  78.  logging synchronous  
  79. line aux 0  
  80. line vty 0 4  
  81.  login  
  82. !  
  83. end 

R2:

  1. R2#sh run  
  2. Building configuration...  
  3. Current configuration : 1055 bytes  
  4. !  
  5. version 12.4  
  6. service timestamps debug datetime msec  
  7. service timestamps log datetime msec  
  8. no service password-encryption  
  9. !  
  10. hostname R2  
  11. !  
  12. boot-start-marker  
  13. boot-end-marker  
  14. !  
  15. no aaa new-model  
  16. memory-size iomem 5  
  17. !  
  18. ip cef  
  19. no ip domain lookup  
  20. !  
  21. key chain peter  
  22.  key 0  
  23.   key-string peter  
  24.  
  25. interface Loopback0  
  26.  ip address 2.2.2.2 255.255.255.255  
  27. !  
  28. interface FastEthernet0/0  
  29.  ip address 192.168.124.2 255.255.255.0  
  30.  ip authentication mode eigrp 1 md5  
  31.  ip authentication key-chain eigrp 1 peter  
  32.  duplex auto  
  33.  speed auto  
  34. !  
  35. interface FastEthernet0/1  
  36.  ip address 192.168.25.2 255.255.255.0  
  37.  duplex auto  
  38.  speed auto  
  39. !  
  40. router eigrp 1  
  41.  redistribute rip metric 100000 100 255 255 1500  
  42.  network 2.0.0.0  
  43.  network 192.168.124.0  
  44.  no auto-summary  
  45. !  
  46. router rip  
  47.  version 2  
  48.  redistribute eigrp 1 metric 3  
  49.  network 192.168.25.0  
  50.  no auto-summary  
  51. !  
  52. no ip http server  
  53. no ip http secure-server  
  54. control-plane  
  55. line con 0  
  56.  exec-timeout 0 0  
  57.  logging synchronous  
  58. line aux 0  
  59. line vty 0 4  
  60.  login  
  61. end 

R3:

  1. R3#sh run  
  2. Building configuration...  
  3.  
  4. Current configuration : 946 bytes  
  5. !  
  6. version 12.4  
  7. service timestamps debug datetime msec  
  8. service timestamps log datetime msec  
  9. no service password-encryption  
  10. !  
  11. hostname R3  
  12. !  
  13. boot-start-marker  
  14. boot-end-marker  
  15.  
  16. no aaa new-model  
  17. memory-size iomem 5  
  18. !  
  19. ip cef  
  20. no ip domain lookup  
  21.  
  22. interface Loopback0  
  23.  ip address 3.3.3.3 255.255.255.255  
  24.  ip ospf 1 area 2  
  25. !  
  26. interface FastEthernet0/0  
  27.  ip address 192.168.13.3 255.255.255.0  
  28.  ip ospf 1 area 0  
  29.  duplex auto  
  30.  speed auto  
  31. !  
  32. interface FastEthernet0/1  
  33.  ip address 192.168.34.3 255.255.255.0  
  34.  ip ospf 1 area 1  
  35.  duplex auto  
  36.  speed auto  
  37. !  
  38. interface FastEthernet1/0  
  39.  ip address 192.168.36.3 255.255.255.0  
  40.  ip ospf 1 area 2  
  41.  duplex auto  
  42.  speed auto  
  43. !  
  44. router ospf 1  
  45.  log-adjacency-changes  
  46.  area 2 virtual-link 6.6.6.6  
  47. !           
  48. no ip http server  
  49. no ip http secure-server  
  50.  
  51. control-plane  
  52.  
  53. line con 0  
  54.  exec-timeout 0 0  
  55.  logging synchronous  
  56. line aux 0  
  57. line vty 0 4  
  58.  login  
  59. !  
  60. end 

R4:

  1. R4#sh run  
  2. *Mar  1 01:41:41.923: %SYS-5-CONFIG_I: Configured from console by console  
  3. R4#sh run  
  4. Building configuration...  
  5.  
  6. Current configuration : 1254 bytes  
  7. !  
  8. version 12.4  
  9. service timestamps debug datetime msec  
  10. service timestamps log datetime msec  
  11. no service password-encryption  
  12. !  
  13. hostname R4  
  14. !  
  15. boot-start-marker  
  16. boot-end-marker  
  17.  
  18. no aaa new-model  
  19. memory-size iomem 5  
  20.  
  21. ip cef  
  22. no ip domain lookup  
  23.  
  24. key chain peter  
  25.  key 0  
  26.   key-string peter  
  27.  
  28. interface Loopback0  
  29.  ip address 4.4.4.4 255.255.255.255  
  30.  ip ospf 1 area 1  
  31. !  
  32. interface FastEthernet0/0  
  33.  ip address 192.168.124.4 255.255.255.0  
  34.  ip authentication mode eigrp 1 md5  
  35.  ip authentication key-chain eigrp 1 peter  
  36.  duplex auto  
  37.  speed auto  
  38. !  
  39. interface FastEthernet0/1  
  40.  ip address 192.168.34.4 255.255.255.0  
  41.  ip ospf 1 area 1  
  42.  duplex auto  
  43.  speed auto  
  44. !  
  45. interface Serial1/0  
  46.  no ip address  
  47.  shutdown  
  48.  serial restart-delay 0  
  49. !           
  50. interface Serial1/1  
  51.  no ip address  
  52.  shutdown  
  53.  serial restart-delay 0  
  54. !  
  55. interface Serial1/2  
  56.  no ip address  
  57.  shutdown  
  58.  serial restart-delay 0  
  59. !  
  60. interface Serial1/3  
  61.  no ip address  
  62.  shutdown  
  63.  serial restart-delay 0  
  64. !  
  65. router eigrp 1  
  66.  network 192.168.124.0  
  67.  no auto-summary  
  68. !  
  69. router ospf 1  
  70.  log-adjacency-changes  
  71. !  
  72. no ip http server  
  73. no ip http secure-server  
  74.  
  75. control-plane  
  76.  
  77. line con 0  
  78.  exec-timeout 0 0  
  79.  logging synchronous  
  80. line aux 0  
  81. line vty 0 4  
  82.  login  
  83. !  
  84. !  
  85. end 

R5:

  1. R5#sh run  
  2. Building configuration...  
  3.  
  4. Current configuration : 1064 bytes  
  5. !  
  6. version 12.4  
  7. service timestamps debug datetime msec  
  8. service timestamps log datetime msec  
  9. no service password-encryption  
  10. !  
  11. hostname R5  
  12. !  
  13. boot-start-marker  
  14. boot-end-marker  
  15. !  
  16. !  
  17. no aaa new-model  
  18. memory-size iomem 5  
  19. !  
  20. !  
  21. ip cef  
  22. no ip domain lookup  
  23.  
  24. interface Loopback0  
  25.  ip address 5.5.5.5 255.255.255.255  
  26. !           
  27. interface FastEthernet0/0  
  28.  ip address 192.168.25.5 255.255.255.0  
  29.  duplex auto  
  30.  speed auto  
  31. !  
  32. interface FastEthernet0/1  
  33.  no ip address  
  34.  shutdown  
  35.  duplex auto  
  36.  speed auto  
  37. !  
  38. interface Serial1/0  
  39.  no ip address  
  40.  shutdown  
  41.  serial restart-delay 0  
  42. !  
  43. interface Serial1/1  
  44.  no ip address  
  45.  shutdown  
  46.  serial restart-delay 0  
  47. !  
  48. interface Serial1/2  
  49.  no ip address  
  50.  shutdown  
  51.  serial restart-delay 0  
  52. !  
  53. interface Serial1/3  
  54.  no ip address  
  55.  shutdown  
  56.  serial restart-delay 0  
  57. !  
  58. router rip  
  59.  version 2  
  60.  network 5.0.0.0  
  61.  network 192.168.25.0  
  62.  no auto-summary  
  63. !  
  64. no ip http server  
  65. no ip http secure-server  
  66.  
  67. line con 0  
  68.  exec-timeout 0 0  
  69.  logging synchronous  
  70. line aux 0  
  71. line vty 0 4  
  72.  login  
  73. !  
  74. !  
  75. end 

R6:

  1. R6#sh run  
  2. Building configuration...  
  3.  
  4. Current configuration : 1088 bytes  
  5. !  
  6. version 12.4  
  7. service timestamps debug datetime msec  
  8. service timestamps log datetime msec  
  9. no service password-encryption  
  10. !  
  11. hostname R6  
  12. !  
  13. boot-start-marker  
  14. boot-end-marker  
  15. !  
  16. !  
  17. no aaa new-model  
  18. memory-size iomem 5  
  19. !  
  20. !  
  21. ip cef  
  22. no ip domain lookup  
  23.  
  24. interface Loopback0  
  25.  ip address 6.6.6.6 255.255.255.255  
  26.  ip ospf 1 area 3  
  27. !  
  28. interface FastEthernet0/0  
  29.  ip address 192.168.36.6 255.255.255.0  
  30.  ip ospf 1 area 2  
  31.  duplex auto  
  32.  speed auto  
  33. !  
  34. interface FastEthernet0/1  
  35.  no ip address  
  36.  shutdown  
  37.  duplex auto  
  38.  speed auto  
  39. !  
  40. interface Serial1/0  
  41.  no ip address  
  42.  shutdown  
  43.  serial restart-delay 0  
  44. !  
  45. interface Serial1/1  
  46.  no ip address  
  47.  shutdown  
  48.  serial restart-delay 0  
  49. !           
  50. interface Serial1/2  
  51.  no ip address  
  52.  shutdown  
  53.  serial restart-delay 0  
  54. !  
  55. interface Serial1/3  
  56.  no ip address  
  57.  shutdown  
  58.  serial restart-delay 0  
  59. !  
  60. router ospf 1  
  61.  log-adjacency-changes  
  62.  area 2 virtual-link 3.3.3.3  
  63. !  
  64. no ip http server  
  65. no ip http secure-server  
  66.  
  67. line con 0  
  68.  exec-timeout 0 0  
  69.  logging synchronous  
  70. line aux 0  
  71. line vty 0 4  
  72.  login  
  73. !  
  74. !  
  75. end 
不良信息举报Q:2000617

软路由

不良信息举报Q:2000617|Archiver|ROS软路由论坛 ROSABC.com 网络方案网络工程交流

GMT+8, 2024-5-7 08:44 , Processed in 0.087459 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部