SHARE
TWEET

Cn

a guest Apr 19th, 2019 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Azim Uddin Chowdhury All Rights Reserved
  2. Instructor, Dept of CSE & Cisco Networking Academy UIU CISCO Networking Academy
  3. United International University
  4. CSE 324 Lab Final Practice Exam & Solution
  5. =========================================
  6. Step 1: Configure DHCP in Guest Network
  7. ========================================
  8. R3(config)#ip dhcp pool R3Fa1/0
  9. R3(dhcp-config)#network 172.16.4.40 255.255.255.248
  10. R3(dhcp-config)#default-router 172.16.4.41
  11. R3(dhcp-config)#dns-server 172.16.1.132
  12. R3(dhcp-config)#exit
  13. R3(config)#ip dhcp excluded-address 172.16.4.41 172.16.4.44
  14. ==========================================================
  15. Step 2: Configure Routing Protocols (Static, Default, and RIP)
  16. ==========================================================
  17. R1(config)#ip route 0.0.0.0 0.0.0.0 11.19.9.5
  18. R1(config)#router rip
  19. R1(config-router)#version 2
  20. R1(config-router)#net 172.16.5.96
  21. R1(config-router)#net 172.17.10.32
  22. R1(config-router)#net 172.17.20.16
  23. R1(config-router)#exit
  24. R2(config)#router rip
  25. R2(config-router)#version 2
  26. R2(config-router)#network 172.16.1.128
  27. R2(config-router)#net 172.16.2.160
  28. R2(config-router)#net 172.17.10.32
  29. R2(config-router)#net 172.17.30.80
  30. R2(config-router)#exit
  31. R3(config)#router rip
  32. R3(config-router)#version 2
  33. R3(config-router)#net 172.16.3.128
  34. R3(config-router)#net 172.16.4.40
  35. R3(config-router)#net 172.17.20.16
  36. R3(config-router)#net 172.17.30.80
  37. R3(config-router)#exit
  38. Azim Uddin Chowdhury All Rights Reserved
  39. Instructor, Dept of CSE & Cisco Networking Academy UIU CISCO Networking Academy
  40. United International University
  41. R1(config)#router rip
  42. R1(config-router)#default-information originate
  43. R1(config-router)#exit
  44. =====================
  45. Step 3: Configure NAT
  46. =====================
  47. ISP(config)#ip route 219.10.10.160 255.255.255.240 11.19.9.6
  48. R1(config)#ip nat pool UIU 219.10.10.162 219.10.10.165 netmask 255.255.255.224
  49. R1(config)#access-list 10 permit 172.16.1.128 0.0.0.63
  50. R1(config)#access-list 10 permit 172.16.2.160 0.0.0.31
  51. R1(config)#access-list 10 permit 172.16.3.128 0.0.0.127
  52. R1(config)#access-list 10 permit 172.16.4.40 0.0.0.7
  53. R1(config)#access-list 10 permit 172.16.5.96 0.0.0.15
  54. R1(config)#ip nat inside source list 10 pool UIU overload
  55. R1(config)#int g4/0
  56. R1(config-if)# ip nat outside
  57. R1(config-if)# exit
  58. R1(config)#int range fa0/0, g2/0, g3/0
  59. R1(config-range-if)# ip nat inside
  60. R1(config-range-if)# exit
  61. =======================================
  62. Step 5: Design and Implement ACL on Specific Router
  63. ======================================= Q1. R2(config)#access-list 100 permit ip host 172.16.2.162 host 172.16.1.131
  64. R2(config)#access-list 100 permit ip host 172.16.5.98 host 172.16.1.131
  65. R2(config)#access-list 100 permit tcp any host 172.16.1.131 eq www
  66. R2(config)#access-list 100 permit ip any any
  67. R2(config)#int fastEthernet 0/0
  68. R2(config-if)#ip access-group 100 out
  69. R2(config-if)#exit
  70. Azim Uddin Chowdhury All Rights Reserved
  71. Instructor, Dept of CSE & Cisco Networking Academy UIU CISCO Networking Academy
  72. United International University
  73. Q2.
  74. ISP(config)#access-list 1 deny 10.0.0.0 0.255.255.255
  75. ISP(config)#access-list 1 deny 172.16.0.0 0.15.255.255
  76. ISP(config)#access-list 1 deny 192.168.0.0 0.0.255.255
  77. ISP(config)#access-list 1 permit any
  78. ISP(config)#int G2/0
  79. ISP(config-if)#ip access-group 1 in
  80. ISP(config-if)#exit
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top