Guest User

Router config

a guest
Jul 7th, 2020
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. int fa0/0 (interface connected to hub)
  2. ip address 192.168.0.50 255.255.255.0
  3. ip nat outside
  4. no shut
  5.  
  6. int fa0/1.2
  7. encapsulaton dot1q 2
  8. ip address 10.0.0.1 255.255.0.0
  9. ip nat inside
  10. no shut
  11.  
  12. int fa0/1 (interface connected to switch)
  13. no shut
  14.  
  15. Setup NAT:
  16.  
  17. access-list 1 permit 10.0.0.0 0.0.0.255
  18. ip nat inside source list 1 interface fa0/0 overload
  19.  
  20. ip route 0.0.0.0 0.0.0.0 192.168.0.1
Add Comment
Please, Sign In to add comment