|
Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
|
|
|
|
ÀÌÀü ÁÖÁ¦ º¸±â :: ´ÙÀ½ ÁÖÁ¦ º¸±â |
±Û¾´ÀÌ |
¸Þ½ÃÁö |
¿¶ó ¾Ë°í½ÍÀ½ ¼Õ´Ô
|
¿Ã·ÁÁü: 2004.3.16 È, 9:56 am ÁÖÁ¦: ¼¹ö´Â ÀÎÅÍ³Ý µÇ°í ´Ù¸¥ ·ÎÄà ÄÄÇ»ÅÍ µéÀº ¾ÈµÇ°í |
|
|
¿î¿µÃ¼Á¦´Â redhat 9
dhcp ¼³Á¤Àº ´Ù µÆ±¸¿ä.. ±×·¡¼ ip ´Â Àß ¹Þ°Åµç¿ä..
±Ùµ¥ ¿ÜºÎ·Î ÇÎÀ» Çϸé ÇÎÀÌ ¾Ê³ª°¡´Â ±º¿ä..(dns¼¹ö)
¼¹ö´Â ÀߵǴµ¥.. ÀÌ°Ô ÀÌÆ²Àü±îÁø Àߵžú°Åµç¿ä..
¸ðµÎ ¾ÆÀÌÇÇ ¹Þ°í... ÀÎÅͳݵµ ¼¹ö¸¦ ÅëÇØ¼ ÀߵŰí¿ä..
¹¹°¡ À߸ø µÈ°ÇÁö.. bind ¼³Á¤ÀÌ ²À ÇÊ¿äÇѰǰ¡¿ä..(³×ÀÓ¼¹ö)
¸Ó°¡ À߸øµÈ°ÇÁö ÇÔ ¹ÙÁÖ¼¼¿ä..
ÀÌ°Ç dhcpd.conf ÀÔ´Ï´Ù..
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "student.zeroboys.com";
option domain-name-servers ns1.zeroboys.com, ns2.zeroboys.com;
ddns-update-style ad-hoc;
default-lease-time 3600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.4.255;
option routers 192.168.4.1;
option domain-name-servers 192.168.3.1;
subnet 192.168.4.0 netmask 255.255.255.0 {
range 192.168.4.3 192.168.4.10;
}
# subnet 61.40.233.0 netmask 255.255.255.0 {
#}
ÀÌ°Ç rc.local ÀÔ´Ï´Ù..
#/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
#mount -t smbfs -o username=student,password=password //e-bank1/classes /mnt
#route add -host 255.255.255.255 dev eth1
#route add -host 255.255.255.255 dev eth0
/sbin/iptables -F
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/modprobe ip_conntrack
/sbin/modprobe ip_conntrack_ftp
/sbin/modprobe ip_nat_ftp
/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
ÀÌ°Ç named.conf ÀÔ´Ï´Ù..
## named.conf - configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind should be put
# in /etc/named.custom
#
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
include "/etc/named.custom";
include "/etc/rndc.key";
zone "4.168.192.in-addr.arpa" {
type master;
file "4.168.192.in-addr.arpa.zone";
};
zone "localhost" {
type master;
file "localhost.zone";
};
zone "forward.student.com" {
type master;
file "forward.student.com.zone";
};
ÀÌ°Ç foward zone ÈÀÏÀÔ´Ï´Ù.
$TTL 86400
@ IN SOA ns.student.com. root.localhost (
3 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS 192.168.3.1.
ÀÌ°Ç reverse zone ÈÀÏ..
$TTL 86400
@ IN SOA ns.student.com. root.localhost (
3 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttk
)
@ IN NS 192.168.3.1.
¸ÕÀú °¨»çÇÏ´Ù´Â ¸»¾¸µå¸³´Ï´Ù.. |
|
À§·Î |
|
 |
yasu Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2004³â 2¿ù 10ÀÏ ¿Ã¸° ±Û: 73
|
¿Ã·ÁÁü: 2004.3.17 ¼ö, 11:30 am ÁÖÁ¦: Re]¼¹ö´Â ÀÎÅÍ³Ý µÇ°í ´Ù¸¥ ·ÎÄà ÄÄÇ»ÅÍ µéÀº ¾ÈµÇ°í |
|
|
³×ÀÓ¼¹ö¸¦ »ç¿ëÇÏ½Ã´Â°Ô ¾Æ´Ï¶ó¸é bind´Â ¼³Á¤ÇÏ½Ç Çʿ䰡 ¾ø½À´Ï´Ù.
ÀÏ´Ü, µ¥¸ó ³»·ÁÁֽñ¸¿©
#/etc/rc.d/init.d/bind stop
À©µµ¿ì¿¡¼ ³×Æ®¿÷ȯ°æ¿¡¼ ³×ÀÓ¼¹ö ¼³Á¤ÇϵíÀÌ..¸®´ª½º¿¡¼µÎ ±âº»ÀûÀÎ ³×ÀÓ¼¹ö ¼³Á¤À» ÇØ¾ßµË´Ï´Ù. ±× ÆÄÀÏÀÌ /etc/resolv.conÀÔ´Ï´Ù.
¿©±â¿¡ ÇöÀç »ç¿ëÇϽô ADSLÀÇ ³×ÀÓ¼¹ö¸¦ ³Ö°í¼ ÇÎ Å×½ºÆ®Çغ¸½Ã±â ¹Ù¶ø´Ï´Ù.
1)KT ADSLÀÎ °æ¿ì
- /etc/resolv.conf
search ns.kornet.net
nameserver 211.216.50.150
2)Çϳª·Î ADSLÀÎ °æ¿ì
- /etc/resolv.conf
search ns.dreamx.com
nameserver 210.181.1.41
3)µÎ·ç³Ý ADSLÀÎ °æ¿ì
- /etc/resolv.conf
search ns.thrunet.com
nameserver 210.117.65.100
³×ÀÓ¼¹ö´Â Çϳª ÀÌ»ó »ç¿ëµµ °¡´ÉÇÕ´Ï´Ù.
±×·³, ¼ö°íÇϼ¼¿ä. |
|
À§·Î |
|
 |
|
|
»õ·Î¿î ÁÖÁ¦¸¦ ¿Ã¸± ¼ö ¾ø½À´Ï´Ù ´ä±ÛÀ» ¿Ã¸± ¼ö ¾ø½À´Ï´Ù ÁÖÁ¦¸¦ ¼öÁ¤ÇÒ ¼ö ¾ø½À´Ï´Ù ¿Ã¸° ±ÛÀ» »èÁ¦ÇÒ ¼ö ¾ø½À´Ï´Ù ÅõÇ¥¸¦ ÇÒ ¼ö ¾ø½À´Ï´Ù
|
Powered by phpBB © 2001, 2005 phpBB Group
|