Guest User

Network Setup

a guest
Jul 14th, 2015
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.70 KB | None | 0 0
  1. ========Router Config================
  2. Router#show run
  3. Building configuration...
  4.  
  5. Current configuration : 2046 bytes
  6. !
  7. version 12.2
  8. no service timestamps log datetime msec
  9. no service timestamps debug datetime msec
  10. no service password-encryption
  11. !
  12. hostname Router
  13. !
  14.  
  15. ip dhcp excluded-address 10.10.10.1
  16. ip dhcp excluded-address 10.10.20.1
  17. ip dhcp excluded-address 10.10.30.1
  18. ip dhcp excluded-address 10.10.40.1
  19. ip dhcp excluded-address 10.10.50.1
  20. ip dhcp excluded-address 10.10.50.2
  21. ip dhcp excluded-address 10.10.40.2
  22. ip dhcp excluded-address 10.10.30.2
  23. ip dhcp excluded-address 10.10.20.2
  24. ip dhcp excluded-address 10.10.10.2
  25. !
  26. ip dhcp pool customer_service
  27. network 10.10.10.0 255.255.255.0
  28. default-router 10.10.10.1
  29. ip dhcp pool logistics
  30. network 10.10.20.0 255.255.255.0
  31. default-router 10.10.20.1
  32. ip dhcp pool repair
  33. network 10.10.30.0 255.255.255.0
  34. default-router 10.10.30.1
  35. ip dhcp pool offices
  36. network 10.10.40.0 255.255.255.0
  37. default-router 10.10.40.1
  38. ip dhcp pool guest
  39. network 10.10.50.0 255.255.255.0
  40. default-router 10.10.50.1
  41. !
  42. ip cef
  43. no ipv6 cef
  44. !
  45. interface FastEthernet0/0
  46. ip address xx.xxx.xx.47 255.255.255.248
  47. duplex auto
  48. speed auto
  49. !
  50. interface FastEthernet0/0.10
  51. encapsulation dot1Q 10
  52. ip address 10.10.10.1 255.255.255.0
  53. ip nat inside
  54. !
  55. interface FastEthernet0/0.20
  56. encapsulation dot1Q 20
  57. ip address 10.10.20.1 255.255.255.0
  58. ip nat inside
  59. !
  60. interface FastEthernet0/0.30
  61. encapsulation dot1Q 30
  62. ip address 10.10.30.1 255.255.255.0
  63. ip nat inside
  64. !
  65. interface FastEthernet0/0.40
  66. encapsulation dot1Q 40
  67. ip address 10.10.40.1 255.255.255.0
  68. ip nat inside
  69. !
  70. interface FastEthernet0/0.50
  71. encapsulation dot1Q 50
  72. ip address 10.10.50.1 255.255.255.0
  73. !
  74. interface FastEthernet1/0
  75. no ip address
  76. duplex auto
  77. speed auto
  78. shutdown
  79. !
  80. interface Serial2/0
  81. no ip address
  82. clock rate 2000000
  83. shutdown
  84. !
  85. interface Serial3/0
  86. no ip address
  87. clock rate 2000000
  88. shutdown
  89. !
  90. interface FastEthernet4/0
  91. no ip address
  92. shutdown
  93. !
  94. interface FastEthernet5/0
  95. no ip address
  96. shutdown
  97. !
  98. router rip
  99. !
  100. ip classless
  101. !
  102. ip flow-export version 9
  103. !
  104.  
  105. line con 0
  106. !
  107. line aux 0
  108. !
  109. line vty 0 4
  110. login
  111. !
  112. !
  113. !
  114. end
  115. ========End Router Config================
  116.  
  117. ========Mangement Switch Config================
  118. Switch#show run
  119. Building configuration...
  120.  
  121. Current configuration : 2226 bytes
  122. !
  123. version 12.2
  124. no service timestamps log datetime msec
  125. no service timestamps debug datetime msec
  126. no service password-encryption
  127. !
  128. hostname Switch
  129. !
  130. !
  131. !
  132. !
  133. !
  134. spanning-tree mode pvst
  135. !
  136. interface FastEthernet0/1
  137. switchport access vlan 10
  138. switchport mode access
  139. !
  140. interface FastEthernet0/2
  141. switchport access vlan 10
  142. switchport mode access
  143. !
  144. interface FastEthernet0/3
  145. switchport access vlan 10
  146. switchport mode access
  147. !
  148. interface FastEthernet0/4
  149. switchport access vlan 20
  150. switchport mode access
  151. !
  152. interface FastEthernet0/5
  153. switchport access vlan 20
  154. switchport mode access
  155. !
  156. interface FastEthernet0/6
  157. switchport access vlan 20
  158. switchport mode access
  159. !
  160. interface FastEthernet0/7
  161. switchport access vlan 30
  162. switchport mode access
  163. !
  164. interface FastEthernet0/8
  165. switchport access vlan 30
  166. switchport mode access
  167. !
  168. interface FastEthernet0/9
  169. switchport access vlan 30
  170. switchport mode access
  171. !
  172. interface FastEthernet0/10
  173. switchport access vlan 40
  174. switchport mode access
  175. !
  176. interface FastEthernet0/11
  177. switchport access vlan 40
  178. switchport mode access
  179. !
  180. interface FastEthernet0/12
  181. switchport access vlan 40
  182. switchport mode access
  183. !
  184. interface FastEthernet0/13
  185. switchport access vlan 50
  186. switchport mode access
  187. !
  188. interface FastEthernet0/14
  189. switchport access vlan 50
  190. switchport mode access
  191. !
  192. interface FastEthernet0/15
  193. switchport access vlan 50
  194. switchport mode access
  195. !
  196. interface FastEthernet0/16
  197. !
  198. interface FastEthernet0/17
  199. !
  200. interface FastEthernet0/18
  201. !
  202. interface FastEthernet0/19
  203. !
  204. interface FastEthernet0/20
  205. !
  206. interface FastEthernet0/21
  207. !
  208. interface FastEthernet0/22
  209. !
  210. interface FastEthernet0/23
  211. !
  212. interface FastEthernet0/24
  213. !
  214. interface GigabitEthernet0/1
  215. switchport trunk allowed vlan 1,10,20,30,40,50
  216. switchport mode trunk
  217. !
  218. interface GigabitEthernet0/2
  219. !
  220. interface Vlan1
  221. no ip address
  222. shutdown
  223. !
  224. interface Vlan10
  225. ip address 10.10.10.2 255.255.255.0
  226. !
  227. interface Vlan20
  228. ip address 10.10.20.2 255.255.255.0
  229. !
  230. interface Vlan30
  231. ip address 10.10.30.2 255.255.255.0
  232. !
  233. interface Vlan40
  234. ip address 10.10.40.2 255.255.255.0
  235. !
  236. interface Vlan50
  237. ip address 10.10.50.2 255.255.255.0
  238. !
  239. interface Vlan70
  240. no ip address
  241. !
  242. ip default-gateway xx.xxx.xx.47
  243. !
  244. !
  245. !
  246. !
  247. line con 0
  248. !
  249. line vty 0 4
  250. login
  251. line vty 5 15
  252. login
  253. !
  254. !
  255. end
  256. ========End Mangement Switch Config================
Advertisement
Add Comment
Please, Sign In to add comment