2、Router0的配置

  1. Router0#sh startup-conf  
  2. Using 625 bytes  
  3. !  
  4. version 12.4  
  5. service password-encryption  
  6. !  
  7. hostname Router0  
  8. !  
  9. !  
  10. !  
  11. !  
  12. !  
  13. ip ssh version 1  
  14. !  
  15. !  
  16. interface FastEthernet0/0  
  17. ip address 192.168.4.1 255.255.255.0  
  18. ip helper-address 192.168.1.4     \\配置DHCP中继代理,DHCP服务器是192.168.1.4  
  19. duplex auto  
  20. speed auto  
  21. !  
  22. interface FastEthernet0/1  
  23. ip address 192.168.3.1 255.255.255.0  
  24. ip helper-address 192.168.1.2                 \\配置DHCP中继代理,DHCP服务器是192.168.1.2  
  25. duplex auto  
  26. speed auto  
  27. !  
  28. interface Serial0/3/0  
  29. ip address 192.168.2.2 255.255.255.0  
  30. !  
  31. interface Vlan1  
  32. no ip address  
  33. shutdown  
  34. !  
  35. router eigrp 10                                   \\启用EIGRP路由协议  
  36. network 192.168.3.0  
  37. network 192.168.2.0  
  38. network 192.168.4.0  
  39. auto-summary  
  40. !  
  41. ip classless  
  42. !  
  43. !  
  44. !  
  45. !  
  46. !  
  47. line con 0  
  48. line vty 0 4  
  49. password 7 0822455D0A16  
  50. login  
  51. !  
  52. !  
  53. end 


相关内容