zoukankan      html  css  js  c++  java
  • dhcp服务配置

    ddns-update-style interim;
    ignore client-updates;             
    subnet 192.168.1.0 netmask 255.255.255.0 {
    range dynamic-bootp 192.168.1.100 192.168.1.200;     #段
    option domain-name-servers 8.8.8.8,192.168.1.1;       #dns服务
    option domain-name "han.com";            #域名
    option subnet-mask 255.255.255.0;       #掩码
    option time-offset -18000;                      #租用时间
    option routers 192.168.1.254;                #吓一跳,网关
    default-lease-time 21600;                   #默认时间
    max-lease-time 43200;                       #最大租用时间
    host web {                                           #捆绑ip
    option host-name "hanlei.com";            #域名
    hardware ethernet 00:0c:29:70:73:cb;   #mac地址
    fixed-address 192.168.1.168 ;               #捆绑ip
    }
    }

     ******************************************************

    超级作用域

    ddns-update-style interim;
    ignore client-updates;
    shared-network aaa{
    subnet 192.168.1.0 netmask 255.255.255.0 {
    # range dynamic-bootp 192.168.1.100 192.168.1.200;
    option domain-name-servers 8.8.8.8,192.168.1.1;
    option domain-name "han.com";
    option subnet-mask 255.255.255.0;
    option time-offset -18000;
    option routers 192.168.1.254;
    default-lease-time 21600;
    max-lease-time 43200;

    }
    subnet 192.168.2.0 netmask 255.255.255.0 {
    range dynamic-bootp 192.168.2.100 192.168.2.200;
    option domain-name-servers 8.8.8.8,192.168.1.1;
    option domain-name "han.com";
    option subnet-mask 255.255.255.0;
    option time-offset -18000;
    option routers 192.168.2.254;
    default-lease-time 21600;
    max-lease-time 43200;
    }
    }

  • 相关阅读:
    【TouchGFX】使用CubeMX创建touchgfx项目 -- 初始篇
    opencv haarcascades 下载
    更换 Anaconda 源(贼快)
    yii2 允许跨域
    sublime text 3 安装 pyv8 失败的解决办法
    win10 anaconda cuda11.1 安装 tensorlfow-gpu 环境
    nginx 403转404
    python requests 全部异常
    win10 anaconda 安装 tensorflow-gpu 及 jupyter notebook
    【PHP】自有图片服务器,图片动态裁剪缩放
  • 原文地址:https://www.cnblogs.com/han1094/p/6364203.html
Copyright © 2011-2022 走看看