Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

Re: [Áú¹®] localhost ¸¦ ÀÎ½Ä ¸øÇÕ´Ï´Ù....



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


>>>>> "SL" == Steve Lee <kodjak@windhill.co.kr> writes:

    SL> 3.4·Î ¾÷±×·¹À̵å ÇÑ µÚ¿¡ dns ¼Â¾÷À» Çߴµ¥.. ±×°Ô À߸ø µÈ°ÍÀÎÁö localhost¸¦
    SL> ÀÎ½Ä ¸øÇÕ´Ï´Ù.. ±×·¯´Ï±î 127.0.0.1 ÀÌ ¸ÔÅëÀÌ µÇ¹ö·È¾î¿ä...

    SL> ±×·¡¼­ ifconfig -a ÇØº¸´Ï ¾Æ·¡¿Í °°ÀÌ ³ª¿À´Â ±º¿ä..

    SL> ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    SL>         inet 210.180.230.13 netmask 0xffffffe0 broadcast 210.180.230.31
    SL>         ether 00:00:e8:70:1f:a9
    SL> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
    SL> tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
    SL> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
    SL> lo0: flags=8008<LOOPBACK,MULTICAST> mtu 16384

    SL> ·çÇÁ¹é¿¡ running ÀÌ ºüÁ® ÀÖ´Â °Éº¸´Ï lo0 °¡ Á¦´ë·Î ÀÛµ¿ÇÏÁö
    SL> ¾Ê´Â °Í °°±âµµ Çϰí....

°°±âµµ ÇÑ°Ô ¾Æ´Ï¶ó ¾ÈµÇ³×¿ä. /etc/rc.conf¿¡ ´ÙÀ½ ÁÙÀÌ ¾î¶»°Ô µÇ¾î ÀÖ³ª¿ä?
ÀÌ·¸°Ô µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.

network_interfaces="ed1 lo0"
ifconfig_lo0="inet 127.0.0.1"

ifconfig_lo0´Â ¾øÀ» ¼öµµ Àִµ¥ ±×·¯¸é /etc/default/rc.conf¿¡¼­
ÀнÀ´Ï´Ù. ÀÖ´ÂÁö È®ÀÎÇÏ°í ¾øÀ¸¸é /etc/rc.conf¿¡ ½áÁÖ¼¼¿ä.

    SL> ÷ ´çÇÏ´Â ÀÏÀ̶ó..... ¾î¸®µÕÀýÇÒ »ÓÀÔ´Ï´Ù.. ¾ÆÂü Ä¿³Î¿¡ bpf ¼¼ÆÃÀ»
    SL> Çߵ巧½À´Ï´Ù.. nmapÀ» ¾²·Á°í¿ä.. Âü°í·Î nmap -O localhost ¶Ç´Â nmap -O
    SL> 210.180.230.13 ÇØº¸¸é ¾Æ·¡¿Í °°Àº ¿¡·¯ ¸Þ¼¼Áö°¡ ¶å´Ï´Ù.. ´Ù¸¥ È£½ºÆ®¸¦
    SL> ½ºÄµÇϸé Á¤»óÀÛµ¿Çϰí¿ä..

    SL> Starting nmap V. 2.3BETA12 by Fyodor (fyodor@dhp.com,
    SL> www.insecure.org/nmap/)
    SL> WARNING:  Could not determine what interface to route packets through to
    SL> 127.0.0
    SL> .1, changing ping scantype to ICMP only
    SL> pcap_open_live: : Device not configured
    SL> If you are on Linux and getting Socket type not supported, try modprobe
    SL> af_packe
    SL> t or recompile your kernel with SOCK_PACKET enabled.  If you are on bsd and
    SL> gett
    SL> ing device not configured, you need to recompile your kernel with Berkeley
    SL> Packe
    SL> t Filter support.
    SL> QUITTING!

    SL> ¾î¼¸é ÁÁÀ»±î¿ä???

ÇÏ¿©Æ° lo0¸¸ ¶ß¸é ÇØ°áµÉ ¹®Á¦ °°±º¿ä.

¶ÇÇϳª, localhost¸¦ 127.0.0.1·Î ÇØ¼®ÀÌ ¾ÈµÉ¼öµµ ÀÖÀ¸´Ï

/etc/host.conf¿¡

hosts
bind

ÀÌ·¸°Ô µÇ¾îÀÖ³ª º¸½Ã°í, nsloookupÇØ¼­ localhost°¡ 127.0.0.1·Î ³ª¿À´ÂÁö
º¸½Ã°í, /etc/hosts¿¡ 

127.0.0.1		localhost

¶ó°í µÇ¾î ÀÖ´ÂÁö º¸¼¼¿ä.

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI, Junho <mailto:cjh@kr.freebsd.org> <http://www.kr.freebsd.org/~cjh>
 - Korea FreeBSD Users Group <http://www.kr.FreeBSD.org>
 - Public Service, Youido Post Office  - Web Data Bank <http://www.wdb.co.kr>
--
To Unsubscribe: send mail to majordomo@kr.FreeBSD.org
with "unsubscribe questions" in the BODY of the message



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2002/03/26 13:26:48 $
Powered by FreeBSD