DHCP全局ip地址池配置


dhcp enable                    \\啟動dhcp服務

ip pool pool1                  \\創建地址池,名字為pool1

network 10.0.12.0 mask 24      \\配置網絡地址和子網掩碼

gateway-list 10.0.12.1            \\指定地址池的網關

lease day 1 hour 12              \\分配ip的有效時長

interface GigabitEthernet 0/0/1

dhcp select global                \\開啟全局配置IP

ip address 10.0.12.1           \\配置網關


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM