ciscodhcp配置.docx
《ciscodhcp配置.docx》由会员分享,可在线阅读,更多相关《ciscodhcp配置.docx(6页珍藏版)》请在第一文库网上搜索。
1、Ciscodhcp 配置2007-12-09 15:21某单位使用Cisco 3620作为IOS DHCP Server,它与内网相连的fastethernet 端口的IP地址为192. 168. 1.4,二层交换机使用两台CiSCO 2950,三层交换机 使用一台 Cisco 3550o在整个网络中有二个VLAN,为简化描述,假设每个VLAN都使用24位网络地址, 其中 VLANl 的 IP 地址为 192. 168. 1. 254, VLAN2 的 IP 地址为 192. 168. 2. 254o 在CiSCO设备上实现IOS DHCP SerVer功能以使各VLAN中的主机自动获得IP地
2、址,如下图所示。度CIcoc*alM/9/ IVlAN I 一W ,QInternotChco 3640Ci*coW0 249ctdM 】蜘/ enRouterttconfigure terminalRouter (config)#ho RlRl(config)#line console 0Rl (config-1ine)#no exec-timeoutRl(config-1ine)ftlogging synchronousRl(config-line)#exitRl(config)Sinterface f00Rl(config-if)#ip address 1. 1. 1, 2 255. O
3、. O. ORl(config-if)#no shutRl(config-if)#exitRl (config) #ip route 0. 0. 0. 0 0. 0. 0. 0 1. 1. 1. 1Rl (config)#ip dhcp pool 2Rl(dhcp-config)ftnetwork 192.168.2.0 /24Rl (dhcp-config)#default-router 192.168.2.1Rl(dhcp-config)#lease 7Rl(dhcp-config)SexitRl(config)#ip dhcp pool 3Rl(dhcp-config)#default-
4、router 192.168.3.1 /24Rl(dhcp-config)#default-router 192. 168. 3. 1Rl(dhcp-config)Slease 7Rl(dhcp-config)#exitS3 (三层交换机)配置:RouterenableRouterftconfig tRouter (config)#ho S3S3(config)#no ip domain lookupS3(config)#line console 0S3(config-line)#no exec-timeoutS3(config-1ine)Slogging synchronousS3(conf
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ciscodhcp 配置
