当前位置: 首页 > news >正文

怎么做切片网站怎样创建网站快捷方式

怎么做切片网站,怎样创建网站快捷方式,中文网站做google广告好吗,邹平县建设局官方网站一、配置说明 拓扑图 S1是中兴三层核心交换机,作为DHCP Server使用,同时作为网关,PC通过自动获取IP地址接入网络 注意事项: S1全局下需要配置:IP Pool,DHCP Policy,打开DHCP功能 S1接口下需…

一、配置说明

拓扑图

S1是中兴三层核心交换机,作为DHCP Server使用,同时作为网关,PC通过自动获取IP地址接入网络

注意事项:

S1全局下需要配置:IP Pool,DHCP Policy,打开DHCP功能

S1接口下需要配置:IP地址绑定,绑定DHCP Policy,DHCP Server模式

二、配置思路:

1、配置IP Pool,IP Pool是定义地址池范围

2、配置DHCP Pool,需要绑定一个IP Pool,配置DNS、lease-time、default-router

3、配置DHCP Policy,策略选项

4、配置DHCP Server,在DHCP接口模式下配置为Server,并绑定配置的Policy

5、配置全局使能的DHCP

三、配置过程

在S1上的配置:

#配置IP Pool
S1(config)#ip pool vlan10#创建地址池
S1(config-ip-pool)#range 10.10.10.2 10.10.10.254  255.255.255.0#定义地址池范围
S1(config-ip-pool)#exclude 10.10.10.100 255.255.255.0#配置排除地址
S1(config-ip-pool)#exit #把IP Pool和DHCP Pool绑定
S1(config)#ip dhcp pool vlan10#进入地址池
S1(config-dhcp-pool)#ip-pool vlan10#地址池与ip-pool绑定
S1(config-dhcp-pool)#dns  223.5.5.5#配置dns
S1(config-dhcp-pool)#lease-time  0  4  0#配置地址池租期
S1(config-dhcp-pool)#default-roiuter 10.10.10.1#配置默认网关
S1(config-dhcp-pool)#exit#配置接口和接口的IP地址
S1(config)#switchvlan-configuration #进入交换机模式
S1(config-swvlan)#vlan10#创建vlan
S1(config-swvlan-sub)#switchport pvid gei-0/1/1/1#接口配置默认vlan(如过需要通过多个vlan,需要在接口下配置为trunk口,这个是access口)
S1(config-swvlan-sub)#exit 
S1(config-swvlan)#exit 
S1(config)#interface vlan10#进入vlan
S1(config-if)#ip addredss 10.10.10.1 255.255.255.0#配置vlan地址
S1(config-if)#exit #使能DHCP
S1(config)#dhcp#进入dhcp    
S1(config-dhcp)#enable#开启dhcp功能
S1(config-dhcp)#ramble #开启dhcp漫游功能(无线三层漫游)#接口下配置server以及选定policy
S1(config-dhcp)#interface vlan10#在dhcp下进入vlan
S1(config-dhcp-if)#mode server#配置为dhcp server
S1(config-dhcp-if)#policy vlan10#绑定policy
S1(config-dhcp-if)#exit 
S1(config-dhcp)#exit 
S1(config)#exit
S1#writer#保存配置

四、查看DHCP配置命令

S1(config)#show ip local pool#查看地址池开始结束,掩码情况S1(config)#show ip dhcp pool#查看池建立情况S1(config)#show ip dhcp policy#查看地址池策略S1(config)#show runnint-config dhcp #查看地址池详细信息S1(config)#show runnint-config  valn10#查看指定vlan下的dhcp配置

http://www.lebaoying.cn/news/199.html

相关文章: