Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. ##--PPP--##
  2.  
  3. ligar do router R2 ao R3
  4.  
  5. conf t:
  6. R2> username R3 password [pass]
  7. R3> username R2 password [pass]
  8. int [n]
  9. encapsulation ppp
  10. ppp authentication pap|chap -> pap n encryptada, chap encryptada
  11.  
  12. ##--multilink ppp--##
  13.  
  14. int multilink [n group multilink]
  15. ip add [ip] [mask]
  16. ppp multilink
  17. ppp multilink group [n group multilink]
  18.  
  19. int [n int pertencentes ao multilink]
  20. encapsulation ppp
  21. ppp multilink
  22. ppp multilink group [n group multilink]
  23.  
  24. #--PPPoFR--#
  25.  
  26. conf t:
  27. R2> username R3 password [pass]
  28. R3> username R2 password [pass]
  29.  
  30. int [n int/n sub]
  31. encapsulation frame-relay
  32. no ip add
  33. no shut
  34. frame-relay interface-dlci [n dlci] ppp virtual-template [n V.T.]
  35. int virtual-template [n V.T.]
  36. ip add [ip] [mask]
  37. ppp authentication [pap/chap]
  38.  
  39. #-- Multilink PPPoFR --#
  40.  
  41. conf t: (opcional, so em caso de auth)
  42. R2> username R3 password [pass]
  43. R3> username R2 password [pass]
  44.  
  45. int [n int] (em todas as interfaces do multilink igual)
  46. encapsulation frame-relay
  47. no ip add
  48. no shut
  49. frame-relay interface-dlci [n dlci] ppp virtual-template [n V.T.]
  50.  
  51. int multilink [n group multilink]
  52. ip add [ip] [mask]
  53. ppp multilink
  54. ppp multilink group [n group multilink]
  55.  
  56. int virtual-template [n V.T.]
  57. ppp multilink
  58. ppp multilink group [n group multilink]
  59. ppp authentication [pap/chap] (opcional, so em caso de auth)
  60.  
  61.  
  62. #-- NAT --#
  63.  
  64. Int [n int saida]
  65. ip nat outside
  66. int [n int interior] (podem ser varias)
  67. ip nat inside
  68.  
  69. # Static #
  70.  
  71. IP NAT INSIDE source static [ip interno] [Ip nat]
  72.  
  73. # Dynamic #
  74. 1- criar pool
  75. ip nat pool [nome da pool] [1º endereço] [nº endereço] netmask [mask]
  76. 2- criar acl extended
  77. ip access-list extended [nome acl]
  78. permit ip [ip de rede permitida a nat] [wildcard] any
  79. 3- definir os bindings do nat
  80. ip nat inside source list [nome acl] pool [nome da pool]
  81.  
  82. #-- PAT / NAT overload --#
  83. 1- criar acl extended
  84. ip access-list extended [nome acl]
  85. permit ip [ip de rede permitida a nat] [wildcard] any
  86. 2- definir os bindings
  87. ip nat inside source list [nome acl] interface [int outside] overload
  88.  
  89. #-- Propagar rotas estaticas --#
  90.  
  91. router ospf 1
  92. default-information originate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement