DHCP的配置

来源:互联网 发布:天津福禄克数据测试 编辑:程序博客网 时间:2024/05/29 10:58


#####################################################################
# By CYBEND 2007-11-13                                              #
#                                                                   #
#                           Attention                               #
#  Please Backup All The Configuration Files Before You Change It!  #
#                                                                   #
#                                          #
#                                         #
#####################################################################


ddns-update-style interim;
ignore client-updates;
shared-network mynet{
option domain-name "cybend.com";
option domain-name-servers 202.96.134.133;
option broadcast-address 59.37.14.255;
#default-lease-time 86400;
#max-lease-time 172800;
default-lease-time 15552000;
max-lease-time 31104000;


##########################################
#TELCOM  IP  : 59.37.14.161-189
#SUBNET MASK : 255.255.255.224
#GATEWAY     : 59.37.14.190   
##########################################
subnet 59.37.14.0 netmask 255.255.255.0{
range 59.37.14.161 59.37.14.189;
option routers 59.37.14.190;
option subnet-mask 255.255.255.224;

host 59.37.14.161{
             hardware ethernet 00:e0:81:2f:52:e5;
             fixed-address 59.37.14.161;
}
host 59.37.14.162{
             hardware ethernet 00:01:d7:65:c4:43;
             fixed-address 59.37.14.162;
}


    }
 

##########################################
#TELCOM  IP  : 59.37.14.192-253
#SUBNET MASK : 255.255.255.192
#GATEWAY     : 59.37.14.254 
##########################################
subnet 59.37.14.0 netmask 255.255.255.0{
range 59.37.14.192 59.37.14.253;
option routers 59.37.14.254;
option subnet-mask 255.255.255.192;
 

host 59.37.14.192{
             hardware ethernet 00:15:17:23:AC:C5;
             fixed-address 59.37.14.192;
}
host 59.37.14.193{
             hardware ethernet 00:30:48:5f:18:b1;
             fixed-address 59.37.14.193;
}


    }
##########################################
#TELCOM  IP  : 59.37.30.97-125
#SUBNET MASK : 255.255.255.224
#GATEWAY     : 59.37.30.126
##########################################
subnet 59.37.30.0 netmask 255.255.255.0{
range 59.37.30.97 59.37.30.125;
option routers 59.37.30.126;
option subnet-mask 255.255.255.224;
 host 59.37.30.97{
             hardware ethernet 00:1a:4d:61:7a:a5;
             fixed-address 59.37.30.97;
}
 host 59.37.30.98{
             hardware ethernet 00:15:17:11:1F:34;
             fixed-address 59.37.30.98;
}
 host 59.37.30.99{
             hardware ethernet 00:01:d7:65:c4:45;
             fixed-address 59.37.30.99;
}

    }

##########################################
#TELCOM  IP  : 59.37.30.128-253
#SUBNET MASK : 255.255.255.192
#GATEWAY     : 59.37.30.190
##########################################
subnet 59.37.30.0 netmask 255.255.255.0{
range 59.37.30.128 59.37.30.253;
option routers 59.37.30.190;
option subnet-mask 255.255.255.192;
 host pc4{
             hardware ethernet 11:a0:cc:cf:9c:13;
             fixed-address 59.37.30.109;
        }
    }
}