DHCP서버설정에서 먹통이 됩니다. 답답하네요.

박기두   
   조회 6645   추천 4    

연결은 다음과 같이 했습니다.

인터넷--외장형 모뎀--eth0
eth1--PC

1) /usr/에 dhcpd.conf는 다음과 같습니다.

subnet 192.168.1.0 netmask 255.255.255.0 {

# --- default gateway
        option routers                  192.168.1.1;
        option subnet-mask              255.255.255.0;
        option broadcast-address        192.168.1.255;

#       option nis-domain               "hydraulics.homelinux.com";
#       option domain-name              "hydraulics.homelinux.com";
        option domain-name-servers      192.168.1.97;

        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.1.192 192.168.1.254;
        default-lease-time 21600;
        max-lease-time 43200;

#       # we want the nameserver to appear at a fixed address
#       host ns {
#               next-server marvin.redhat.com;
#               hardware ethernet 12:34:56:78:AB:CD;
#               fixed-address 207.175.42.254;
#       }
}

        ddns-update-style none;
        ignore-client-updates;

2) touch/var/lib/dhcpd/dhcpd.leases 를 만들어주었습니다.

3) /usr/sbin/dhcp eth1 을 실행했는데 메세지는 다음과 같습니다.

[root@localhost etc]# /usr/sbin/dhcpd eth1
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 leases to leases file.
Multiple interfaces match the same subnet: eth0 eth1
Multiple interfaces match the same shared network: eth0 eth1
Listening on LPF/eth1/00:04:23:b4:2d:e1/192.168.1/24
Sending on   LPF/eth1/00:04:23:b4:2d:e1/192.168.1/24
Sending on   Socket/fallback/fallback-net
There's already a DHCP server running.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the ***********@***.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.

참고로 RHEL AS 4.0을 쓰고 있습니다.

---------> 문제는  eth0은 랜카드 설정을 DHCP서버로 잡았습니다. 모뎀으로부터 나오는 이동아이피를 정확히 알수가 없습니다. 우선 들어오는 아이피를 알기 위해 PC에서 읽은 아이피가 192.168.1.97이네요. 그래서 전 eth1도 역시 위의 dhcpd.conf룰 설정한 상태에서 DHCP서버를 선택해서 잡았습니다. 여기서 eth1을 고정아이피로 주지 않으면 활성화가 되질 않습니다. 그리고 잘 되던 eth0의 인터넷도 되질 않습니다. 문제가 무엇인지요. 아 답답하네요.......헉

---------> DHCP서버로 잡으로 매스커래이드와 같은 것을 사용할 필요가 없는것 같은데 맞나요.

감사합니다.

짧은글 일수록 신중하게.


QnA
제목Page 4753/5724
2015-12   1764175   백메가
2014-05   5238756   정은준1
2006-04   6933   박기두
2006-04   6646   박기두
2006-04   6002   이정훈
2006-04   6119   채윤성
2006-04   5900   곽태영
2006-04   5935   박광덕
2006-04   6027   김용수
2006-04   5734   김병우
2006-04   10446   박광덕
2006-04   5965   김병우
2006-04   7340   이재호
2006-04   6055   이문흠
2006-04   6234   유사용
2006-04   5805   이은규
2006-04   6238   왕정수
2006-04   5699   조명수
2006-04   6481   김영수
2006-04   7327   이대로
2006-04   6020   박기두
2006-04   6021   정회정