¸®´ª½º¿¡¼­ ¿ÜÀåISDN TA¸¦ »ç¿ëÇÏ¿© ÀÎÅͳݿ¡ Á¢¼ÓÇÏ´Â ¹æ¹ý ---------------------------------------------------------- À̹®¼­´Â ¿ÜÀåTA¸¦ »ç¿ëÇÏ¿© ISDNÀ» ÅëÇÑ ÀÎÅͳݿ¬°á¹æ¹ý°ú ´Ù¸¥ PCµé°ú ȸ¼±À» °øÀ¯ÇÏ´Â ¹æ¹ýÀ» ¼³¸íÇÏ°íÀÚ ÇÕ´Ï´Ù. 1999.05.12 3¹ø°¼öÁ¤ 1999.04.19óÀ½¾¸ ±è±â¼ö baram88@soback.kornet.net ---------------------------------------------------------- Â÷·Ê 1.°³¿ä 2.³×Æ®¿÷ȯ°æ ¸¸µé±â 2.1 ¿©·¯´ë¸¦ ·£È¯°æÀ¸·Î ¹­±â 2.2 ¸®´ª½º ¹Ú½º¸¦ ³×Æ®¿÷¿¡ ¿¬°áÇÏ°í ³×Æ®¿÷ ¼³Á¤À» ÇÑ´Ù. 3.¸®´ª½º ¹Ú½º¿¡¼­ ÀÎÅͳÝÀ» ¿¬°áÇϱâ 3.1 Áغñ¹° 3.2 ¸®´ª½º PPPÁ¢¼Ó ¼³Á¤ 3.3 ¸®´ª½º DNS¼³Á¤ 3.4 ÀÎÅÍ³Ý Á¢¼Ó¸í·É 4.´Ù¸¥ PC¿¡¼­ ISDNÀ» ÅëÇÑ ÀÎÅͳݼ­ºñ½º °øÀ¯Çϱâ 4.1 ¸®´ª½º¹Ú½º IP Masquerade ¼³Á¤ 4.2 ¸¶½ºÄÉ·¹À̵ù ¸ðµâ ¶ç¿ì±â 4.3 À©µµ¿ì95¿¡¼­ÀÇ ³×Æ®¿÷¼³Á¤(Ŭ¶óÀ̾ðÆ®) 5.ÀÌÈÄ °³¼±¹æÇâ 6.°á·Ð ------------------------- 1.°³¿ä ¸®´ª½º ¹Ú½º¿¡¼­ ISDN 1ȸ¼±À¸·Î ¿©·¯´ëÀÇ ÄÄÇ»ÅÍ°¡ ÀÎÅͳÝÀ» °øÀ¯Çؼ­ »ç¿ëÇÏ´Â ¹æ¹ýÀ» ¼Ò°³ ÇÏ°íÀÚ ÇÕ´Ï´Ù. Àú´Â ¾ËÂ¥ ·¡µåÇÞ 5.2 ¹öÀü°ú ÄÚ³Ý °èÁ¤À» ±âÁØÀ¸·Î ¼³¸íÇÏ°íÀÚÇÕ´Ï´Ù. ±×¸®°í ´Ù¸¥ ȯ°æÀ¸·Î ¼º°øÇÏ½Ã¸é ¸ÞÀÏ ºÎŹµå¸³´Ï´Ù. 2.³×Æ®¿÷ȯ°æ ¸¸µé±â 2.1 ¿©·¯´ë¸¦ ·£È¯°æÀ¸·Î ¹­±â °¢°¢ÀÇ PC¿¡ LAN Ä«µå¸¦ ¼³Ä¡ÇÏ°í Çãºê¶ó´Â Àåºñ¸¦ ÅëÇØ ³×Æ®¿÷À¸·Î ¿¬°áÇÕ´Ï´Ù. ÀÚ¼¼ÇÑ ¼³¸íÀº ´Ù¸¥ ¹®¼­¸¦ Âü°í ÇϽñ⠹ٶø´Ï´Ù. 2.2 ¸®´ª½º ¹Ú½º¸¦ ³×Æ®¿÷¿¡ ¿¬°áÇÏ°í ³×Æ®¿÷ ¼³Á¤À» ÇÑ´Ù. À̳»¿ëµµ ´Ù¸¥ ¹®¼­¸¦ Âü°íÇϼÌÀ¸¸é ÇÕ´Ï´Ù. 3.¸®´ª½º ¹Ú½º¿¡¼­ ÀÎÅͳÝÀ» ¿¬°áÇϱâ 3.1 Áغñ¹° ¿ÜÀåÇü NT³»ÀåÇü TA (¿©±â¼­´Â ´ºÅØÀÇ ¿È´Ï¸ðµ¨ÀÔ´Ï´Ù.) -.¸ÖƼ¸µÅ©PPP Á¦¾î¸í·É (Á¦Ç°¸Þ´º¾ó¿¡ ÀÖÀ» °Ì´Ï´Ù.) ISP °èÁ¤ (¿©±â¼­´Â ÄÚ³ÝÀ» ¿¹·Î µé¾ú½À´Ï´Ù.) -.ISDN Á¢¼ÓÀüÈ­¹øÈ£ -.¾ÆÀ̵ð,Æнº¿öµå -.DNS ÁÖ¼Ò ¸®´ª½º¹Ú½º (Àú´Â ÆÒƼ¾ö 166 ÀÔ´Ï´Ù.) ¾ËÂ¥ RedHat 5.2 ( 9,900¿ø¿¡ ±¸ÀÔÇؼ­ ¼³Ä¡Çß½À´Ï´Ù.) 3.2 ¸®´ª½º PPPÁ¢¼Ó ¼³Á¤ ÀÏ´Ü ISDNÀ¸·Î ISP(ÄÚ³Ý)À¸·Î ¿¬°áÇϱâ À§Çؼ­´Â MultiLink PPP ·Î Á¢¼ÓÀ» ÇϱâÀ§Çؼ­´Â PAP ÀÎÁõ ¹æ½ÄÀ» »ç¿ëÇØ¾ß ÇÕ´Ï´Ù. ÀüÈ­Á¢¼ÓÀ» À§ÇÏ¿© ¸¸µé¾î¾ß ÇÒ È­ÀÏÀº /etc/sysconfig/network-scripts/ifcfg-ppp0 - PPP¼³Á¤È­ÀÏÀÔ´Ï´Ù. /etc/sysconfig/network-scripts/chat-ppp0 - ÀüÈ­°É±â ½ºÅ©¸³Æ®È­ÀÏ ÀÔ´Ï´Ù. ¼öÁ¤ÇÒ È­ÀÏÀº /etc/ppp/pap-secrets - Passwd¸¦ ¼³Á¤ÇÏ´Â È­ÀÏ ÀÔ´Ï´Ù. È­ÀÏÀÔ´Ï´Ù. X-Window ÀÇ Á¦¾îÆÇ¿¡¼­ ÀÛ¾÷ÇÏ¸é ½±½À´Ï´Ù. ¿©±â¼­´Â ±×³É Àû°Ú½À´Ï´Ù. /etc/sysconfig/network-scripts/ifcfg-ppp0 È­ÀÏ ³»¿ëÀÔ´Ï´Ù. ---------------------- PERSIST=yes -ÀüÈ­°¡ ²÷¾îÁ³À» ¶§ ´Ù½Ã °Å´ÂÁöÀÇ ¿©ºÎ DEFROUTE=yes -ÀÎÅÍÆäÀ̽º È°¼ºÈ­½Ã µðÆúÆ® °ÔÀÌÆ®¿þÀÌ·Î ¼³Á¤ÇÒ °ÍÀÎÁöÀÇ ¿©ºÎ ONBOOT=no -ÄÄÇ»Å͸¦ ÄѸé ÀÚµ¿À¸·Î ¼³Á¤µÇ°Ô ÇÒ °ÍÀΰ¡ÀÇ ¿©ºÎ INITSTRING= -¸ðµ© ÃʱâÈ­¸í·É MODEMPORT=/dev/ttyS1 -½Ã¸®¾óÆ÷Æ®¼³Á¤ ¿©±â¼­´Â COM2·Î ¼³Á¤µÇ¾úÀ½ LINESPEED=115200 -¶óÀÎ ¼Óµµ ESCAPECHARS=yes -Á¤È®ÇÑ ³»¿ëÀº ¸ð¸§ ÄÚ³Ý Á¢¼Ó½Ã yes·Î ¼³Á¤ÇØ¾ß »ç¿ë°¡´É DEFABORT=yes HARDFLOWCTL=yes -È帧Á¦¾î¹æ½Ä ¿©±â¼­´Â Çϵå¿þ¾î DEVICE=ppp0 PPPOPTIONS= DEBUG=yes PAPNAME=bs0600 -ÄÚ³ÝÀÇ °èÁ¤(ID)¸¦ Àû¾îÁÝ´Ï´Ù. REMIP= IPADDR= BOOTPROTO=none MTU= MRU= DISCONNECTTIMEOUT= RETRYTIMEOUT= USERCTL=yes -root °èÁ¤ÀÌ ¾Æ´Ñ ÀϹݰèÁ¤À¸·Î Á¢¼Ó°¡´É¿©ºÎ ¼³Á¤ ¿©±â¼­´Â ---------------------- ÀÏ¹Ý °¡ÀÔÀÚ°¡ Á¢¼Ó°¡´ÉÇϵµ·Ï ¼³Á¤ÇÏ¿´À½ ½Ã¸®¾óÆ÷Æ® ¼³Á¤Àº ´ÙÀ½°ú °°½À´Ï´Ù. com1 ---> /dev/ttyS0 com2 ---> /dev/ttyS1 com3 ---> /dev/ttyS2 com4 ---> /dev/ttyS3 ÀÚ¼¼ÇÑ ³»¿ëÀº Serial-HOWTO¹®¼­¸¦ Âü°íÇϽʽÿÀ. /etc/sysconfig/network-scripts/chat-ppp0 È­ÀÏ ³»¿ëÀÔ´Ï´Ù. ---------------------- 'ABORT' 'BUSY' 'ABORT' 'ERROR' 'ABORT' 'NO CARRIER' 'ABORT' 'NO DIALTONE' 'ABORT' 'Invalid Login' 'ABORT' 'Login incorrect' '' 'ATZ' 'OK' 'atb40&j3' -À̸í·ÉÀº MultiLinjkPPP Á¦¾î¸í·É 'OK' 'ATDT01414' -ÀüÈ­°É±â ¸í·ÉÀÔ´Ï´Ù. 'CONNECT' '' ---------------------- ISDNÀ¸·Î ÀÎÅͳݿ¡ 128KÁ¢¼ÓÀ» ÇÏ·Á¸é ISDN TA°¡ MultiLink PPP ¸ðµå·Î ¼³Á¤µÇ¾î¾ß ÇÕ´Ï´Ù. ISDN ¿ÜÀåTAÀÇ MultiLink PPP Á¦¾î¸í·ÉÀº ´Ü¸»±âÁ¦Á¶È¸»ç¸¶´Ù Ʋ¸³´Ï´Ù. ¿©±â¼­´Â ´ºÅØÀÇ "¿È´Ï"¸ðµ¨ ÃʱâÈ­¸í·ÉÀÔ´Ï´Ù. Á¢¼ÓÀüÈ­¹øÈ£´Â ISP(ÀÎÅͳݰ¡ÀÔ¾÷ü)¸¶´Ù Ʋ¸³´Ï´Ù. ¿©±â¼­´Â ÄÚ³ÝÀÇ Á¢¼Ó¹øÈ£ÀÔ´Ï´Ù. /etc/ppp/pap-secrets È­ÀÏ ³»¿ëÀÔ´Ï´Ù. ---------------------- # Secrets for authentication using PAP # client server secret IP addresses bs0600 * 1234 - ÀÌ·±½ÄÀ¸·Î Àû¾îÁÖ¸é µË´Ï´Ù. jungang * 1234 - ´Ù¸¥ °èÁ¤ÀÌ ¶Ç ÀÖÀ¸¸é... jungang ppp0 1234 jungang ppp1 1234 ---------------------- ID°¡ bs0600 Æнº¿öµå°¡ 1234¶ó¸é À§¿Í °°ÀÌ Àû¾îÁÝ´Ï´Ù. ±×·¯¸é Çѹø È®ÀÎÇØ º¸°Ú½À´Ï´Ù. [kskim@ja network-scripts]$ ls -l total 18 -rw------- 1 root root 188 Apr 12 21:17 chat-ppp0 <--- ÀÌ È­ÀÏ°ú -rwxr-xr-x 1 root root 392 Apr 19 08:23 ifcfg-eth0* -rwxr-xr-x 1 root root 115 Apr 13 12:54 ifcfg-lo* -rw-r--r-- 1 root root 264 Apr 13 12:54 ifcfg-ppp0 <--- ÀÌ È­ÀÏÀÌ ¸¸µé¾îÁö°í -rwxr-xr-x 1 root root 445 Oct 16 1998 ifdhcpc-done* lrwxrwxrwx 1 root root 20 Jan 29 08:44 ifdown -> ../../../sbin/ifdown* -rwxr-xr-x 1 root root 267 Oct 16 1998 ifdown-post* -rwxr-xr-x 1 root root 1191 Oct 16 1998 ifdown-ppp* -rwxr-xr-x 1 root root 907 Oct 16 1998 ifdown-sl* lrwxrwxrwx 1 root root 18 Jan 29 08:44 ifup -> ../../../sbin/ifup* -rwxr-xr-x 1 root root 975 Oct 16 1998 ifup-aliases* -rwxr-xr-x 1 root root 1023 Oct 16 1998 ifup-ipx* -rwxr-xr-x 1 root root 724 Oct 16 1998 ifup-plip* -rwxr-xr-x 1 root root 727 Oct 16 1998 ifup-post* -rwxr-xr-x 1 root root 2817 Apr 16 08:05 ifup-ppp* -rwxr-xr-x 1 root root 481 Oct 16 1998 ifup-routes* -rwxr-xr-x 1 root root 1564 Oct 16 1998 ifup-sl* -rw-r--r-- 1 root root 1084 Oct 16 1998 network-functions [kskim@ja ppp]$ ls -l total 5 -rw------- 1 root daemon 78 Jun 8 1998 chap-secrets -rwxr-xr-x 1 root root 265 Oct 16 1998 ip-down* -rwxr-xr-x 1 root root 349 Oct 16 1998 ip-up* -rw-r--r-- 1 root daemon 5 Jun 8 1998 options -rw------- 1 root daemon 300 Apr 16 10:13 pap-secrets <---- ÀÌÈ­ÀÏÀÌ ¼öÁ¤µÇ¾ú½À´Ï´Ù. ±×¸®°í ¾ËÂ¥ ·¡µåÇÞ 5.2 ¹öÀü¿¡¼­´Â ¼öÁ¤ÇÒ È­ÀÏÀÌ Çϳª ÀÖ½À´Ï´Ù. /etc/sysconfig/network-scripts/ifup-ppp È­ÀÏÀ» ¼öÁ¤ÇÕ´Ï´Ù. ---------------------- #!/bin/sh PATH=/sbin:/usr/sbin:/bin:/usr/bin # ifup-post for PPP is handled through /etc/ppp/ip-up -- Áß·« -- if [ "${ESCAPECHARS}" = yes ] ; then opts="$opts asyncmap FFFFFFFF" <--- À̺κÐÀ» ¼öÁ¤ÇØ¾ß ÇÕ´Ï´Ù. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ opts="$opts asyncmap 00000000" <--- ÀÌ·¸°Ô ¼öÁ¤ÇØ¾ß ÇÕ´Ï´Ù. fi -- Áß·« -- # exit if our lock file disappeared while we slept if [ ! -f /var/run/ppp-$DEVICE.dev ]; then exit 0 fi done ---------------------- 3.3 ¸®´ª½º DNS¼³Á¤ ±×¸®°í ÀÎÅͳÝÀ» ¿Ã¹Ù·Î È°¿ëÇÏ·Á¸é DNS (µµ¸ÞÀγ×ÀÓ¼­¹ö) ¼³Á¤À» ÇØ¾ß ÇÕ´Ï´Ù. µµ¸ÞÀÎ ÁÖ¼Ò ¿¹¸¦ µéÀÚ¸é soback.kornet.netÀ» 168.126.3.3 ¶ó´Â IPÁÖ¼Ò·Î ¹ø¿ªÀ» ÇØÁÖ´Â ¿ªÇÒÀ» ÇÕ´Ï´Ù. ¼öÁ¤ÇÒ È­ÀÏÀº /etc/resolv.conf --------- search kt.co.kr co.kr com <---- µÞºÎºÐÀ» »ý·«ÇßÀ» ¶§ ã¾Æº¸´Â µµ¸ÞÀÎ nameserver 127.0.0.1 <---- ¸®´ª½º¹Ú½º¿¡¼­ ÀÚü ³×ÀÓ¼­¹ö¸¦ ¿î¿µÇÒ °æ¿ì nameserver 168.126.63.1 <---- »ç¿ëÇÏ´Â ISPÀÇ DNSÁÖ¼Ò ¿©±â¼­´Â ÄÚ³ÝÀÇ °æ¿ì nameserver 168.126.63.2 <---- »ç¿ëÇÏ´Â ISPÀÇ º¸Á¶DNSÁÖ¼Ò --------- ¸®´ª½º ¹Ú½º¿¡¼­ DNS µ¥¸óÀ» ¶ç¿ìÁö ¾Ê´Â´Ù¸é 127.0.0.1 À» ÀûÁö ¸¶¼¼¿ä. ±×¸®°í ¿©±â¼­ DNSÁÖ¼Ò´Â ÀÎÅͳݼ­ºñ½º¸¦ ¹Þ´Â ISP·Î ¹®ÀÇÇÏ½Ã¸é ¾Ë¼ö ÀÖ½À´Ï´Ù. 3.4 ÀÎÅÍ³Ý Á¢¼Ó¸í·É ÀÌÁ¦ ÀÎÅͳݿ¡ Á¢¼Ó¸í·ÉÀ» ÀÔ·ÂÇÕ´Ï´Ù. [kskim@ja kskim]$/etc/sysconfig/network-scripts/ifup /etc/sysconfig/network-scripts/ifcfg-ppp0 [¿£ÅÍ] Ä¡½Ã¸é µË´Ï´Ù. ¿¬°áµÇ¾ú´ÂÁö´Â ¾Æ·¡ ¸í·ÉÀ¸·Î È®Àΰ¡´ÉÇÕ´Ï´Ù. [kskim@ja kskim]$/sbin/ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:62906 errors:0 dropped:0 overruns:0 frame:0 TX packets:62906 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 eth0 Link encap:Ethernet HWaddr 00:60:97:5B:1A:BD inet addr:168.248.138.150 Bcast:168.248.138.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1506562 errors:32 dropped:0 overruns:0 frame:62 TX packets:1369149 errors:0 dropped:0 overruns:0 carrier:135 collisions:256966 Interrupt:10 Base address:0x6400 ppp0 Link encap:Point-to-Point Protocol <--- PPP°¡ ÀÎ½Ä µÇ¾ú½¿À» ³ªÅ¸³À´Ï´Ù. inet addr:168.126.43.48 P-t-P:168.126.43.2 Mask:255.255.0.0 UP POINTOPOINT RUNNING MTU:1524 Metric:1 RX packets:26198 errors:0 dropped:0 overruns:0 frame:0 TX packets:16229 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 Memory:4dc3038-4dc3c34 [kskim@ja kskim]$/sbin/route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 168.126.43.2 * 255.255.255.255 UH 0 0 1 ppp0 <--- ÄÚ³ÝÀ¸·Î Á¢¼ÓµÇ¾ú½À´Ï´Ù. 168.248.138.0 * 255.255.255.0 U 0 0 162 eth0 <--- ³»ºÎ¸ÁÀÔ´Ï´Ù. 127.0.0.0 * 255.0.0.0 U 0 0 83 lo default 168.126.43.2 0.0.0.0 UG 0 0 196 ppp0 <--- µðÆúÆ® °ÔÀÌÆ®¿þÀÌ·Î ÀâÈû Á¦´ë·Î ¿¬°áµÇ¾ú´ÂÁö Ping Test¸¦ Çغ¾´Ï´Ù. [kskim@ja kskim]$ping home.hitel.net PING home.hitel.net (203.245.15.254): 56 data bytes 64 bytes from 203.245.15.254: icmp_seq=0 ttl=249 time=117.7 ms 64 bytes from 203.245.15.254: icmp_seq=1 ttl=249 time=60.1 ms 64 bytes from 203.245.15.254: icmp_seq=2 ttl=249 time=60.1 ms 64 bytes from 203.245.15.254: icmp_seq=3 ttl=249 time=60.1 ms 64 bytes from 203.245.15.254: icmp_seq=4 ttl=249 time=60.1 ms 64 bytes from 203.245.15.254: icmp_seq=5 ttl=249 time=60.1 ms 64 bytes from 203.245.15.254: icmp_seq=6 ttl=249 time=60.1 ms 64 bytes from 203.245.15.254: icmp_seq=7 ttl=249 time=70.1 ms --- home.hitel.net ping statistics --- 8 packets transmitted, 8 packets received, 0% packet loss round-trip min/avg/max = 60.1/68.5/117.7 ms Á¦´ë·Î ¿¬°áµÇ¾î Àß µ¿ÀÛ ÇÕ´Ï´Ù. ÀÎÅͳÝÀ» ²÷´Â ¸í·ÉÀº ¾Æ·¡¿Í °°½À´Ï´Ù. [kskim@ja kskim]$/etc/sysconfig/network-scripts/ifdown /etc/sysconfig/network-scripts/ifcfg-ppp0 [¿£ÅÍ] ÇÏ½Ã¸é µË´Ï´Ù. ¶È °°Àº ³»¿ëÀ» µÎ¹øÄ¡±â ±ÍÂúÀ¸½Ã¸é [kskim@ja kskim]$cd /etc/sysconfig/network-scripts/ [¿£ÅÍ] [kskim@ja network-scripts]$./ifdown ./ifcfg-ppp0 [¿£ÅÍ] ÇÏ½Ã¸é µË´Ï´Ù. 4.´Ù¸¥ PC¿¡¼­ ISDNÀ» ÅëÇÑ ÀÎÅͳݼ­ºñ½º °øÀ¯Çϱâ WIN95°¡ ¼³Ä¡µÈ ´Ù¸¥ PC¿¡¼­ ¸®´ª½º ¹Ú½º¸¦ ÅëÇÏ¿© ÀÎÅͳÝÀ» °øÀ¯ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¸®´ª½º¿¡¼­ IP Masquerade ¸¦ »ç¿ëÇÏ½Ã¸é µË´Ï´Ù. 4.1 ¸®´ª½º¹Ú½º IP Masquerade ¼³Á¤ ÀÚ¼¼ÇÑ ³»¿ëÀº http://kldp.org/network.html ¿¡¼­ * IP Masquerade mini HOWTO ÇÑ±Û ¹ø¿ªÆÇ ¹®¼­¸¦ ÂüÁ¶ÇϽñ⠹ٶó¸ç ¿©±â¼­´Â °£´ÜÇÏ°Ô ¼³¸íÀ» ÇÏ°Ú½À´Ï´Ù. ÀÏ´Ü root±ÇÇÑÀ¸·Î ÀÛ¾÷ÇÏ·Á¸é [kskim@ja kskim]$su [¿£ÅÍ] Passwd: <---¿©±â¼­ rootÀÇ Æнº¿öµå ÀÔ·ÂÈÄ [¿£ÅÍ]¸¦ Ĩ´Ï´Ù. ±×¸®°í³ª¼­ ¸ÕÀú IP Forwarding ÀÌ °¡´ÉÇϵµ·Ï ¸¸µé¾î ÁÝ´Ï´Ù. ¼öÁ¤ÇÒ È­ÀÏÀº /etc/sysconfig/network ÀÔ´Ï´Ù. ------- NETWORKING=yes FORWARD_IPV4="yes" <---- ¿©±â°¡ "yes"·Î µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù. HOSTNAME="ja.kotel.co.kr" <---- ¿ä±â´Â PC¸¶´Ù Ʋ¸³´Ï´Ù. DOMAINNAME=kotel.co.kr <---- ¿ä±âµµ PC¸¶´Ù Ʋ¸³´Ï´Ù. GATEWAY="" GATEWAYDEV="" ------- ±×¸®°í ³×Æ®¿÷ Àç½Ãµ¿ [root@ja kskim]#/etc/rc.d/init.d/network restart [¿£ÅÍ] ÇϽðí.. ±×¸®°í ipfwadmÀ¸·Î IP Masqerade ¸í·ÉÀ» ÁÝ´Ï´Ù. [root@ja kskim]#/sbin/ipfwadm -F -p deny [root@ja kskim]#/sbin/ipfwadm -F -a m -S 168.248.138.0/24 -D 0.0.0.0/0 [¿£ÅÍ]Ä¡½Ã¸é µË´Ï´Ù. ¿©±â¼­ 168.248.138.0/24 ´Â 168.248.138.0 ³×Æ®¿÷ÀÇ ¸ðµç È£½ºÆ®¿¡¼­ ¿ÜºÎ(ÄÚ³ÝÀ» ÅëÇÑ ÀÎÅͳÝ)À¸·Î Á¢¼ÓÀÌ °¡´ÉÇϵµ·Ï ÇØÁÖ´Â ¸í·ÉÀÔ´Ï´Ù. ´ÜÀÏ È£½ºÆ®¿¡°Ô¸¸ ¿­¾îÁÖ·Á¸é 168.248.138.145/32 ·Î ¿É¼ÇÀ» ÁÖ¸é 168.248.138.145È£½ºÆ® ¿¡¼­¸¸ ¿ÜºÎ·Î Á¢¼Ó°¡´ÉÇÕ´Ï´Ù. ±×¸®°í ºÎÆýà ¸¶´Ù ¹ø°Å·Ó°Ô ÀÔ·ÂÇϱ⠱ÍÂúÀ¸½Ã¸é /etc/rc.d/rc.sysinit È­ÀÏ µÞºÎºÐ¿¡ ¾Æ·¡³»¿ëÀ» Ãß°¡ ---------------------- /sbin/ipfwadm -F -p deny /sbin/ipfwadm -F -a m -S 168.248.138.0/24 -D 0.0.0.0/0 ---------------------- ¸¦ Àû¾îÁÖ¸é µË´Ï´Ù. * /etc/rc.d/rc.sysinit ¶Ç´Â /etc/rc.d/rc.local È­ÀÏ µÞºÎºÐ¿¡ Àû¾îÁּŵµ µË´Ï´Ù. 4.2 ¸¶½ºÄÉ·¹À̵ù ¸ðµâ ¶ç¿ì±â ±×¸®°í FTP³ª ƯÁ¤¼­ºñ½º¸¦ »ç¿ëÇϽ÷Á¸é º°µµÀÇ ¸ðµâÀ» »ç¿ëÇØ¾ß ÇÕ´Ï´Ù. ±×·¯¸é ¸ðµâÀ» ¿Ã¸³´Ï´Ù. [root@ja kskim]# modprobe ip_masq_ftp [Enter] <--- FTP¸¦ »ç¿ëÇϱâÀ§ÇØ [root@ja kskim]# modprobe ip_masq_raudio [Enter] <--- RealAudio¸¦ »ç¿ëÇϱâÀ§ÇØ [root@ja kskim]# modprobe ip_masq_vdolive [Enter] <--- ...¸¦ »ç¿ëÇϱâÀ§ÇØ ¸Þ¹ø ºÎÆýà ½ÇÇàÇϱ⠱ÍÂúÀ¸½Ã¸é /etc/rc.d/rc.local È­ÀÏÀÇ µÞºÎºÐ¿¡ Ãß°¡ÇØ ÁÝ´Ï´Ù. 4.3 À©µµ¿ì95¿¡¼­ÀÇ ³×Æ®¿÷¼³Á¤(Ŭ¶óÀ̾ðÆ®) °£´ÜÈ÷ ¾ê±âÇÏÀÚ¸é À©µµ¿ì95ÀÇ µðÆúÆ®°ÔÀÌÆ®¿þÀ̸¦ ¸®´ª½º¹Ú½ºÀÇ IPÁÖ¼Ò·Î ÁöÁ¤ÇÏ¼Å¾ß ÇÕ´Ï´Ù. À©µµ¿ì98µµ Àß µ¿ÀÛÇÕ´Ï´Ù. ¼³Á¤¹æ¹ýÀº À©µµ¿ì95ÀÇ "½ÃÀÛ"¸Þ´º Ŭ¸¯ "¼³Á¤" - "Á¦¾îÆÇ" ¼±Åà "³×Æ®¿öÅ©" ´õºíŬ¸¯ "³×Æ®¿öÅ© ±¸¼º"ÅÇ ¼±Åà "TCPIP - 3Com Etherlink III" Ŭ¸¯ - ·£Ä«µå¿¡ ¿¬°áµÈ TCP/IP ·£Ä«µå¿¡ µû¶ó Ʋ¸² "µî·ÏÁ¤º¸" Ŭ¸¯ "°ÔÀÌÆ®¿þÀÌ"ÅÇ Å¬¸¯ "»õ °ÔÀÌÆ®¿þÀÌ"Ç׸ñ¿¡ ¸®´ª½º¹Ú½ºÀÇ ·£Ä«µåÀÇ IPÁÖ¼Ò(ÀúÀÇ°æ¿ì 168.248.138.150)¸¦ Àû¾îÁÝ´Ï´Ù. "Ãß°¡(A)" Ŭ¸¯Çϸé "¼³Ä¡µÈ °ÔÀÌÆ®¿þÀÌ" ¿¡ ÇØ´ç IP°¡ º¸ÀÔ´Ï´Ù. ±×¸®°í "È®ÀÎ"À» Ŭ¸¯ÇÏ°í ³ª°¡¸é ÀçºÎÆÃÇ϶ó´Â ¸Þ¼¼Áö°¡ ³ª¿É´Ï´Ù. ÀçºÎÆÃÇϸé ÀÌÁ¦ ¸®´ª½º ¹Ú½º¸¦ ÅëÇØ ÀÎÅͳÝ(ÄÚ³Ý)À» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. °³·«ÀÇ ¿¬°áµµ´Â ¾Æ·¡¿Í °°½À´Ï´Ù. PC 1 Win95 IP 168.248.138.2 -----+ Mask 255.255.255.0 | Gw 168.248.138.150 | INTERNET | | PC 2 Win95 | Linux Box | IP 168.248.138.3 -----+---- eth0 -------- ppp0 ------- Kornet ISDN --+ Mask 255.255.255.0 | IP 168.126.43.2 01414 Gw 168.248.138.150 | IP 168.248.138.150 IP 168.126.43.48 | Mask 255.255.255.0 PC 3 Win95 | IP 168.248.138.4 -----+ Mask 255.255.255.0 Gw 168.248.138.150 ¿©±â¼­´Â ³»ºÎ³×Æ®¿÷ÁÖ¼Ò¸¦ ºÎ¿© ¹Þ¾Ò±â ¶§¹®¿¡ 168.248.138.0 ³×Æ®¿÷À» »ç¿ëÇÏ¿´°í ÀϹÝÀûÀ¸·Î´Â ³»ºÎ³×Æ®¿÷ ¿ëÀ¸·Î ¹èÁ¤µÈ 192.168.0.0 ³×Æ®¿÷Áß¿¡¼­ ÆíÇÑ´ë·Î ÁöÁ¤Çؼ­ »ç¿ëÇÏ¸é µË´Ï´Ù. ¿¹)192.168.1.0 À̳ª 192.168.2.0 µî 5. ÀÌÈÄ °³¼± ¹æÇâ * WIN95¿¡¼­ Á¢¼Ó¿ä±¸½Ã(ºê¶ó¿ìÀú°¡ ¶ß¸é)¿¡ ÀÚµ¿À¸·Î ÀüÈ­°É±â Diald¸¦ ¼³Ä¡ÇÑ´Ù. --> RedHat 4.2 ¿¡¼­ ¼³Ä¡ÇÑ °÷ÀÌ Àִµ¥ 2³âÀÌ ´ÙµÇ¾î°¡´Âµ¥ ¹®Á¦¾øÀÌ Àß µ¹¾Æ °©´Ï´Ù. * ¶Ç´Â À¥È¯°æ¿¡¼­ PPP¸¦ On Off ÇÑ´Ù. --> ´ÙÀ½¿¡ ½Ã°£ ÀÖÀ¸¸é ¿Ã¸®°Ú½À´Ï´Ù. 6.°á·Ð ISDN 1ȸ¼± ¶Ç´Â ¸ðµ© 1ȸ¼±À¸·Î À¥À» ÁÖ·Î »ç¿ëÇÑ´Ù¸é ¼ÓµµÀúÇϾøÀÌ ÀÎÅͳÝÀ» »ç¿ëÇÒ¼ö À־ ÅëÈ­·á¸¦ ¾Æ³¥¼ö ÀÖ´Ù. ÁÖ·Î Áß¼Ò±â¾÷¿¡ PC¸¦ 10´ë Á¤µµ ¹°·Á¼­ »ç¿ëÇϱ⿡´Â ±¦Âú´Ù°í »ý°¢ÇÕ´Ï´Ù. P.S Ȥ Ʋ¸°³»¿ë ¹ß°ß½Ã³ª ¹®¼­¿¡ ´ëÇØ °³¼±ÇÒ ¿©Áö°¡ ÀÖ´Ù°í »ý°¢ÇϽøé ÁÖÀú¾øÀÌ ¸ÞÀÏÀ» º¸³»ÁÖ½Ã¸é °í¸¿°Ú½À´Ï´Ù. ´Ù¸¥ °÷¿¡ »ç¿ë½Ã¿¡´Â Á¦°Ô ¸ÞÀÏÀ» º¸³»ÁÖ¼ÌÀ¸¸é °í¸¿°Ú½À´Ï´Ù. 1999.04.19. ±è±â¼ö baram88@soback.kornet.net baram88@kt.co.kr baram88@kebi.com http://www.uijongbu.co.kr http://baram88.dns4u.com ----- * Âü°í ÇÏÀÌÅÚ »ç¿ë½Ã -.Á¢¼ÓÀüÈ­¹øÈ£ : 02-3674-0001 ISDN 01432 ¸ðµ© 56k -.DNS : 204.252.145.2 -.DNS : 204.252.145.10 º¸Á¶ * ¸ðµ¨º° ML-PPP¸í·É <-- Á÷Á¢ ½ÃÇèÀº ¾ÈÇغýÀ´Ï´Ù. -.DigitelÀÇ DTA-200U : AT$V=2 <--- ´ë¿ì OEM ³³Ç° -.´ºÅØÁ¤º¸Åë½ÅÀÇ ¿È´Ï : ATB40&J3 -.I&T TelecomÀÇ TA-3000US : AT&O27 <--- ÄÚ¼¼½º OEM ³³Ç° 128K Á¢¼Ó ¾ÈµÉ½Ã Æß¿þ¾î ¾÷±×·¹À̵å ÇÊ¿ä. -.½´ÆÛ³×Æ®ÀÇ NTA´Â MLPPP¸í·ÉÀÌ ¾ø´ä´Ï´Ù. 64K·Î ¾²¼Å¾ß ÇÒ°Í °°½À´Ï´Ù. (»ç±¤¼± kssa@hanmail.net´ÔÀÌ »ç¿ëÇÏ°í °è½Ê´Ï´Ù.) * ¼º°øÇϽźÐÀ̳ª ÀÌ¹Ì »ç¿ëÇÏ°í °è½ÅºÐÀº Àåºñ¸í ISP Á¢¼ÓÀüÈ­¹øÈ£ MLPPP¸í·ÉµîÀ» ¸ÞÀÏ·Î º¸³»ÁÖ½Ã¸é °í¸¿°Ú½À´Ï´Ù.