Advertisement
joemccray

Net-Refresh Walk-through

Jun 11th, 2019
725
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.09 KB | None | 0 0
  1. ################################
  2. # Quick Subnet Reference Chart #
  3. ################################
  4. https://www.aelius.com/njh/subnet_sheet.html
  5.  
  6.  
  7.  
  8.  
  9. Note: The lab exercises only appear to work in Internet Explorer, or Edge in Internet Explorer compatibility mode.
  10.  
  11.  
  12. #########################
  13. # Introduction to VLANs #
  14. #########################
  15. https://www.net-refresh.com/switching1.html
  16.  
  17.  
  18. 1. Configure Host_Red1 to be an access port in VLAN 10
  19. 2. Configure Host_Red2 to be an access port in VLAN 10
  20. 3. Configure Host_Blue1 to be an access port in VLAN 20
  21. 4. Configure Host_Blue2 to be an access port in VLAN 20
  22.  
  23.  
  24. -----Type these commands on switch 1----
  25. enable
  26. configure terminal
  27. vlan 10
  28. name Red_Vlan
  29. interface f0/1
  30. switchport mode access
  31. switchport access vlan 10
  32. interface f0/2
  33. switchport mode access
  34. switchport access vlan 10
  35. interface f0/3
  36. switchport mode access
  37. switchport access vlan 20
  38. interface f0/4
  39. switchport mode access
  40. switchport access vlan 20
  41. ----------------------------------------
  42.  
  43. Testing the configuration
  44.  
  45. In order to test your configuration, try setting static IP addresses on the host PCs, and check which PCs can communicate. Set the host IP addresses to 192.168.0.1, 192.168.0.2, 192.168.0.3, and 192.168.0.4 respectively, with a subnet mask of 255.255.255.0. Note that having two VLANs using a single subnet is not something you will do in a real network, and is only done here to demonstrate the VLANs are separated.
  46.  
  47. If you have configured the switch correctly you will find that the although the Red hosts can ping each other, they are unable to ping the Blue hosts.
  48.  
  49.  
  50.  
  51. References used for this lab:
  52. * VLANs: https://www.net-refresh.com/articles/vlans1.html
  53.  
  54.  
  55.  
  56.  
  57. #######################
  58. # InterVlan Routing 1 #
  59. #######################
  60. https://www.net-refresh.com/switching2.html
  61.  
  62. 1. Assign 'Host_Red1' to vlan 10, and force to an access port.
  63. 2. Assign 'Host_Red2' to vlan 10, and force to an access port.
  64. 3. Assign 'Host_Blue1' to vlan 20, and force to an access port.
  65. 4. Assign 'Host_Blue2' to vlan 20, and force to an access port.
  66. 5. Assign Switch1 f0/10 to vlan 10, and force to an access port.
  67. 6. Assign Switch1 f0/11 to vlan 20, and force to an access port.
  68. 7. Set the IP address of Router1's f0/0 interface to the last usable address in the 10.0.0.0/24 subnet, and ensure the port is up.
  69. 8. Set the IP address of Router1'a f0/1 interface to the last usable address in the 10.1.0.0/24 subnet, and ensure the port is up.
  70. 9. On Switch1, create VLAN interface 10, and assign it the IP address 10.0.0.2/24.
  71.  
  72.  
  73.  
  74.  
  75. -----Type these commands on switch 1----
  76. enable
  77. configure terminal
  78. vlan 10
  79. name Red_Vlan
  80. interface f0/1
  81. switchport mode access
  82. switchport access vlan 10
  83. interface f0/2
  84. switchport mode access
  85. switchport access vlan 10
  86. interface f0/10
  87. switchport mode access
  88. switchport access vlan 10
  89. interface f0/3
  90. switchport mode access
  91. switchport access vlan 20
  92. interface f0/4
  93. switchport mode access
  94. switchport access vlan 20
  95. interface f0/11
  96. switchport mode access
  97. switchport access vlan 20
  98. interface vlan 10
  99. ip address 10.0.0.2 255.255.255.0
  100.  
  101. ----------------------------------------
  102.  
  103.  
  104. -----Type these commands on router 1----
  105. enable
  106. configure terminal
  107. interface f0/0
  108. ip address 10.0.0.254 255.255.255.0
  109. no shutdown
  110. interface f0/1
  111. ip address 10.1.0.254 255.255.255.0
  112. no shutdown
  113. exit
  114. ----------------------------------------
  115.  
  116.  
  117. Hopefully you completed that without too much difficulty! Each VLAN now has a port connected to the Router, so it should now be possible for a Red host to ping a Blue host. Go ahead and configure the host PCs with suitable IP addresses in their subnet. You will need to set the default gateway as well. Remember the default-gateway is the address that packets will be sent to if the host has no better route.
  118.  
  119.  
  120.  
  121. References used for this lab:
  122. * VLANs: https://www.net-refresh.com/articles/vlans1.html
  123. * how to assign static IP on a switch: https://learningnetwork.cisco.com/thread/14861
  124.  
  125.  
  126.  
  127. ########################################################
  128. # Intervlan Routing using trunking (Router on a stick) #
  129. ########################################################
  130. https://www.net-refresh.com/switching3.html
  131.  
  132. 1. Assign 'Host_Red1' to vlan 10, and force to an access port
  133. 2. Assign 'Host_Red2' to vlan 10, and force to an access port
  134. 3. Assign 'Host_Blue1' to vlan 20, and force to an access port
  135. 4. Assign 'Host_Blue2' to vlan 20, and force to an access port
  136. 5. Configure Switch1's f0/10 interface so it operates as a dot1q trunk
  137. 6. Configure a sub-interface on Router1, f0/0.10. This sub-interface should receive frames with the dot1q tag 10.
  138. Assign this the last usable IP address in the 10.0.0.32/27 subnet
  139. 7. Configure a sub-interface on Router1, f0/0.20. This sub-interface should receive frames with the dot1q tag 20.
  140. Assign this the last usable IP address in the 20.0.0.128/26 subnet
  141. 8. On Switch1, create vlan interface 10, assign it the first usable IP address in the 10.0.0.32/27 subnet
  142. 9. Configure the correct default gateway on Switch1
  143.  
  144.  
  145.  
  146. -----Type these commands on switch 1----
  147. enable
  148. configure terminal
  149. vlan 10
  150. name Red_Vlan
  151. interface f0/1
  152. switchport mode access
  153. switchport access vlan 10
  154. interface f0/2
  155. switchport mode access
  156. switchport access vlan 10
  157. interface f0/3
  158. switchport mode access
  159. switchport access vlan 20
  160. interface f0/4
  161. switchport mode access
  162. switchport access vlan 20
  163. interface f0/10
  164. switchport mode trunk
  165. switchport trunk encapsulation dot1q
  166. interface f0/11
  167. switchport mode access
  168. switchport access vlan 20
  169. interface vlan 10
  170. ip address 10.0.0.33 255.255.255.224
  171. ip default-gateway 10.0.0.62
  172.  
  173. ----------------------------------------
  174.  
  175.  
  176. -----Type these commands on router 1----
  177. enable
  178. configure terminal
  179. interface f0/0
  180. no shutdown
  181. interface f0/0.10
  182. encapsulation dot1q 10
  183. ip address 10.0.0.62 255.255.255.224
  184. no shutdown
  185. interface f0/0.20
  186. encapsulation dot1q 20
  187. ip address 20.0.0.190 255.255.255.192
  188. no shutdown
  189. exit
  190. ----------------------------------------
  191.  
  192.  
  193.  
  194. References used for this lab:
  195. * VLANs: https://www.net-refresh.com/articles/vlans1.html
  196. * how to assign static IP on a switch: https://learningnetwork.cisco.com/thread/14861
  197. * Trunk port: https://networklessons.com/switching/how-to-configure-trunk-on-cisco-catalyst-switch
  198. * Subinterface: https://learningnetwork.cisco.com/thread/14587
  199. * last useable IP: https://www.aelius.com/njh/subnet_sheet.html
  200. * default gateway on a switch: https://learningnetwork.cisco.com/thread/22283
  201.  
  202.  
  203.  
  204. ##############################################
  205. # Interswitch trunks with Inter-Vlan routing #
  206. ##############################################
  207. https://www.net-refresh.com/switching4.html
  208.  
  209.  
  210. 1. Configure Switch1's f0/10 interface so it operates as a trunk
  211. 2. Configure Switch1's f0/11 interface so it dynamically negotiates and operates as a dot1q trunk
  212. 3. Configure Switch2's f0/11 interface so it dynamically negotiates and operates as a dot1q trunk
  213. 4. Assign 'Host_Red1' to vlan 10, and force to an access port
  214. 5. Assign 'Host_Red2' to vlan 10, and force to an access port
  215. 6. Assign 'Host_Blue1' to vlan 20, and force to an access port
  216. 7. Assign 'Host_Blue2' to vlan 20, and force to an access port
  217. 8. Create a sub-interface on Router1, f0/0.10. This sub-interface should receive frames with dot1q tag 10. Assign this the last usable IP address in the 172.16.0.0/22 subnet
  218. 9. Create a sub-interface on Router1, f0/0.20. This sub-interface should receive frames with dot1q tag 20. Assign this the last usable IP address in the 172.16.4.0/26 subnet.
  219. 10. On Switch1, create vlan interface 10, and assign it the first usable address in the 172.16.0.0/22 subnet
  220. 11. Configure the correct default gateway on Switch1
  221.  
  222.  
  223. -----Type these commands on switch 1----
  224. enable
  225. configure terminal
  226. interface f0/10
  227. switchport mode trunk
  228. switchport trunk encapsulation dot1q
  229. vlan 10
  230. name Red_Vlan
  231. interface f0/1
  232. switchport mode access
  233. switchport access vlan 10
  234. interface f0/2
  235. switchport mode access
  236. switchport access vlan 10
  237. vlan 20
  238. name Blue_Vlan
  239. interface f0/3
  240. switchport mode access
  241. switchport access vlan 20
  242. interface f0/4
  243. switchport mode access
  244. switchport access vlan 20
  245. interface vlan 10
  246. ip address 172.16.0.1 255.255.252.0
  247. ----------------------------------------
  248.  
  249.  
  250. -----Type these commands on switch 2----
  251. enable
  252. configure terminal
  253. interface f0/11
  254. switchport mode trunk
  255. switchport trunk encapsulation dot1q
  256. ----------------------------------------
  257.  
  258.  
  259. -----Type these commands on router 1----
  260. enable
  261. configure terminal
  262. interface f0/0
  263. no shutdown
  264. interface f0/0.10
  265. encapsulation dot1q 10
  266. ip address 172.16.3.254 255.255.252.0
  267. no shutdown
  268. interface f0/0.20
  269. encapsulation dot1q 20
  270. ip address 172.16.4.62 255.255.255.192
  271. no shutdown
  272. exit
  273. ----------------------------------------
  274.  
  275.  
  276.  
  277. References used for this lab:
  278. * VLANs: https://www.net-refresh.com/articles/vlans1.html
  279. * how to assign static IP on a switch: https://learningnetwork.cisco.com/thread/14861
  280. * Trunk port: https://networklessons.com/switching/how-to-configure-trunk-on-cisco-catalyst-switch
  281. * Subinterface: https://learningnetwork.cisco.com/thread/14587
  282. * last useable IP: https://www.aelius.com/njh/subnet_sheet.html
  283. * default gateway on a switch: https://learningnetwork.cisco.com/thread/22283
  284.  
  285.  
  286.  
  287.  
  288. #############################################
  289. # Configuring Static Routes between Routers #
  290. #############################################
  291. https://www.net-refresh.com/routing1.html
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299. ##################################################
  300. # Configuring the EIGRP dynamic routing protocol #
  301. ##################################################
  302. https://www.net-refresh.com/routing3.html
  303.  
  304. 1. On Router1 configure the following interfaces with IP addresses:
  305. ? f0/0 with IP address 10.0.0.1/24
  306. ? s0/0 with IP address 1.0.0.1/30
  307. ? s0/1 with IP address 2.0.0.1/30
  308.  
  309. -----Type these commands on router 1----
  310. enable
  311. configure terminal
  312. interface f0/0
  313. ip address 10.0.0.1 255.255.255.0
  314. no shutdown
  315. interface s0/0
  316. ip address 1.0.0.1 255.255.255.252
  317. no shutdown
  318. interface s0/1
  319. ip address 2.0.0.1 255.255.255.252
  320. no shutdown
  321. ----------------------------------------
  322.  
  323.  
  324. 2. On Router2 configure the following interfaces with IP addresses:
  325. ? f0/0 with IP address 20.0.0.1/24
  326. ? f0/1 with IP address 4.0.0.1/30
  327. ? s0/0 with IP address 1.0.0.2/30
  328. ? s0/1 with IP address 3.0.0.1/30
  329.  
  330. -----Type these commands on router 2----
  331. enable
  332. configure terminal
  333. interface f0/0
  334. ip address 20.0.0.1 255.255.255.0
  335. no shutdown
  336. interface f0/1
  337. ip address 4.0.0.1 255.255.255.252
  338. no shutdown
  339. interface s0/0
  340. ip address 1.0.0.2 255.255.255.252
  341. no shutdown
  342. interface s0/1
  343. ip address 3.0.0.1 255.255.255.252
  344. no shutdown
  345. ----------------------------------------
  346.  
  347. 3. On Router3 configure the following interfaces with IP addresses:
  348. ? f0/0 with IP address 30.0.0.1/24
  349. ? s0/0 with IP address 3.0.0.2/30
  350. ? s0/1 with IP address 2.0.0.2/30
  351.  
  352.  
  353. -----Type these commands on router 3----
  354. enable
  355. configure terminal
  356. interface f0/0
  357. ip address 30.0.0.1 255.255.255.0
  358. no shutdown
  359. interface s0/0
  360. ip address 3.0.0.2 255.255.255.252
  361. no shutdown
  362. interface s0/1
  363. ip address 2.0.0.2 255.255.255.252
  364. no shutdown
  365. ----------------------------------------
  366.  
  367. 4. On Router4 configure the following interfaces with IP addresses:
  368. ? f0/0 with IP address 40.0.0.1/24
  369. ? f0/1 with IP address 4.0.0.2/30
  370.  
  371.  
  372. -----Type these commands on router 4----
  373. enable
  374. configure terminal
  375. interface f0/0
  376. ip address 40.0.0.1 255.255.255.0
  377. no shutdown
  378. interface f0/1
  379. ip address 4.0.0.2 255.255.255.252
  380. no shutdown
  381. ----------------------------------------
  382.  
  383. 5. On Router1 configure EIGRP to achieve the following requirements:
  384. ? Autonomous system 10
  385. ? Auto route summarization disabled
  386. ? All attached networks should be advertised
  387. ? No EIGRP routing updates should be sent towards Host1
  388.  
  389. -----Type these commands on router 1----
  390. enable
  391. configure terminal
  392. router eigrp 10
  393. network no auto-summary
  394. network 1.0.0.0 0.0.0.3
  395. network 2.0.0.0 0.0.0.3
  396. exit
  397. ----------------------------------------
  398.  
  399.  
  400. 6. On Router2 configure EIGRP to achieve the following requirements:
  401. ?Autonomous system 10
  402. ? Auto route summarization disabled
  403. ? All attached networks should be advertised
  404. ? No EIGRP routing updates should be sent towards Host2
  405.  
  406. -----Type these commands on router 2----
  407. enable
  408. configure terminal
  409. router eigrp 10
  410. network no auto-summary
  411. network 4.0.0.0 0.0.0.3
  412. network 1.0.0.0 0.0.0.3
  413. network 3.0.0.0 0.0.0.3
  414. exit
  415. ----------------------------------------
  416.  
  417. 7. On Router3 configure EIGRP to achieve the following requirements:
  418. ?Autonomous system 10
  419. ? Auto route summarization disabled
  420. ? All attached networks should be advertised
  421. ? No EIGRP routing updates should be sent towards Host3
  422.  
  423. -----Type these commands on router 1----
  424. enable
  425. configure terminal
  426. router eigrp 10
  427. network no auto-summary
  428. network 3.0.0.0 0.0.0.3
  429. network 2.0.0.0 0.0.0.3
  430. exit
  431. ----------------------------------------
  432.  
  433. 8. On Router4 configure EIGRP to achieve the following requirements:
  434. ?Autonomous system 10
  435. ? Auto route summarization disabled
  436. ? All attached networks should be advertised
  437. ? No EIGRP routing updates should be sent towards Host4
  438.  
  439. -----Type these commands on router 1----
  440. enable
  441. configure terminal
  442. router eigrp 10
  443. network no auto-summary
  444. network 4.0.0.0 0.0.0.3
  445. exit
  446. ----------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement