设为首页收藏本站language 语言切换
查看: 1222|回复: 3
收起左侧

思科路由器配置(2611xm)求助

[复制链接]
发表于 2016-11-3 17:43:32 | 显示全部楼层 |阅读模式
原来的路由器是神码的DCR-3660,配置如下,使用正常:

  1. Router#sh run
  2. Building configuration...

  3. Current configuration:
  4. !
  5. !version 1.3.1G
  6. service timestamps log date
  7. service timestamps debug date
  8. no service password-encryption
  9. !
  10. !
  11. !
  12. controller E1 3/0
  13. framing NO-CRC4
  14. channel 0 timeslots 1-31
  15. !
  16. controller E1 3/1
  17. unframed
  18. !
  19. !
  20. isdn switch-type basic-5ess
  21. !
  22. enable password 0 **** level 15
  23. !
  24. interface FastEthernet1/0
  25. ip address 219.231.240.253 255.255.255.128
  26. no ip directed-broadcast
  27. ip nat inside
  28. !
  29. interface FastEthernet2/0
  30. no ip address
  31. no ip directed-broadcast
  32. !
  33. interface Serial3/0:0
  34. ip address 202.194.96.118 255.255.255.252
  35. no ip directed-broadcast
  36. encapsulation ppp
  37. bandwidth 2048
  38. ip nat outside
  39. !
  40. interface Serial3/1:0
  41. no ip address
  42. no ip directed-broadcast
  43. bandwidth 2048
  44. !
  45. interface Async0/0
  46. no ip address
  47. no ip directed-broadcast
  48. !
  49. ip route default 202.194.96.117
  50. ip route 172.0.0.0 255.0.0.0 219.231.240.129
  51. ip route 192.168.0.0 255.255.0.0 219.231.240.129
  52. ip route 219.231.240.0 255.255.255.128 219.231.240.254
  53. ip route 219.231.240.128 255.255.255.128 219.231.240.129
  54. ip route 219.231.241.0 255.255.255.0 219.231.240.129
  55. ip route 219.231.242.0 255.255.255.0 219.231.240.129
  56. ip route 219.231.243.0 255.255.255.0 219.231.240.129
  57. ip route 219.231.244.0 255.255.255.0 219.231.240.129
  58. ip route 219.231.245.0 255.255.255.0 219.231.240.129
  59. ip route 219.231.246.0 255.255.255.0 219.231.240.129
  60. ip route 219.231.247.0 255.255.255.0 219.231.240.129
  61. ip route 219.231.248.0 255.255.255.0 219.231.240.129
  62. ip route 219.231.249.0 255.255.255.0 219.231.240.129
  63. ip route 219.231.250.0 255.255.255.0 219.231.240.129
  64. ip route 219.231.251.0 255.255.255.0 219.231.240.129
  65. ip route 219.231.252.0 255.255.255.0 219.231.240.129
  66. ip route 219.231.253.0 255.255.255.0 219.231.240.129
  67. ip route 219.231.254.0 255.255.255.0 219.231.240.129
  68. ip route 219.231.255.0 255.255.255.0 219.231.240.129
  69. !
  70. snmp-server community public RO
  71. !
  72. ip access-list standard nat
  73. permit 192.168.0.0 255.255.0.0
  74. !
  75. ip access-list standard nat1
  76. permit 172.0.0.0 255.0.0.0
  77. !
  78. !
  79. !
  80. !
  81. ip nat pool nat 219.231.251.1 219.231.251.254 255.255.255.0
  82. ip nat inside source list nat pool nat overload
  83. ip nat inside source list nat1 pool nat overload
  84. !
  85. !
  86. !
  87. Router#
复制代码

