DHCP 設定

 

設定10.10.10.1~10.10.10.50為DHCP派發的範圍

 

Switch(config)# ip dhcp pool test
//設定dhcp pool 名稱為test

Switch (dhcp-config)# network 10.10.10.0 255.255.255.128
//設定dhcp pool 的範圍為10.10.10.0 /25

Switch (dhcp-config)# dns-server 8.8.8.8
//指定dns server

Switch (dhcp-config)# default-router 10.10.10.1
//指定gateway

Switch (config)# ip dhcp excluded-address 10.10.10.51 10.10.10.127
//排除10.10.10.51~127的範圍,不派IP

arrow
arrow
    文章標籤
    dhcp
    全站熱搜
    創作者介紹
    創作者 台妹攻城師 的頭像
    台妹攻城師

    飛向自由

    台妹攻城師 發表在 痞客邦 留言(0) 人氣()