偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

三個DHCP實驗應用精講

網(wǎng)絡 網(wǎng)絡管理
下面我們講解了三個關(guān)于DHCP實驗的內(nèi)容。那么針對DHCP的實際操作來說,這三個實驗可以給大家一些建議和參考。

對于DHCP來說,它與交換機以及路由器相結(jié)合而進行一些網(wǎng)絡調(diào)制和服務器的應用是非常常見的。這里我們就來講解三個DHCP實驗。近日,有朋友問我一些DHCP實驗的一些問題。隨便就再把DHCP的實驗重新做了一次,與大家分離一下:

DHCP實驗一:無DHCP代理

拓撲如下:

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機可獲取到IP地址,如圖:

以上實驗使用思科TP模擬器#p#

DHCP實驗二:使用DHCP中繼代理

拓撲圖如下:

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實驗結(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路由版做為實驗,用思科TP做這個實驗時總是無法獲取IP地址,故使用DY,其中的PC2為R3路由器,PC3為R4路由器,該兩臺路由器模擬成PC機,具體配置我就不帖出來了。#p#

DHCP實驗三:使用三層交換機

網(wǎng)絡拓撲如下:

三層交換機配置如下:

  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實驗結(jié)果如下:

PC4:

PC5配置如下:

以上使用思科TP做為實驗工具。

責任編輯:佟健 來源: hi.baidu.com
相關(guān)推薦

2010-09-26 11:17:55

dhcp relay配

2013-12-09 10:20:03

DHCP故障技巧

2023-12-21 16:25:23

WeChatSnapchatShopee

2010-08-25 17:21:21

DHCP服務器

2010-09-29 16:04:54

Cisco IOS D

2010-09-28 15:46:59

Win2000 DHC

2016-09-13 22:28:08

云計算saaspaas

2010-04-19 09:31:44

KDE

2010-09-03 12:33:43

H3C交換機DHCP

2010-09-25 15:00:48

DHCP服務器管理

2010-07-28 15:10:21

NFS配置

2020-09-25 16:40:52

Selenium

2020-06-11 09:00:27

SDN網(wǎng)絡架構(gòu)網(wǎng)絡

2011-07-10 14:23:58

投影儀用戶體驗

2012-05-09 09:49:57

移動支付

2010-09-27 09:40:27

DHCP服務器數(shù)據(jù)庫移

2023-04-26 11:14:11

IT領(lǐng)導者遠程工作

2015-11-06 09:45:21

2011-12-27 09:49:50

AndroidiOSFlurry

2010-07-21 16:57:44

telnet命令
點贊
收藏

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