自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

動(dòng)手演練之DHCP實(shí)驗(yàn)

網(wǎng)絡(luò) 網(wǎng)絡(luò)管理
文章中,我們針對(duì)DHCP實(shí)驗(yàn)的內(nèi)容進(jìn)行分析和講解,通過(guò)實(shí)驗(yàn)內(nèi)容,我們可以為大家講解一下相關(guān)操作。

隨著我們對(duì)DHCP協(xié)議的深入了解,我們不妨動(dòng)手做一下DHCP實(shí)驗(yàn),來(lái)幫助我們了解DHCP的有關(guān)操作。這里我們就來(lái)講解三個(gè)DHCP實(shí)驗(yàn)。近日,有朋友問(wèn)我一些DHCP實(shí)驗(yàn)的一些問(wèn)題。隨便就再把DHCP的實(shí)驗(yàn)重新做了一次,與大家分離一下:

DHCP實(shí)驗(yàn)一:無(wú)DHCP代理

拓?fù)淙缦拢?/p>

Router0配置如下:

!interface FastEthernet0/1
ip address 192.168.1.1 255.255.255.0
!
ip dhcp excluded-address 192.168.0.1
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool bapilong
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
dns-server 10.10.10.10

PC機(jī)可獲取到IP地址,如圖:

以上實(shí)驗(yàn)使用思科TP模擬器

DHCP實(shí)驗(yàn)二:使用DHCP中繼代理

拓?fù)鋱D如下:

Router1配置如下:

!
ip dhcp excluded-address 10.10.10.1
ip dhcp excluded-address 20.20.20.1
!
ip dhcp pool work1
   network 10.10.10.0 255.255.255.0
   default-router 10.10.10.1
   dns-server 100.100.100.100
!
ip dhcp pool work2
   network 20.20.20.0 255.255.255.0
   default-router 20.20.20.1
   dns-server 100.100.100.100
!
interface Ethernet1/0
ip address 23.1.1.2 255.255.255.0
!
ip route 10.10.10.0 255.255.255.0 23.1.1.1
ip route 20.20.20.0 255.255.255.0 23.1.1.1

Router2配置如下:

interface Ethernet1/0
ip address 10.10.10.1 255.255.255.0
ip helper-address 23.1.1.2
!
interface Ethernet1/1
ip address 23.1.1.1 255.255.255.0
!
interface Ethernet1/3
ip address 20.20.20.1 255.255.255.0
ip helper-address 23.1.1.2

DHCP實(shí)驗(yàn)結(jié)果如下:

PC2:

R1#Interface FastEthernet0/1 assigned DHCP address 10.10.10.2, mask 255.255.255.0
R4#show ip int br

Interface                  IP-Address         OK?   Method             Status                   Protocol
FastEthernet0/0       unassigned      YES      unset    administratively down        down   
FastEthernet0/1       10.10.10.2       YES       DHCP             up                             up

PC3:

R4#Interface FastEthernet0/1 assigned DHCP address 20.20.20.2, mask 255.255.255.0

Interface                  IP-Address      OK?      Method              Status                   Protocol
FastEthernet0/0      unassigned      YES        unset     administratively down      down   
FastEthernet0/1      20.20.20.2       YES         DHCP                 up                        up  

以上使用工大DY,CCNA路由版做為實(shí)驗(yàn),用思科TP做這個(gè)實(shí)驗(yàn)時(shí)總是無(wú)法獲取IP地址,故使用DY,其中的PC2為R3路由器,PC3為R4路由器,該兩臺(tái)路由器模擬成PC機(jī),具體配置我就不帖出來(lái)了。

DHCP實(shí)驗(yàn)三:使用三層交換機(jī)

網(wǎng)絡(luò)拓?fù)淙缦拢?/p>

三層交換機(jī)配置如下:

  1. !  
  2. interface FastEthernet0/1  
  3. switchport access vlan 20  
  4. !  
  5. interface FastEthernet0/2  
  6. switchport access vlan 30  
  7. !  
  8. interface Vlan20  
  9. ip address 20.20.20.1 255.255.255.0  
  10. !  
  11. interface Vlan30  
  12. ip address 30.30.30.1 255.255.255.0  
  13. !  
  14. ip dhcp pool work1  
  15. network 20.20.20.0 255.255.255.0  
  16. default-router 20.20.20.1  
  17. dns-server 100.100.100.100  
  18. ip dhcp pool work2  
  19. network 30.30.30.0 255.255.255.0  
  20. default-router 30.30.30.1  
  21. dns-server 100.100.100.100 

DHCP實(shí)驗(yàn)結(jié)果如下:

PC4:

PC5配置如下:

以上使用思科TP做為實(shí)驗(yàn)工具。

責(zé)任編輯:佟健 來(lái)源: 網(wǎng)絡(luò)整理
相關(guān)推薦

2010-09-01 10:27:43

vSphere服務(wù)器虛擬化VMware

2020-05-20 13:53:41

HTTP環(huán)境安裝

2010-09-01 10:19:43

配置DHCP

2010-09-27 11:12:33

DHCP IP分配

2014-11-27 10:52:17

vlan路由

2009-12-14 13:18:34

Hyper-V虛擬機(jī)

2009-12-21 09:05:22

2010-09-03 12:19:18

DHCP服務(wù)器dhcp配置

2012-04-10 11:26:53

DNS服務(wù)

2010-09-01 11:31:52

vSphere服務(wù)器虛擬化VMware

2010-09-01 10:24:53

vSphere服務(wù)器虛擬化VMware

2010-08-31 11:37:26

vSphere服務(wù)器虛擬化VMwar

2011-03-02 11:15:21

WindowsPhon動(dòng)手實(shí)驗(yàn)室

2011-03-02 11:21:31

WindowsPhon動(dòng)手實(shí)驗(yàn)室

2010-09-01 10:37:04

vSphere服務(wù)器虛擬化VMware

2010-08-31 11:30:26

vSphere服務(wù)器虛擬化VMware

2010-08-30 16:14:26

DHCP實(shí)驗(yàn)

2010-08-30 17:13:01

DHCP中繼代理

2010-08-30 19:48:27

DHCP服務(wù)

2010-09-01 13:07:48

vSphere服務(wù)器虛擬化VMware
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)