Advertisement
Guest User

GNS3 to Internet in Linux

a guest
Nov 10th, 2013
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. GNS3 set-up here:
  2. http://imgur.com/3siRFMb
  3.  
  4. I can ping google.com from R2 but not from R1.
  5.  
  6. 1. Can Ping 8.8.8.8 from R2
  7. 2. Can ping 10.200.200.1 from R1
  8. 3. Cannot ping 8.8.8.8 from R1
  9.  
  10. So it seems that it's a source natting issue however I have followed your instruction ditto.
  11. Here are the configs for R1 and R2:
  12.  
  13. R1.cfg
  14. !
  15. !
  16.  
  17. !
  18. version 12.3
  19. no service timestamps debug uptime
  20. no service timestamps log uptime
  21. no service password-encryption
  22. !
  23. hostname R1
  24. !
  25. boot-start-marker
  26. boot-end-marker
  27. !
  28. !
  29. no aaa new-model
  30. ip subnet-zero
  31. no ip icmp rate-limit unreachable
  32. ip cef
  33. !
  34. !
  35. ip dhcp excluded-address 10.0.0.1 10.0.0.50
  36. !
  37. ip dhcp pool OURPOOL
  38. network 10.0.0.0 255.255.255.0
  39. default-router 10.0.0.1
  40. dns-server 8.8.8.8
  41. !
  42. no ip domain lookup
  43. ip audit po max-events 100
  44. !
  45. !
  46. !
  47. !
  48. !
  49. !
  50. !
  51. !
  52. !
  53. !
  54. !
  55. !
  56. !
  57. !
  58. ip tcp synwait-time 5
  59. !
  60. !
  61. !
  62. !
  63. !
  64. interface FastEthernet0/0
  65. ip address 172.16.0.1 255.255.255.0
  66. duplex auto
  67. speed auto
  68. !
  69. interface FastEthernet0/1
  70. ip address 10.0.0.1 255.255.255.0
  71. duplex auto
  72. speed auto
  73. !
  74. router eigrp 1
  75. network 0.0.0.0
  76. no auto-summary
  77. !
  78. ip classless
  79. !
  80. no ip http server
  81. no ip http secure-server
  82. !
  83. !
  84. !
  85. !
  86. !
  87. !
  88. !
  89. !
  90. !
  91. !
  92. alias exec c config t
  93. !
  94. line con 0
  95. exec-timeout 0 0
  96. privilege level 15
  97. logging synchronous
  98. line aux 0
  99. exec-timeout 0 0
  100. privilege level 15
  101. logging synchronous
  102. line vty 0 4
  103. privilege level 15
  104. no login
  105. !
  106. end
  107.  
  108. _________________________________________________
  109.  
  110. R2.cfg
  111. !
  112.  
  113. !
  114. version 12.3
  115. no service timestamps debug uptime
  116. no service timestamps log uptime
  117. no service password-encryption
  118. !
  119. hostname R2
  120. !
  121. boot-start-marker
  122. boot-end-marker
  123. !
  124. !
  125. no aaa new-model
  126. ip subnet-zero
  127. no ip icmp rate-limit unreachable
  128. ip cef
  129. !
  130. !
  131. !
  132. ip name-server 8.8.8.8
  133. ip name-server 8.8.8.4
  134. ip audit po max-events 100
  135. !
  136. !
  137. !
  138. !
  139. !
  140. !
  141. !
  142. !
  143. !
  144. !
  145. !
  146. !
  147. !
  148. !
  149. ip tcp synwait-time 5
  150. !
  151. !
  152. !
  153. !
  154. !
  155. interface FastEthernet0/0
  156. ip address 172.16.0.2 255.255.255.0
  157. ip nat inside
  158. duplex auto
  159. speed auto
  160. !
  161. interface FastEthernet0/1
  162. ip address 10.200.200.2 255.255.255.252
  163. ip nat outside
  164. duplex auto
  165. speed auto
  166. !
  167. router eigrp 1
  168. network 0.0.0.0
  169. no auto-summary
  170. !
  171. ip nat inside source list 10 interface FastEthernet0/1 overload
  172. ip classless
  173. ip route 0.0.0.0 0.0.0.0 10.200.200.1
  174. !
  175. no ip http server
  176. no ip http secure-server
  177. !
  178. access-list 10 permit any
  179. !
  180. !
  181. !
  182. !
  183. !
  184. !
  185. !
  186. !
  187. !
  188. alias exec c config t
  189. !
  190. line con 0
  191. exec-timeout 0 0
  192. privilege level 15
  193. logging synchronous
  194. line aux 0
  195. exec-timeout 0 0
  196. privilege level 15
  197. logging synchronous
  198. line vty 0 4
  199. privilege level 15
  200. no login
  201. !
  202. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement