PCZONE 討論區

PCZONE 討論區 (https://www.pczone.com.tw/vbb3/)
-   -- 網 路 技 術 版 (https://www.pczone.com.tw/vbb3/forum/29/)
-   -   Linux 上 DHCP Server 的問題 .....?? (https://www.pczone.com.tw/vbb3/thread/29/15362/)

Protech 2001-09-18 03:36 AM

Linux 上 DHCP Server 的問題 .....??
 
我用 2 片網路卡安裝 DHCP Server

1 片 eth0 是分配真實 IP ---> 一切正常 ....
1 片 eth1 準備用來分配內部的虛擬 IP ,

設定完後 Run dhcpd 沒有錯誤訊息 ...

不過我把工作站接上去都沒辦法自動分配 , 會有

Error

DHCP Server Unavailable Renewing adapter 的訊息 ....

我是用 Winipcfg 去看的 ...

不知道是那裡設錯了 ....

下面是我用 webmin 設的設定檔

shared-network protech {
option routers 61.218.xxx.xxx;
option subnet-mask 255.255.255.248;

option domain-name "protech.net.tw";
option domain-name-servers 61.218.xxx.xxx, 168.95.1.2;
option broadcast-address 61.218.xxx.xxx;
option host-name "protech";

subnet 61.218.xxx.xxx netmask 255.255.255.248 {
option routers 61.218.xxx.xxx;
option subnet-mask 255.255.255.248;

option domain-name "protech.net.tw";
option domain-name-servers 61.218.xxx.xxx, 168.95.1.2;
option broadcast-address 61.218.xxx.xxx;
option host-name "protech";
option time-offset -5;
range dynamic-bootp 61.218.xxx.xxx 61.218.xxx.xxx;

default-lease-time 21600;
max-lease-time 43200;

# we want the nameserver to appear at a fixed address
host ns {
next-server protech.net.tw;
hardware ethernet 00:10:B5:88:BE:63;
fixed-address 61.218.xxx.xxx;
}
}

subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;

option domain-name "protech.net.tw";
option domain-name-servers 61.218.xxx.xxx, 168.95.1.2;

option broadcast-address 192.168.0.255;
option host-name "protech";
option time-offset -5;
range dynamic-bootp 192.168.0.8 192.168.0.168;

default-lease-time 21600;
max-lease-time 43200;

# we want the nameserver to appear at a fixed address
host ns {
next-server protech.net.tw;
hardware ethernet 00:10:B5:88:BE:63;
fixed-address 61.218.xxx.xxx;
}
}
}


所有時間均為 +8。現在的時間是 04:14 AM



 XML   RSS 2.0   RSS 
本站使用 vBulletin 合法版權程式
站務信箱 : [email protected]

本論壇所有文章僅代表留言者個人意見,並不代表本站之立場,討論區以「即時留言」方式運作,故無法完全監察所有即時留言,若您發現文章可能有異議,請 email :[email protected] 處理。