欢迎来到天天文库
浏览记录
ID:41717461
大小:49.61 KB
页数:6页
时间:2019-08-30
《实训三十一交换机DHCP中继功能的配置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实训三^一交换机DHCP中继功能的配置一、实训目的1、了解DHCP原理;2、熟练掌握交换机DHCP中继的配置方法;3、了解该功能的广泛应用。二、应用环境当DHCP客户机和DHCP服务器不在同一个网段时,由DHCP屮继传递DHCP报文。增加DHCP中继功能的好处是不必为每个网段都设置DIICP服务器,同一个DIICP服务器可以为很多个子网的客户机提供网络配置参数,即节约了成本又方便了管理。这就是DHCP中继的功能。三、实训设备1.DCRS-5650-52CT交换机2台2.PC机1-3台3.Console线1根4.直通网线若干四、实训拓
2、扑switchAVIan10五、实训要求在交换机A上划分两个基于端口的VLAN:VLAN10,VLAN100oVLANIP端口成员10192」68.1.1/24110010.1.157.100/2424交换机A的端口24连接一台DHCP服务器,服务器的地址为10.1.157.1/24;交换机A的端口2连接交换机B的24口;交换机B恢复出场设备,不作任何配置,当成HUB来用。DHCP服务器的地址池中的地址范围为:192.168.1.10/24-192.168.1.100/24.六、实训步骤第一步:交换机全部恢复出厂设置,创建vlanl
3、O和vlanlOO。switch(Config)#switch(Config)#vlan10switch(Config-VlanlO)#switchportinterfaceEthernet0/0/1switch(Config-VlanlO)#exitswitch(Config)#v1an100switch(Config-Vlanl00)#switchportinterfaceEthernet0/0/24switch(Config-Vlan100)#exit第二步:给交换机设置IP地址。switch(Config)#interfac
4、evian10switch(Config-If-Vlanl0)#ipaddress192.16&1.1255.255.255.0switch(Config-Tf-Vlan10)#noshutdownswitch(Config)#interfacevlan100switch(Config-If-V1an100)#ipaddress10.1.157.100255.255.255.0switch(Config-If-Vlan100)#noshutdown第三步:配置DHCP中继switch(Config)#servicedhcpswitc
5、h(Config)#ipforward-protocoludpbootpsswitch(Config)#interfacevlan10switch(Config-Tf-Vlanl0)#iphelper-address10.1.157.1switch(Config-If-VlanlO)#exitswitch(Config)#第四步:验证实训。使用“ipconfig/renew”命令在PC的dos命令行中检查是否得到了正确的IP.七、注意事项和排错1、若中间负责转发DHCP报文的交换机、路由器不具备DHCP中继功能,建议替换掉中间的设备
6、或更新版本,使其具备DHCP中继功能,才能正确进行这个功能。八、配置序列switch#showrunnoservicepassword-encryptionhostnameswitchipforward-protocoludp67servicedhepi•vlan1i■vlan10Ivlan100I•InterfaceEthernet0/0/lswitchportaccessvlan10InterfaceEthernct0/0/2i■InterfaceEthernet0/0/3InterfaceEthernet0/0/4i•Inte
7、rfaceEthernet0/0/5i■TnterfaceEthernet0/0/6InterfaceEthernct0/0/7iInterfaceEthernet0/0/8InterfaceEthernet0/0/9InterfaceEthernet0/0/10i■InterfaceEthernet0/0/llIInterfaceEthernct0/0/12InterfaceEthernet0/0/13InterfaceEthernet0/0/14InterfaceEthernet0/0/15InterfaceEthernet0/
8、0/16InterfaceEthernetO/O/17i■InterfaceEthernet0/0/18InterfaceEthernct0/0/19iInterfaceEthernet0/0/20InterfaceEthernet0
此文档下载收益归作者所有