Guest User

Untitled

a guest
May 22nd, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. 192.168.1.0/24
  2. (W) -------------- (R1) -------------- (R2)
  3. fa0/0 fa0/1
  4.  
  5. (translacja W na fa0/1)
  6. R1:
  7. access-list 10 permit 192.168.0.0 0.0.255.255
  8. ip nat inside source list 10 int fa0/1 overload
  9. int fa0/0
  10. ip address 192.168.1.1 255.255.255.0
  11. ip nat inside
  12. int fa0/1
  13. ip address 172.16.1.1 255.255.255.0
  14. ip nat outside
  15.  
  16. (dynamiczne przydzielanie z puli)
  17. R1:
  18. access-list 10 permit 192.168.0.0 0.0.255.255
  19. ip nat pool PULA_NAT 172.16.1.100 172.16.1.120 netmask 255.255.255.0
  20. ip nat inside source list 10 pool PULA_NAT
  21. int fa0/0
  22. ip address 192.168.1.1 255.255.255.0
  23. ip nat inside
  24. int fa0/1
  25. ip address 172.16.1.1 255.255.255.0
  26. ip nat outside
  27.  
  28. (konkretne przypisanie IP IP)
  29. R1:
  30. ip nat inside source static 192.168.1.15 172.16.1.15
  31.  
  32. (dynamicznie + statycznie)
  33. R1:
  34. access-list 10 deny (host?) 192.168.1.15 0.0.0.255
  35. access-list 10 permit 192.168.0.0 0.0.255.255
  36.  
  37. ip nat inside source list 10 pool PULA_NAT
  38. ip nat inside source static 192.168.1.15 172.16.1.15
Add Comment
Please, Sign In to add comment