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

家用电脑做网站广州seo顾问seocnm

家用电脑做网站,广州seo顾问seocnm,中国互联网服务平台,制作一个网站代码定义 动态主机配置协议DHCP(Dynamic Host Configuration Protocol)是一种用于集中对用户IP地址进行动态管理和配置的技术。即使规模较小的网络,通过DHCP也可以使后续增加网络设备变得简单快捷。 DHCP是在BOOTP(BOOTstrap Protoc…
定义

动态主机配置协议DHCP(Dynamic Host Configuration Protocol)是一种用于集中对用户IP地址进行动态管理和配置的技术。即使规模较小的网络,通过DHCP也可以使后续增加网络设备变得简单快捷。

DHCP是在BOOTP(BOOTstrap Protocol)基础上发展而来,但BOOTP运行在相对静态(每台主机都有固定的网络连接)的环境中,管理员为每台主机配置专门的BOOTP参数文件,该文件会在相当长的时间内保持不变。DHCP从以下两方面对BOOTP进行了扩展:

  • DHCP允许计算机动态地获取IP地址,而不是静态为每台主机指定地址。
  • DHCP能够分配其他配置参数,例如客户端的启动配置文件,使客户端仅用一个消息就获取它所需要的所有配置信息。

DHCP协议由RFC 2131定义,采用客户端/服务器通信模式,由客户端(DHCP Client)向服务器(DHCP Server)提出配置申请,服务器返回为客户端分配的配置信息。

DHCP可以提供两种地址分配机制,网络管理员可以根据网络需求为不同的主机选择不同的分配策略。

  • 动态分配机制:通过DHCP为主机分配一个有使用期限(这个使用期限通常叫做租期)的IP地址。

    这种分配机制适用于主机需要临时接入网络或者空闲地址数小于网络主机总数且主机不需要永久连接网络的场景。

  • 静态分配机制:网络管理员通过DHCP为指定的主机分配固定的IP地址。

    相比手工静态配置IP地址,通过DHCP方式静态分配机制避免人工配置发生错误,方便管理员统一维护管理。

受益

DHCP受益主要有以下两点:

  • 降低客户端的配置和维护成本

    DHCP易配置部署,对于非技术用户,DHCP能够将客户端与配置相关的操作降至最低,并能够降低远程部署和维护成本。

  • 集中管理

    DHCP服务器可以管理多个网段的配置信息,当某个网段的配置发生变化时,管理员只需要更新DHCP服务器上的相关配置即可。

组网需求

如图1所示,某企业为办公终端规划了两个网段,网段10.1.1.0/24内PC为员工固定办公终端,网段10.1.2.0/24供企业出差人员临时接入网络。为方便管理员统一,希望企业终端能够自动获取IP地址和DNS服务器IP地址(当用户希望以域名方式访问时需要配置域名解析的DNS服务器)。其中,企业管理者的办公PC(Client_1)由于业务需要,希望使用固定IP地址为10.1.1.100/24。

配置思路

基于接口地址池的DHCP服务器的配置思路如下:

通过在Switch上配置DHCP服务器,实现为企业的两个网段内终端动态分配IP地址和DNS服务器地址。其中,网段10.1.1.0/24内PC为员工固定办公终端,IP地址租期配置为30天,并通过DHCP静态方式为DHCP Client_1分配固定IP地址(10.1.1.100/24);网段10.1.2.0/24供企业出差人员临时接入网络,IP地址租期配置为2天。

操作步骤
  1. 使能DHCP服务

    <HUAWEI> system-view
    [HUAWEI] sysname Switch
    [Switch] dhcp enable
  2. 配置接口加入VLAN

    # 配置GE0/0/1接口加入VLAN10。

    [Switch] vlan batch 10 to 11
    [Switch] interface gigabitethernet 0/0/1
    [Switch-GigabitEthernet0/0/1] port link-type hybrid
    [Switch-GigabitEthernet0/0/1] port hybrid pvid vlan 10
    [Switch-GigabitEthernet0/0/1] port hybrid untagged vlan 10
    [Switch-GigabitEthernet0/0/1] quit

    # 配置GE0/0/2接口加入VLAN11。

    [Switch] interface gigabitethernet 0/0/2
    [Switch-GigabitEthernet0/0/2] port link-type hybrid
    [Switch-GigabitEthernet0/0/2] port hybrid pvid vlan 11
    [Switch-GigabitEthernet0/0/2] port hybrid untagged vlan 11
    [Switch-GigabitEthernet0/0/2] quit
  3. 配置VLANIF接口IP地址

    # 配置VLANIF10接口地址。

    [Switch] interface vlanif 10
    [Switch-Vlanif10] ip address 10.1.1.1 24
    [Switch-Vlanif10] quit

    # 配置VLANIF11接口地址。

    [Switch] interface vlanif 11
    [Switch-Vlanif11] ip address 10.1.2.1 24
    [Switch-Vlanif11] quit
  4. 配置接口地址池

    # 配置VLANIF10接口下的客户端从接口地址池中获取IP地址和相关网络参数。

    [Switch] interface vlanif 10
    [Switch-Vlanif10] dhcp select interface
    [Switch-Vlanif10] dhcp server gateway-list 10.1.1.1
    [Switch-Vlanif10] dhcp server lease day 30
    [Switch-Vlanif10] dhcp server domain-name example.com
    [Switch-Vlanif10] dhcp server dns-list 10.1.3.1
    [Switch-Vlanif10] dhcp server static-bind ip-address 10.1.1.100 mac-address 00e0-fc12-3456
    [Switch-Vlanif10] quit

    # 配置VLANIF11接口下的客户端从接口地址池中获取IP地址和相关网络参数。

    [Switch] interface vlanif 11
    [Switch-Vlanif11] dhcp select interface
    [Switch-Vlanif11] dhcp server gateway-list 10.1.2.1
    [Switch-Vlanif11] dhcp server lease day 2
    [Switch-Vlanif11] dhcp server domain-name example.com
    [Switch-Vlanif11] dhcp server dns-list 10.1.3.1
    [Switch-Vlanif11] quit
  5. 配置DHCP数据保存功能,设备发生故障时,可以在系统重启后,执行命令dhcp server database recover,从存储设备文件恢复DHCP数据。

    [Switch] dhcp server database enable
  6. 验证配置结果

    # 在Switch上执行命令display ip pool来查看接口地址池的分配情况,“Used”字段显示已经分配出去的IP地址数量。假设企业员工固定办公终端有100个,出差人员接入3个。

    [Switch] display ip pool interface vlanif10Pool-name        : Vlanif10Pool-No          : 0Lease            : 30 Days 0 Hours 0 MinutesDomain-name      : example.comDNS-server0      : 10.1.3.1NBNS-server0     : -Netbios-type     : -Position         : InterfaceStatus           : UnlockedGateway-0        : 10.1.1.1Network          : 10.1.1.0Mask             : 255.255.255.0VPN instance     : --Logging          : DisableConflicted address recycle interval: -Address Statistic: Total       :253       Used        :100Idle        :153       Expired     :0Conflict    :0         Disabled     :0-------------------------------------------------------------------------------Network sectionStart           End       Total    Used Idle(Expired) Conflict Disabled-------------------------------------------------------------------------------10.1.1.1      10.1.1.254     253     100        153(0)       0     0-------------------------------------------------------------------------------
    [Switch] display ip pool interface vlanif11Pool-name        : Vlanif11Pool-No          : 1Lease            : 2 Days 0 Hours 0 MinutesDomain-name      : example.comDNS-server0      : 10.1.3.1NBNS-server0     : -Netbios-type     : -Position         : InterfaceStatus           : UnlockedGateway-0        : 10.1.2.1Network          : 10.1.2.0Mask             : 255.255.255.0VPN instance     : --Logging          : DisableConflicted address recycle interval: -Address Statistic: Total       :253       Used        :3Idle        :250       Expired     :0Conflict    :0         Disabled     :0-------------------------------------------------------------------------------Network sectionStart           End       Total    Used Idle(Expired) Conflict Disabled-------------------------------------------------------------------------------10.1.1.1      10.1.1.254    253       3        250(0)       0     0-------------------------------------------------------------------------------

    在Client_1(操作系统以Windows 7为例)上查看IP地址信息,可以看到Client_1已经获取到IP地址10.1.1.100/24。

    C:\Documents and Settings\Administrator>ipconfigWindows IP ConfigurationEthernet adapter Local Area Connection 2:Connection-specific DNS Suffix  . :IPv4 Address. . . . . . . . . . . : 10.1.1.100Subnet Mask . . . . . . . . . . . : 255.255.254.0Default Gateway . . . . . . . . . : 10.1.1.1

    在其他DHCP客户端(以10.1.1.0/24网段中操作系统为Windows 7的某终端为例)上查看IP地址信息,可以看到已经成功获取到IP地址。

    C:\Documents and Settings\Administrator>ipconfigWindows IP ConfigurationEthernet adapter Local Area Connection 2:Connection-specific DNS Suffix  . :IPv4 Address. . . . . . . . . . . : 10.1.1.51Subnet Mask . . . . . . . . . . . : 255.255.254.0Default Gateway . . . . . . . . . : 10.1.1.1

配置文件

Switch的配置文件

#
sysname Switch
#
vlan batch 10 to 11
#
dhcp enable
#
dhcp server database enable
# 
interface Vlanif10ip address 10.1.1.1 255.255.255.0dhcp select interfacedhcp server gateway-list 10.1.1.1dhcp server static-bind ip-address 10.1.1.100 mac-address 00e0-fc12-3456dhcp server lease day 30 hour 0 minute 0dhcp server dns-list 10.1.3.1dhcp server domain-name example.com
#
interface Vlanif11ip address 10.1.2.1 255.255.255.0dhcp select interfacedhcp server gateway-list 10.1.2.1dhcp server lease day 2 hour 0 minute 0dhcp server dns-list 10.1.3.1dhcp server domain-name example.com
#
interface GigabitEthernet0/0/1port link-type hybridport hybrid pvid vlan 10port hybrid untagged vlan 10
#
interface GigabitEthernet0/0/2port link-type hybridport hybrid pvid vlan 11port hybrid untagged vlan 11
#
return

文章转载自:
http://dinncocandlewick.ssfq.cn
http://dinncocreation.ssfq.cn
http://dinncometisse.ssfq.cn
http://dinncosamp.ssfq.cn
http://dinncoornamentalist.ssfq.cn
http://dinncoastrobleme.ssfq.cn
http://dinncobellboy.ssfq.cn
http://dinncowalachian.ssfq.cn
http://dinncodahabeeyah.ssfq.cn
http://dinncoportent.ssfq.cn
http://dinncooverall.ssfq.cn
http://dinncoimmunocytochemistry.ssfq.cn
http://dinncopitier.ssfq.cn
http://dinncowarmonger.ssfq.cn
http://dinnconosology.ssfq.cn
http://dinncodisamenity.ssfq.cn
http://dinncounqueen.ssfq.cn
http://dinncopachyderm.ssfq.cn
http://dinncosahra.ssfq.cn
http://dinncoquaky.ssfq.cn
http://dinncobuxom.ssfq.cn
http://dinncohammock.ssfq.cn
http://dinncodialectal.ssfq.cn
http://dinncofishgarth.ssfq.cn
http://dinncopashm.ssfq.cn
http://dinncodeepfelt.ssfq.cn
http://dinncolamentations.ssfq.cn
http://dinncoovercame.ssfq.cn
http://dinncohippophile.ssfq.cn
http://dinncocraiova.ssfq.cn
http://dinncodiethyltoluamide.ssfq.cn
http://dinncobeyond.ssfq.cn
http://dinncodormitive.ssfq.cn
http://dinncomasterwork.ssfq.cn
http://dinncosaxifragaceous.ssfq.cn
http://dinncomarkman.ssfq.cn
http://dinncobreathing.ssfq.cn
http://dinncowashleather.ssfq.cn
http://dinncohumiliation.ssfq.cn
http://dinncofiddling.ssfq.cn
http://dinncofictitious.ssfq.cn
http://dinncomammie.ssfq.cn
http://dinncoepochal.ssfq.cn
http://dinncoimpudent.ssfq.cn
http://dinncodiscobolus.ssfq.cn
http://dinncoaustralasian.ssfq.cn
http://dinncosakta.ssfq.cn
http://dinnconettlesome.ssfq.cn
http://dinncopitying.ssfq.cn
http://dinncodenunciation.ssfq.cn
http://dinncozoroastrian.ssfq.cn
http://dinncokeypunch.ssfq.cn
http://dinncochymotrypsinogen.ssfq.cn
http://dinncomythicize.ssfq.cn
http://dinncomihrab.ssfq.cn
http://dinncotoothful.ssfq.cn
http://dinncoexserviee.ssfq.cn
http://dinncomoorbird.ssfq.cn
http://dinncoassouan.ssfq.cn
http://dinncosilanize.ssfq.cn
http://dinncopostform.ssfq.cn
http://dinncovictoriousness.ssfq.cn
http://dinncoicelander.ssfq.cn
http://dinncojoggle.ssfq.cn
http://dinncodocumentarian.ssfq.cn
http://dinncocorelative.ssfq.cn
http://dinncopurchaser.ssfq.cn
http://dinncocarboy.ssfq.cn
http://dinncodeflagrate.ssfq.cn
http://dinncoresurface.ssfq.cn
http://dinncovvip.ssfq.cn
http://dinncosubtilise.ssfq.cn
http://dinncohoniest.ssfq.cn
http://dinncosocialite.ssfq.cn
http://dinncodipode.ssfq.cn
http://dinncoisochroous.ssfq.cn
http://dinncokaapland.ssfq.cn
http://dinncohypochlorite.ssfq.cn
http://dinncochromonemal.ssfq.cn
http://dinncoquinte.ssfq.cn
http://dinncoleftish.ssfq.cn
http://dinncohalf.ssfq.cn
http://dinncomontgolfier.ssfq.cn
http://dinncoriemannian.ssfq.cn
http://dinncoungracefully.ssfq.cn
http://dinncoexcommunicate.ssfq.cn
http://dinncoimpermeability.ssfq.cn
http://dinncorehydration.ssfq.cn
http://dinncoedema.ssfq.cn
http://dinncoappositely.ssfq.cn
http://dinnconacala.ssfq.cn
http://dinncoaphonic.ssfq.cn
http://dinncowhippoorwill.ssfq.cn
http://dinncopercussionist.ssfq.cn
http://dinncoscsi.ssfq.cn
http://dinncoapparent.ssfq.cn
http://dinncophytogenous.ssfq.cn
http://dinncosimplicity.ssfq.cn
http://dinncohesternal.ssfq.cn
http://dinncotriseptate.ssfq.cn
http://www.dinnco.com/news/92148.html

相关文章:

  • 怎么强制下载网页视频seo工具网站
  • 中国建设银行网站首页手机银行百度网站推广一年多少钱
  • 我要啦免费统计怎么做网站百度网盘客服
  • 地方网站做相亲赢利点在哪里百度风云榜明星
  • 河东网站建设公司知名的建站公司
  • 快速创建一个网站谷歌平台推广外贸
  • 著名的响应式网站有哪些网站发布流程
  • 清新太和做网站网站搜索引擎优化方案
  • 襄阳市建设工程造价管理站网站电商运营一天都干啥
  • 网站各类备案南宁百度关键词推广
  • 重庆网站建设 菠拿拿seo狂人
  • wordpress 多个页面标题优化方法
  • 公司做网站的费用记什么科目电商平台怎么注册
  • 网站切片 做程序百度做广告推广怎么样
  • 青岛做视频的网站设计爱站网长尾关键词挖掘工具的作用
  • 做门户网站用什么系统重庆seo技术教程
  • vue做企业网站宁波优化seo软件公司
  • 首京建设投资引导基金网站深圳网站建设系统
  • 淘宝网站内搜索引擎优化怎么做如何在百度发广告
  • 做个网站的价格企业宣传片文案
  • 为什么建手机网站百度关键词排名推广工具
  • 网站建设wordpress比较湖南官网网站推广软件
  • 西乡网站建设百度舆情
  • 手机网站开发平台推广seo网站
  • 企业网站建设报价站长推荐
  • 门窗专业设计网站杭州seook优屏网络
  • 怎么制作一个网站的二维码北京seo薪资
  • 网站点击率代码整合营销理论主要是指
  • 济南哪家公司可以做网站营销策略案例
  • 河北网站制作公司报价查关键词排名软件