ddns-update-style none;
ddns-updates off;
option T150 code 150 = string;
deny client-updates;
one-lease-per-client false;
allow bootp;
#
# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.4.2.2 2002/07/10 03:50:33 peloy Exp $
#
# option definitions common to all supported networks...
option domain-name "cm.nsysu.edu.tw";
option domain-name-servers 140.117.11.1, 168.95.1.1, 140.117.69.1;
# 預設的租約時間,後面的時間參數預設單位為秒;
default-lease-time 1800;
# 最大租約時間,當用戶端超過租約時間卻尚未更新 IP 時,最長可以使用該 IP 的時間;
max-lease-time 3600;
# 不要更新 DDNS 的設定
# ddns-update-style none;
# 中山管理學院網路 dhcp 設定
# 共享同一實體網路的所有子網路都應該在 shared-network 的聲明中宣告。
shared-network nsysu_cm {
subnet 140.117.69.0 netmask 255.255.255.0 {
option routers 140.117.69.254;
option broadcast-address 140.117.69.255;
# .69 網段固定 IP 設定
host cccm-inside{
hardware ethernet 00:13:d4:1e:5d:6a;
fixed-address 140.117.69.183;
}
}
# .79 段為 second 管電及機房網段的 DHCP 發放
subnet 140.117.79.0 netmask 255.255.255.0 {
range 140.117.79.100 140.117.79.200;
option routers 140.117.79.254;
option broadcast-address 140.117.79.255;
}
}
# 共享同一實體網路的所有子網路都應該在 shared-network 的聲明中宣告。
shared-network nsysu_cm_new_4f {
# .75 為舊館4F的網段
subnet 140.117.75.0 netmask 255.255.255.0 {
option routers 140.117.75.254;
option broadcast-address 140.117.75.255;
}
# .70 段為舊館4F的 DHCP 發放
subnet 140.117.70.0 netmask 255.255.255.0 {
range 140.117.70.16 140.117.70.230;
option routers 140.117.70.254;
option broadcast-address 140.117.70.255;
}
}
# .72 為舊館1F,BF的網段
subnet 140.117.72.0 netmask 255.255.255.0 {
range 140.117.72.16 140.117.72.199;
option routers 140.117.72.254;
option broadcast-address 140.117.72.255;
}
# .74 為舊館3F的網段
subnet 140.117.74.0 netmask 255.255.255.0 {
range 140.117.74.16 140.117.74.100;
option routers 140.117.74.254;
option broadcast-address 140.117.74.255;
}
# .73 為舊館2F的網段
subnet 140.117.73.0 netmask 255.255.255.0 {
range 140.117.73.16 140.117.73.100;
option routers 140.117.73.254;
option broadcast-address 140.117.73.255;
}
# .71 為新館1F,BF的網段
subnet 140.117.71.0 netmask 255.255.255.0 {
range 140.117.71.16 140.117.71.100;
option routers 140.117.71.254;
option broadcast-address 140.117.71.255;
}
# .77 為新館3F的網段
subnet 140.117.77.0 netmask 255.255.255.0 {
range 140.117.77.71 140.117.77.199;
option routers 140.117.77.254;
option broadcast-address 140.117.77.255;
}
# .78 為新館2F的網段
subnet 140.117.78.0 netmask 255.255.255.0 {
range 140.117.78.16 140.117.78.199;
option routers 140.117.78.254;
option broadcast-address 140.117.78.255;
}
# .76 為新館4F的網段
subnet 140.117.76.0 netmask 255.255.255.0 {
range 140.117.76.16 140.117.76.100;
option routers 140.117.76.254;
option broadcast-address 140.117.76.255;
}
http://blog.cm.nsysu.edu.tw/index.php?uid-2-action-viewspace-itemid-42
沒有留言:
張貼留言