Advertisement
adityass

Untitled

May 2nd, 2024
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. R1#            conf t
  2. R1(config)#    int s1/0
  3. R1(config-if)# ip add 100.1.1.2 255.255.255.0
  4. R1(config-if)# no shut
  5. R1(config-if)# int s1/1
  6. R1(config-if)# ip address 20.1.1.1 255.255.255.0
  7. R1(config-if)# no shut
  8. R1(config-if)# ex
  9.  
  10. RIP Configuration Commands for R1:
  11.  
  12. R1(config)#        router rip
  13. R1(config-router)# version 2
  14. R1(config-router)# network 20.1.1.0
  15. R1(config-router)# network 100.1.1.0
  16.  
  17.  
  18. R0(config)#    int lo0 //loopback interface
  19. R0(config-if)# ip add 10.1.1.1 255.255.255.0
  20. R0(config-if)# no shut
  21.  
  22.  
  23. DHCP
  24.  
  25. en
  26. conf t
  27. int f0/0
  28. ip add (ip) /24
  29. no sh
  30. ex
  31.  
  32. int f0/0
  33. ip dhcp pool poolname
  34. network netid subnet
  35. default-router (ip)
  36. dns-server 8.8.8.8
  37. do wr
  38. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement