辦公室有一台HP5100的印表機,有網卡的,他原本就設有ip,我們假設是 100.111.122.45,因為多台電腦都已設好的這台印表機,所以再改ip,很麻煩。而這陣子,我又架了dhcp server。
我想把100.111.122.10~100.111.122.123給分配出去,但是又不要100.111.122.45給分出去,所以我的dhcpd.conf設定是否正確?謝謝!
=======================================
default-lease-time 259200;
max-lease-time 777600;
option domain-name "abcd.ilc.edu.tw";
subnet 100.111.122.0 netmask 255.255.255.128 {
range 100.111.122.10 100.111.122.44;
range 100.111.122.46 100.111.122.123;
option broadcast-address 100.111.122.127;
option routers 100.111.122.126;
option domain-name-servers 140.111.66.1, 140.111.66.10;
========================================
另外我有幾台個人電腦灌debian,當初是固定ip的,現在要改用dhcp,要下甚麼指令改?之前好像有網友說是dpkg,不知有沒有記錯?敬請指教,謝謝!