요즘 나오는 최신 리눅스의 경우, Bootp 패키지를 지원하지 않는 경우가 많습니다.
예전엔 직접 Bootpd를 컴파일하여 직접 올리는 경우도 있었지만, 지금은 이렇게 해도
제대로 동작을 하지 않습니다.
이 경우 DHCP 데몬을 설치하고 실행하시면, 똑같은 환경으로 구성이 가능 합니다.
# DHCP 설정 방법
1) DHCP 패키지 설치
2) /etc/dhcp.conf 설정
① /etc/dhcpd.conf file 이 없을경우 sample file을 /etc/dhcpd.conf 로 복사
=> # cp /usr/share/doc/dhcp-x.x.x/dhcpd.conf.sample /etc/dhcpd.conf
② Ip address 등 관련 내용을 적절하게 수정
다음은 dhcpd.conf 예제 입니다.
---------------------------------------------------------------------------------------
ddns-update-style interim;
ignore client-updates;
subnet 192.168.11.0 netmask 255.255.255.0 {
# --- default gateway
option routers 192.168.11.1;
option subnet-mask 255.255.255.0;
# option nis-domain "domain.org";
# option domain-name "domain.org";
# option domain-name-servers 192.168.1.1;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 192.168.11.220 192.168.11.230;
default-lease-time 21600;
max-lease-time 43200;
# we want the nameserver to appear at a fixed address
host syslab5k {
# next-server marvin.redhat.com;
hardware ethernet 00:0f:4c:00:00:10;
fixed-address 192.168.11.222;
}
}