思科項目2實戰(dhcp,動態路由ospf,鏈路捆綁等)

涉及ospf、鏈路捆綁.png

介紹項目1未提及的三項配置:

  1. 鏈路捆綁配置:


    R3(config)#int range fa1/13 -14

    R3(config-if-range)#channel-group 1 mode on

    R3#show etherchannel summary   查看捆綁配置

    SW1(config)#int range fa1/13 -14

    SW1(config-if-range)#channel-group 1 mode on   //這裏的1R3中定義的相同


2.DHCP:

    

    R4#conf t

    R4(config)#ip dhcp pool v20

    R4(dhcp-config)#network 192.168.20.0 /24

    R4(dhcp-config)#default-router 192.168.20.1

    vcps上:pc打 ip dhcp 即可獲取動態ip


3.動態路由(OSPF):RIP類似

    和靜態路由區別:靜態是缺什麼加什麼,動態是自己知道什麼說什麼

    R1(config)#router ospf 110

    R1(config-router)#network 192.168.13.0 0.0.0.255 a 0

    R1(config-router)#net 192.168.14.0 0.0.0.255 a 0

    R3(config)#router ospf 110

    R3(config-router)#net 192.168.13.0 0.0.0.255 a 0

    R3(config-router)#net 192.168.10.0 0.0.0.255 a 0

    R3(config-router)#net 192.168.20.0 0.0.0.255 a 0

    R4(config)#router ospf 110

    R4(config-router)#net 192.168.14.0 0.0.0.255 a 0

    R4(config-router)#net 192.168.10.0 0.0.0.255 a 0

    R4(config-router)#net 192.168.20.0 0.0.0.255 a 0




    

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章