포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 1GB 입니다.

요즘 나오는 최신 리눅스의 경우, 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;
        }
}
profile

인생은 연극이고 세상은 무대이다!

이솝 임베디드 포럼 운영 및 비즈니스와 관련된 것 이외에 E-Mail이나 메신저 및 휴대폰 등을 통한 개인적인 질문 및 답변은 받지 않습니다. 문의 사항은 이솝 임베디드 포럼 게시판을 이용해 주시면 감사하겠습니다.

엮인글 :
http://www.aesop.or.kr/index.php?mid=Board_Resources_General&document_srl=35903&act=trackback&key=ffb
List of Articles
번호 제목 글쓴이 날짜 조회 수

사용자 로그인