现在我参考原来的配置给思科2611xm的配置如下:

  1. Building configuration...

  2. Current configuration : 2297 bytes
  3. !
  4. version 12.4
  5. service timestamps debug datetime msec
  6. service timestamps log datetime msec
  7. no service password-encryption
  8. !
  9. hostname AKER_SH_BJ
  10. !
  11. boot-start-marker
  12. boot-end-marker
  13. !
  14. enable password ****
  15. !
  16. no aaa new-model
  17. no network-clock-participate slot 1
  18. no network-clock-participate wic 0
  19. ip cef
  20. !
  21. !
  22. !
  23. !
  24. !
  25. !
  26. !
  27. isdn switch-type primary-5ess
  28. !
  29. !
  30. !
  31. !
  32. !
  33. !
  34. !
  35. !
  36. !
  37. !
  38. !
  39. !
  40. !
  41. !
  42. !
  43. !
  44. controller E1 1/0
  45. framing NO-CRC4
  46. channel-group 0 timeslots 1-31
  47. !
  48. !
  49. !
  50. !
  51. !
  52. !
  53. interface FastEthernet0/0
  54. ip address 219.231.240.253 255.255.255.128
  55. duplex auto
  56. speed auto
  57. !
  58. interface FastEthernet0/1
  59. ip address 192.168.240.1 255.255.255.0
  60. duplex auto
  61. speed auto
  62. !7
  63. interface Serial1/0:0
  64. bandwidth 2048
  65. ip address 202.194.96.118 255.255.255.192
  66. ip nat outside
  67. ip virtual-reassembly
  68. encapsulation ppp
  69. !
  70. ip forward-protocol nd
  71. ip route 0.0.0.0 0.0.0.0 202.194.96.117
  72. ip route 172.0.0.0 255.0.0.0 219.231.240.129
  73. ip route 192.168.0.0 255.255.0.0 219.231.240.129
  74. ip route 219.231.240.0 255.255.255.128 219.231.240.254
  75. ip route 219.231.240.128 255.255.255.128 219.231.240.129
  76. ip route 219.231.241.0 255.255.255.0 219.231.240.129
  77. ip route 219.231.242.0 255.255.255.0 219.231.240.129
  78. ip route 219.231.243.0 255.255.255.0 219.231.240.129
  79. ip route 219.231.244.0 255.255.255.0 219.231.240.129
  80. ip route 219.231.245.0 255.255.255.0 219.231.240.129
  81. ip route 219.231.246.0 255.255.255.0 219.231.240.129
  82. ip route 219.231.247.0 255.255.255.0 219.231.240.129
  83. ip route 219.231.248.0 255.255.255.0 219.231.240.129
  84. ip route 219.231.249.0 255.255.255.0 219.231.240.129
  85. ip route 219.231.250.0 255.255.255.0 219.231.240.129
  86. ip route 219.231.251.0 255.255.255.0 219.231.240.129
  87. ip route 219.231.252.0 255.255.255.0 219.231.240.129
  88. ip route 219.231.253.0 255.255.255.0 219.231.240.129
  89. ip route 219.231.254.0 255.255.255.0 219.231.240.129
  90. ip route 219.231.255.0 255.255.255.0 219.231.240.129
  91. !
  92. !
  93. no ip http server
  94. no ip http secure-server
  95. ip nat pool nat 219.231.251.129 219.231.251.254 netmask 255.255.255.128
  96. ip nat inside source list nat pool nat overload
  97. ip nat inside source list nat1 pool nat overload
  98. !
  99. ip access-list standard nat
  100. permit 0.0.0.0 255.255.0.0
  101. ip access-list standard nat1
  102. permit 0.0.0.0 255.0.0.0
  103. !
  104. !
  105. !
  106. !
  107. control-plane
  108. !
  109. !
  110. !
  111. !
  112. !
  113. !
  114. !
  115. !
  116. !
  117. !
  118. line con 0
  119. line aux 0
  120. line vty 0 4
  121. password ***
  122. login
  123. !
  124. !
  125. end
复制代码


现在思科和内网的连接(219.231、192.168.、172)是通的,可以ping,但是到外网202.194是不通的,而且连202.194.96.118这个本身接口的IP都不通。show int s1/0:0后有时显示Serial1/0:0 is reset, line protocol is down,有时显示
Serial1/0:0 is up, line protocol is down,我的配置有问题么?还是硬件模块有问题?

发表于 2016-11-3 18:27:54 | 显示全部楼层
配置都贴完了吗?到202.194是不通的 ,是因为该口没有双UP状态,该路由器上没有202.194的路由。该接口PPP封装,建议看看PPP相关配置..
沙发 2016-11-3 18:27:54 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2016-11-3 18:29:59 | 显示全部楼层
配置都贴完了吗?到202.194是不通的 ,是因为该口没有双UP状态,该路由器上没有202.194的路由。该接口PPP封装,建议检查PPP配置..
板凳 2016-11-3 18:29:59 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-11 10:28 , Processed in 0.071016 second(s), 22 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表