Advertisement
adibahbab4108

Incognito

Jun 25th, 2024
1,110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 0.73 KB | Source Code | 0 0
  1. #PC CONFIGURATION
  2. PC1> ip 192.168.1.4/24 192.168.1.3
  3. PC2> ip 192.168.1.5/24 192.168.1.3
  4. PC3> ip 192.168.1.6/24 192.168.1.3
  5. PC4> ip ip 192.168.1.7/24 192.168.1.3
  6. PC5> ip 192.168.1.10/24 192.168.1.3
  7. PC6> ip ip 192.168.1.20/24 192.168.1.3
  8.  
  9. #R1(ISP1) CONFIGURATION
  10. conf t
  11. interface f0/0
  12. ip add 192.168.1.1 255.255.255.0
  13. no sh
  14.  
  15. int lo 0
  16. ip add 8.8.8.8 255.0.0.0
  17.  
  18. int f0/0
  19. vrrp 1 ip 192.168.1.3
  20.  
  21. #R2(ISP2) CONFIGURATION
  22. conf t
  23. interface f0/0
  24. ip add 192.168.1.2 255.255.255.0
  25. no sh       #Turn on the router
  26. shut        #Turn of the router
  27. int lo 0
  28. ip add 8.8.8.8 255.0.0.0
  29.  
  30. int f0/0
  31. vrrp 1 ip 192.168.1.3
  32. exit        #exit from configuration
  33.  
  34. #SHOW CONFIGURATION
  35. sh ip int br    #for router
  36. show ip         #for PCs
  37. show vrrp       #vrrp status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement