DHCP服務(wù)器配置與中繼服務(wù)器配置
配置路由
1.路由器設(shè)置IP
Huaweiintg0/0/0
R1-GigabitEthernet0/0/0ipaddress192.168.1.25424
R1-GigabitEthernet0/0/0intg0/0/1
R1-GigabitEthernet0/0/1ipaddress192.168.2.124
R3intg0/0/1
R3-GigabitEthernet0/0/1ipaddress192.168.2.224
R3-GigabitEthernet0/0/1intg0/0/0
R3-GigabitEthernet0/0/0ipaddress192.168.3.124
R4intg0/0/1
R4-GigabitEthernet0/0/1ipaddress192.168.4.124
R4-GigabitEthernet0/0/1intg0/0/0
R4-GigabitEthernet0/0/0ipaddress192.168.3.2.24
2.配置靜態(tài)路由(默認(rèn)路由)
R1iproute-static0.0.0.00.0.0.0192.168.2.2
R4iproute-static0.0.0.00.0.0.0192.168.3.1
3配置DHCP服務(wù)器
3.1創(chuàng)建兩個(gè)IP地址池
R1dhcpenable
R1ippoolppp
R1i-ip-pool-pppnetwork192.168.1.0mask24
R1-ip-pool-pppgateway-list192.168.1.254
R1-ip-pool-pppdns
R1-ip-pool-pppdns-list8.8.8.8R1-ip-pool-pppleaseday1
R1-ip-pool-pppexcluded-ip-address192.168.1.10192.168.1.20
R1-ip-pool-pppq
R1ippoolooo
R1i-ip-pool-ooonetwork192.168.4.0mask24
R1-ip-pool-ooogateway-list192.168.2.1
R1-ip-pool-ooodns
R1-ip-pool-ooodns-list8.8.8.8
R1i-ip-pool-oooleaseday1
3.2端口啟動(dòng)dhcp為全局連接
R1intg0/0/1
R1-GigabitEthernet0/0/1dhcpselectglobal
R1intg0/0/0
R1-GigabitEthernet0/0/0dhcpselectglobal
配置中繼代理
relaydhcpenable
relayintg0/0/1
relay-GigabitEthernet0/0/1dhcpselectrelay
relay-GigabitEthernet0/0/1dhcprelayserver-ip192.168.2.1
結(jié)果驗(yàn)證
Tags:配置路由,DHCP服務(wù)器配置與中繼服務(wù)器配置
版權(quán)聲明:本站文章來(lái)源標(biāo)注為YINGSOO的內(nèi)容版權(quán)均為本站所有,歡迎引用、轉(zhuǎn)載,請(qǐng)保持原文完整并注明來(lái)源及原文鏈接。禁止復(fù)制或仿造本網(wǎng)站,禁止在非maisonbaluchon.cn所屬的服務(wù)器上建立鏡像,否則將依法追究法律責(zé)任。本站部分內(nèi)容來(lái)源于網(wǎng)友推薦、互聯(lián)網(wǎng)收集整理而來(lái),僅供學(xué)習(xí)參考,不代表本站立場(chǎng),如有內(nèi)容涉嫌侵權(quán),請(qǐng)聯(lián)系alex-e#qq.com處理。
關(guān)注官方微信