Advertisement
Guest User

Sterling

a guest
Sep 10th, 2010
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.91 KB | None | 0 0
  1. So there are 2 switches and 2 router configs
  2.  
  3. **************************Joel's router **********************
  4. hostname Cis1841
  5. !
  6. boot-start-marker
  7. boot-end-marker
  8. !
  9. enable secret 5 $1$mERr$XbcJ1ps0D.tlw73aQz4Wo.
  10. !
  11. memory-size iomem 10
  12. no aaa new-model
  13. ip subnet-zero
  14. ip cef
  15. !
  16. !
  17. ip domain name CiscoNet
  18. !
  19. ip dhcp pool CLIENT-POOL
  20. network 192.168.110.0 255.255.255.248
  21. default-router 192.168.110.1
  22. dns-server 192.168.111.2
  23. !
  24. ip audit po max-events 100
  25. !
  26. !
  27. !
  28. username netadmin privilege 15 secret 5 $1$mERr$XbcJ1ps0D.tlw73aQz4Wo.
  29. !
  30. !
  31.  
  32. !
  33. !
  34. interface Loopback0
  35. no ip address
  36. shutdown
  37. !
  38. interface FastEthernet0/0
  39. ip address 192.168.215.120 255.255.255.0
  40. ip nat outside
  41. duplex auto
  42. speed auto
  43. !
  44. interface Serial0/0
  45. no ip address
  46. shutdown
  47. !
  48. interface FastEthernet0/1
  49. no ip address
  50. ip nat inside
  51. duplex auto
  52. speed auto
  53. !
  54. interface FastEthernet0/1.10
  55. description WinClient
  56. encapsulation dot1Q 10
  57. ip address 192.168.110.1 255.255.255.248
  58. ip nat inside
  59. !
  60. interface FastEthernet0/1.11
  61. description WinSRV
  62. encapsulation dot1Q 11
  63. ip address 192.168.111.1 255.255.255.252
  64. ip nat inside
  65. !
  66. interface FastEthernet0/1.21
  67. description LinSRV
  68. encapsulation dot1Q 21
  69. ip address 192.168.121.1 255.255.255.252
  70. ip nat inside
  71. !
  72. interface FastEthernet0/1.50
  73. encapsulation dot1Q 50 native
  74. ip address 192.168.150.1 255.255.255.252
  75. !
  76. interface Serial0/1
  77. no ip address
  78. shutdown
  79. !
  80. router eigrp 100
  81. network 192.168.215.0
  82. no auto-summary
  83. !
  84. ip nat inside source list natACL interface FastEthernet0/0 overload
  85. ip nat inside source static 192.168.121.2 192.168.215.121
  86. ip nat inside source static 192.168.111.2 192.168.215.122
  87. ip nat inside source static 192.168.111.1 192.168.215.123
  88. ip http server
  89. no ip http secure-server
  90. ip classless
  91. ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
  92. !
  93. !
  94. !
  95. ip access-list extended natACL
  96. permit ip 192.168.110.0 0.0.0.7 any
  97. !
  98. !
  99. !
  100. !
  101. !
  102. !
  103. line con 0
  104. exec-timeout 15 0
  105. password cis266
  106. logging synchronous
  107. line aux 0
  108. line vty 0 4
  109. login local
  110. transport input ssh
  111. !
  112. !
  113. end
  114.  
  115. **********Joels Switch *************************
  116. hostname BFGswitch
  117. !
  118. enable secret 5 $1$mERr$XbcJ1ps0D.tlw73aQz4Wo.
  119. !
  120. username Netadmin password 0 $1$mERr$XbcJ1ps0D.tlw73aQz4Wo.
  121. ip subnet-zero
  122. !
  123. spanning-tree extend system-id
  124. !
  125. !
  126. interface FastEthernet0/1
  127. switchport trunk native vlan 50
  128. switchport mode trunk
  129. no ip address
  130. !
  131. interface FastEthernet0/2
  132. switchport access vlan 10
  133. switchport mode access
  134. no ip address
  135. !
  136. interface FastEthernet0/3
  137. switchport access vlan 11
  138. switchport mode access
  139. no ip address
  140. !
  141. interface FastEthernet0/4
  142. switchport access vlan 10
  143. switchport mode access
  144. no ip address
  145. !
  146. interface FastEthernet0/5
  147. switchport access vlan 21
  148. switchport mode access
  149. no ip address
  150. !
  151. interface FastEthernet0/6
  152. no ip address
  153. !
  154. interface FastEthernet0/7
  155. no ip address
  156. !
  157. interface FastEthernet0/8
  158. no ip address
  159. !
  160. interface FastEthernet0/9
  161. no ip address
  162. !
  163. interface FastEthernet0/10
  164. no ip address
  165. !
  166. interface FastEthernet0/11
  167. no ip address
  168. !
  169. interface FastEthernet0/12
  170. no ip address
  171. !
  172. interface FastEthernet0/13
  173. no ip address
  174. !
  175. interface FastEthernet0/14
  176. no ip address
  177. !
  178. interface FastEthernet0/15
  179. no ip address
  180. !
  181. interface FastEthernet0/16
  182. no ip address
  183. !
  184. interface FastEthernet0/17
  185. no ip address
  186. !
  187. interface FastEthernet0/18
  188. no ip address
  189. !
  190. interface FastEthernet0/19
  191. no ip address
  192. !
  193. interface FastEthernet0/20
  194. no ip address
  195. !
  196. interface FastEthernet0/21
  197. no ip address
  198. !
  199. interface FastEthernet0/22
  200. no ip address
  201. !
  202. interface FastEthernet0/23
  203. no ip address
  204. !
  205. interface FastEthernet0/24
  206. no ip address
  207. !
  208. interface Vlan1
  209. no ip address
  210. no ip route-cache
  211. shutdown
  212. !
  213. interface Vlan50
  214. description Management
  215. ip address 192.168.150.2 255.255.255.252
  216. no ip route-cache
  217. !
  218. ip http server
  219. !
  220. !
  221. line con 0
  222. exec-timeout 0 0
  223. password cis266
  224. logging synchronous
  225. line vty 0 4
  226. login local
  227. line vty 5 15
  228. login local
  229. !
  230. end
  231.  
  232. ************Tim's Router *****************************
  233.  
  234. hostname MainRouter
  235. !
  236. boot-start-marker
  237. boot-end-marker
  238. !
  239. !
  240. no aaa new-model
  241. !
  242. resource policy
  243. !
  244. memory-size iomem 15
  245. no network-clock-participate slot 1
  246. no network-clock-participate wic 0
  247. ip cef
  248. !
  249. !
  250. no ip dhcp use vrf connected
  251. !
  252. ip dhcp pool LINUX
  253. network 172.25.20.0 255.255.255.0
  254. default-router 172.25.20.1
  255. dns-server 172.25.30.10
  256. !
  257. ip dhcp pool WINDOWS
  258. network 172.25.10.0 255.255.255.0
  259. default-router 172.25.10.1
  260. dns-server 172.25.30.10
  261. !
  262. !
  263. no ip domain lookup
  264. !
  265. !
  266. !
  267. !
  268. !
  269. !
  270. !
  271. !
  272. !
  273. !
  274. !
  275. !
  276. !
  277. !
  278. !
  279. !
  280. !
  281. !
  282. !
  283. !
  284. !
  285. !
  286. !
  287. interface FastEthernet0/0
  288. no ip address
  289. ip nat inside
  290. ip virtual-reassembly
  291. duplex auto
  292. speed auto
  293. !
  294. interface FastEthernet0/0.1
  295. encapsulation dot1Q 1 native
  296. !
  297. interface FastEthernet0/0.10
  298. description WinClient
  299. encapsulation dot1Q 10
  300. ip address 172.25.10.1 255.255.255.0
  301. !
  302. interface FastEthernet0/0.20
  303. description LinuxClient
  304. encapsulation dot1Q 20
  305. ip address 172.25.20.1 255.255.255.0
  306. !
  307. interface FastEthernet0/0.30
  308. description WindowsSRV
  309. encapsulation dot1Q 30
  310. ip address 172.25.30.1 255.255.255.0
  311. !
  312. interface FastEthernet0/0.40
  313. description LinuxSRV
  314. encapsulation dot1Q 40
  315. ip address 172.25.40.1 255.255.255.0
  316. !
  317. interface FastEthernet0/0.50
  318. description Management
  319. encapsulation dot1Q 50
  320. ip address 172.25.50.1 255.255.255.0
  321. !
  322. interface Serial0/0
  323. no ip address
  324. shutdown
  325. no fair-queue
  326. !
  327. interface FastEthernet0/1
  328. ip address 192.168.215.112 255.255.255.0
  329. ip nat outside
  330. ip virtual-reassembly
  331. duplex auto
  332. speed auto
  333. !
  334. interface Serial0/1
  335. no ip address
  336. shutdown
  337. !
  338. router eigrp 100
  339. network 192.168.215.0
  340. no auto-summary
  341. !
  342. ip route 0.0.0.0 0.0.0.0 192.168.215.1
  343. !
  344. !
  345. ip http server
  346. no ip http secure-server
  347. ip nat pool EXTERNAL 192.168.215.112 192.168.215.114 netmask 255.255.255.0
  348. ip nat inside source list 1 pool EXTERNAL
  349. ip nat inside source static 172.25.40.10 192.168.215.115
  350. ip nat inside source static 172.25.30.10 192.168.215.116
  351. !
  352. access-list 1 permit any
  353. !
  354. !
  355. !
  356. control-plane
  357. !
  358. !
  359. !
  360. !
  361. !
  362. !
  363. !
  364. !
  365. !
  366. !
  367. line con 0
  368. exec-timeout 0 0
  369. password cisco
  370. logging synchronous
  371. login
  372. line aux 0
  373. line vty 0 4
  374. exec-timeout 0 0
  375. password cisco
  376. logging synchronous
  377. login
  378. !
  379. !
  380. end
  381.  
  382. ******** Tim's Switch ********************
  383.  
  384. hostname MainSwitch
  385. !
  386. !
  387. ip subnet-zero
  388. !
  389. ip dhcp pool LINUX
  390. !
  391. no ip domain-lookup
  392. !
  393. spanning-tree mode pvst
  394. no spanning-tree optimize bpdu transmission
  395. spanning-tree extend system-id
  396. !
  397. !
  398. !
  399. !
  400. interface FastEthernet0/1
  401. switchport mode trunk
  402. !
  403. interface FastEthernet0/2
  404. switchport access vlan 30
  405. switchport mode access
  406. !
  407. interface FastEthernet0/3
  408. switchport access vlan 10
  409. switchport mode access
  410. !
  411. interface FastEthernet0/4
  412. switchport access vlan 10
  413. switchport mode access
  414. !
  415. interface FastEthernet0/5
  416. switchport access vlan 10
  417. switchport mode access
  418. !
  419. interface FastEthernet0/6
  420. switchport access vlan 10
  421. switchport mode access
  422. !
  423. interface FastEthernet0/7
  424. switchport access vlan 10
  425. switchport mode access
  426. !
  427. interface FastEthernet0/8
  428. switchport access vlan 10
  429. switchport mode access
  430. !
  431. interface FastEthernet0/9
  432. switchport access vlan 10
  433. switchport mode access
  434. !
  435. interface FastEthernet0/10
  436. switchport access vlan 10
  437. switchport mode access
  438. !
  439. interface FastEthernet0/11
  440. switchport access vlan 10
  441. switchport mode access
  442. !
  443. interface FastEthernet0/12
  444. switchport access vlan 10
  445. switchport mode access
  446. !
  447. interface FastEthernet0/13
  448. switchport access vlan 10
  449. switchport mode access
  450. !
  451. interface FastEthernet0/14
  452. switchport access vlan 20
  453. switchport mode access
  454. !
  455. interface FastEthernet0/15
  456. switchport access vlan 20
  457. switchport mode access
  458. !
  459. interface FastEthernet0/16
  460. switchport access vlan 20
  461. switchport mode access
  462. !
  463. interface FastEthernet0/17
  464. switchport access vlan 20
  465. switchport mode access
  466. !
  467. interface FastEthernet0/18
  468. switchport access vlan 20
  469. switchport mode access
  470. !
  471. interface FastEthernet0/19
  472. switchport access vlan 20
  473. switchport mode access
  474. !
  475. interface FastEthernet0/20
  476. switchport access vlan 20
  477. switchport mode access
  478. !
  479. interface FastEthernet0/21
  480. switchport access vlan 20
  481. switchport mode access
  482. !
  483. interface FastEthernet0/22
  484. switchport access vlan 20
  485. switchport mode access
  486. !
  487. interface FastEthernet0/23
  488. switchport access vlan 20
  489. switchport mode access
  490. !
  491. interface FastEthernet0/24
  492. switchport access vlan 40
  493. switchport mode access
  494. !
  495. interface Vlan1
  496. no ip address
  497. no ip route-cache
  498. shutdown
  499. !
  500. interface Vlan50
  501. description Management
  502. ip address 172.25.50.10 255.255.255.0
  503. no ip route-cache
  504. !
  505. ip default-gateway 172.25.50.1
  506. ip http server
  507. !
  508. line con 0
  509. exec-timeout 0 0
  510. password cisco
  511. logging synchronous
  512. login
  513. line vty 0 4
  514. exec-timeout 0 0
  515. password cisco
  516. logging synchronous
  517. login
  518. line vty 5 15
  519. exec-timeout 0 0
  520. password cisco
  521. logging synchronous
  522. login
  523. !
  524. !
  525. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement