Advertisement
moreiramota

Untitled

Apr 30th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.45 KB | None | 0 0
  1. !
  2. version 12.4
  3. no service timestamps log datetime msec
  4. no service timestamps debug datetime msec
  5. no service password-encryption
  6. !
  7. hostname Router
  8. !
  9. !
  10. !
  11. !
  12. ip dhcp excluded-address 172.22.167.129
  13. ip dhcp excluded-address 172.22.165.1
  14. ip dhcp excluded-address 172.22.167.1
  15. ip dhcp excluded-address 172.22.164.1
  16. ip dhcp excluded-address 172.22.166.1
  17. !
  18. ip dhcp pool F0
  19. network 172.22.164.0 255.255.255.0
  20. default-router 172.22.164.1
  21. dns-server 172.22.167.3
  22. domain-name buildingD
  23. ip dhcp pool F1
  24. network 172.22.165.0 255.255.255.0
  25. default-router 172.22.165.1
  26. dns-server 172.22.167.3
  27. domain-name buildingD
  28. ip dhcp pool WiFi
  29. network 172.22.166.0 255.255.255.0
  30. default-router 172.22.166.1
  31. dns-server 172.22.167.3
  32. domain-name buildingD
  33. ip dhcp pool Admin
  34. network 172.22.167.0 255.255.255.128
  35. default-router 172.22.167.1
  36. dns-server 172.22.167.3
  37. domain-name buildingD
  38. ip dhcp pool Phone
  39. network 172.22.167.128 255.255.255.128
  40. default-router 172.22.167.129
  41. option 150 ip 172.22.167.129
  42. dns-server 172.22.167.3
  43. domain-name building-d.rcomp-18-19-dk-g1
  44. !
  45. !
  46. !
  47. no ip cef
  48. no ipv6 cef
  49. !
  50. !
  51. !
  52. !
  53. !
  54. !
  55. !
  56. !
  57. !
  58. !
  59. !
  60. !
  61. spanning-tree mode pvst
  62. !
  63. !
  64. !
  65. !
  66. !
  67. !
  68. interface FastEthernet0/0
  69. no ip address
  70. duplex auto
  71. speed auto
  72. shutdown
  73. !
  74. interface FastEthernet0/1
  75. no ip address
  76. duplex auto
  77. speed auto
  78. shutdown
  79. !
  80. interface FastEthernet1/0
  81. no ip address
  82. !
  83. interface FastEthernet1/0.1
  84. encapsulation dot1Q 476
  85. ip address 172.22.164.1 255.255.255.0
  86. ip nat inside
  87. !
  88. interface FastEthernet1/0.2
  89. encapsulation dot1Q 477
  90. ip address 172.22.165.1 255.255.255.0
  91. ip nat inside
  92. !
  93. interface FastEthernet1/0.3
  94. encapsulation dot1Q 478
  95. ip address 172.22.166.1 255.255.255.0
  96. ip nat inside
  97. !
  98. interface FastEthernet1/0.4
  99. encapsulation dot1Q 479
  100. ip address 172.22.167.1 255.255.255.128
  101. ip nat inside
  102. !
  103. interface FastEthernet1/0.5
  104. encapsulation dot1Q 480
  105. ip address 172.22.167.129 255.255.255.128
  106. ip nat inside
  107. !
  108. interface FastEthernet1/0.6
  109. encapsulation dot1Q 451
  110. ip address 172.22.178.4 255.255.255.192
  111. ip nat outside
  112. !
  113. interface Vlan1
  114. no ip address
  115. shutdown
  116. !
  117. router ospf 4
  118. log-adjacency-changes
  119. network 172.22.178.0 0.0.0.63 area 0
  120. network 172.22.164.0 0.0.3.255 area 4
  121. network 172.22.164.0 0.0.0.255 area 4
  122. network 172.22.165.0 0.0.0.255 area 4
  123. network 172.22.166.0 0.0.0.255 area 4
  124. network 172.22.167.0 0.0.0.127 area 4
  125. network 172.22.167.128 0.0.0.127 area 4
  126. !
  127. router rip
  128. !
  129. ip nat inside source static tcp 172.22.167.3 80 172.22.178.4 80
  130. ip nat inside source static tcp 172.22.167.3 443 172.22.178.4 443
  131. ip nat inside source static tcp 172.22.167.3 53 172.22.178.4 53
  132. ip nat inside source static udp 172.22.167.3 53 172.22.178.4 53
  133. ip classless
  134. !
  135. ip flow-export version 9
  136. !
  137. !
  138. ip access-list extended FromF0
  139. permit udp any host 255.255.255.255
  140. permit icmp 172.22.164.0 0.0.0.255 any echo
  141. permit icmp 172.22.164.0 0.0.0.255 any echo-reply
  142. deny ip any host 172.22.164.1
  143. permit ip 172.22.164.0 0.0.0.255 any
  144. ip access-list extended FromF1
  145. permit udp any host 255.255.255.255
  146. permit icmp 172.22.165.0 0.0.0.255 any echo
  147. permit icmp 172.22.165.0 0.0.0.255 any echo-reply
  148. deny ip any host 172.22.165.1
  149. permit ip 172.22.165.0 0.0.0.255 any
  150. ip access-list extended FromWiFi
  151. permit udp any host 255.255.255.255
  152. permit icmp 172.22.166.0 0.0.0.255 any echo
  153. permit icmp 172.22.166.0 0.0.0.255 any echo-reply
  154. deny ip any host 172.22.166.1
  155. permit ip 172.22.166.0 0.0.0.255 any
  156. ip access-list extended FromPhone
  157. permit udp host 0.0.0.0 host 255.255.255.255
  158. permit tcp 172.22.167.0 0.0.0.127 any eq 2000
  159. permit udp 172.22.167.0 0.0.0.127 any eq tftp
  160. permit icmp 172.22.167.0 0.0.0.127 any echo
  161. permit icmp 172.22.167.0 0.0.0.127 any echo-reply
  162. deny ip any host 172.22.167.1
  163. permit ip 172.22.167.0 0.0.0.127 any
  164. ip access-list extended ToAdmin
  165. deny ip 172.22.167.128 0.0.0.127 any
  166. permit udp any 172.22.167.128 0.0.0.127 eq domain
  167. permit tcp any 172.22.167.128 0.0.0.127 eq domain
  168. permit tcp any 172.22.167.128 0.0.0.127 eq www
  169. permit tcp any 172.22.167.128 0.0.0.127 eq 443
  170. permit icmp any 172.22.167.128 0.0.0.127 echo
  171. permit icmp any 172.22.167.128 0.0.0.127 echo-reply
  172. ip access-list extended FromBackbone
  173. deny ip 172.22.164.0 0.0.3.255 any
  174. deny ip host 172.22.178.4 any
  175. permit ospf any any
  176. permit udp any host 172.22.178.4 eq domain
  177. permit tcp any host 172.22.178.4 eq domain
  178. permit tcp any host 172.22.178.4 eq www
  179. permit tcp any host 172.22.178.4 eq 443
  180. permit icmp any any echo
  181. permit icmp any any echo-reply
  182. deny ip any host 172.22.178.4
  183. permit ip any any
  184. !
  185. !
  186. !
  187. !
  188. !
  189. !
  190. dial-peer voice 1 voip
  191. destination-pattern 221.+
  192. session target ipv4:172.22.178.1
  193. !
  194. dial-peer voice 2 voip
  195. destination-pattern 222.+
  196. session target ipv4:172.22.178.2
  197. !
  198. dial-peer voice 3 voip
  199. destination-pattern 223.+
  200. session target ipv4:172.22.178.3
  201. !
  202. dial-peer voice 5 voip
  203. destination-pattern 225.+
  204. session target ipv4:172.22.178.5
  205. !
  206. dial-peer voice 6 voip
  207. destination-pattern 226.+
  208. session target ipv4:172.22.178.6
  209. !
  210. telephony-service
  211. max-ephones 2
  212. max-dn 2
  213. ip source-address 172.22.167.129 port 2000
  214. auto assign 1 to 2
  215. !
  216. ephone-dn 1
  217. number 2241
  218. !
  219. ephone-dn 2
  220. number 2242
  221. !
  222. ephone 1
  223. device-security-mode none
  224. mac-address 00E0.B02A.8022
  225. type 7960
  226. button 1:1
  227. !
  228. ephone 2
  229. device-security-mode none
  230. mac-address 0002.1639.CC19
  231. type 7960
  232. button 1:2
  233. !
  234. line con 0
  235. !
  236. line aux 0
  237. !
  238. line vty 0 4
  239. login
  240. !
  241. !
  242. !
  243. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement