Advertisement
nickbeee

Cisco router - SLIP for ETHERSLIP serial connection

Jan 23rd, 2020
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. ! ----- SLIP protocol on Async port
  2. interface Async1
  3. !--- The async interface that corresponds to the AUX port.
  4. !--- Use the show line command to determine which async interface corresponds
  5. !--- to the AUX port.
  6. ip address 192.168.10.1 255.255.255.252
  7. !--- The IP address on the AUX ports of both routers are in the same subnet.
  8. encapsulation slip
  9. !--- Set SLIP as the encapsulation.
  10. async default routing
  11. !--- This allows routing protocols on the link.
  12. async mode dedicated
  13. !
  14. no ip classless
  15. !--- The default route points to the Async1 (AUX port) interface.
  16. logging buffered
  17. !
  18. line aux 0
  19. !--- Line configuration for the AUX port.
  20. modem InOut
  21. transport input all
  22. !--- This allows all protocols to use the line.
  23. speed 38400
  24. !--- Set the line speed.
  25. flowcontrol hardware
  26. !
  27. ! Outside interface
  28. int f0
  29. ip address 10.4.19.75 255.255.252.0
  30. ip nat outside
  31. !
  32. !--- NAT for inside SLIP interface
  33. access list 1 permit 192.168.10.0 0.0.0.3
  34. ip nat inside source list 1 interface f0 overload
  35. !--- Finally a default route !
  36. ip route 0.0.0.0 0.0.0.0 10.4.16.1
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement