Linux 上 DHCP Server 的問題 .....?? - PCZONE 討論區

返回   PCZONE 討論區 > ▲ ADSL_CABLE_FTTH 寬 頻 上 網 討 論 > -- 網 路 技 術 版


PCZONE 討論區



通知

-- 網 路 技 術 版 較深入的網路方面技術問題,請來此這版討論

Protech
訪客
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;
}
}
}

回覆


類似的主題
主題 主題作者 討論版 回覆 最後發表
試問 DHCP RELAY 的問題 wedel0320 -- 網 路 技 術 版 9 2009-06-17 04:08 PM
dhcp server seagal -- FreeBSD & Linux 討 論 版 1 2008-09-17 11:09 AM
【求助】Red Linux 登入時出現 DHCP 錯誤的訊息 winkiss -- FreeBSD & Linux 討 論 版 1 2003-11-26 06:30 PM
【求助】Win2000 Server -- DHCP hhippo ☉ -- 架 站 DIY 討 論 版 0 2003-05-02 04:20 PM
請問各位高手 Linux 的 DHCP 該如何設呢?它完全沒有回應啊! Man -- 網 路 技 術 版 3 2001-08-10 01:31 AM






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

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