DHCP¼­¹ö¼³Á¤¿¡¼­ ¸ÔÅëÀÌ µË´Ï´Ù. ´ä´äÇϳ׿ä.

¹Ú±âµÎ   
   Á¶È¸ 6214   Ãßõ 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 1702/5608
2015-12   1114859   ¹é¸Þ°¡
2014-05   4565675   Á¤ÀºÁØ1
2011-06   6216   ´ë¿ö´Ï
2004-12   6216   ¿Õ¿ëÇÊ
2009-12   6216   »ç¿ì³ª
2014-06   6215   ¾¾Çü
2013-11   6215   ¿Õ¿ëÇÊ
2005-04   6215   ±èžç
2013-07   6215   ¾Ç¶¥
2005-06   6215   ÀÌ»óö
2006-04   6215   ¹Ú±âµÎ
2010-04   6215   ¹ÚÁ¾´ë
2014-09   6214   ÇѼºÈ£
2018-11   6214   º´¸ÀÆù
2015-10   6214   üÀ̽º
2005-08   6214   ÀÌÁ¦È£
2015-06   6214   Korokoro
2011-09   6214   ±è¼öȯ¹«
2005-04   6214   ÀÌ»ó±â
2012-02   6214   ȲȥÀ»ÇâÇØ
2013-12   6214   ¹Ú¿Ï°æ
2005-05   6214   ¾ÈâÁØ