CIPE ¼¹ö¸¦ ¼³Á¤Çϱâ À§Çؼ´Â, Red Hat Enterprise Linux CD-ROMÀ̳ª Red Hat Network¿¡¼ cipe RPM ÆÐŰÁö¸¦ ¼³Ä¡ÇϽñ⠹ٶø´Ï´Ù.
![]() | Áß¿ä |
---|---|
ÀÌÀü ¹öÀü Red Hat Enterprise LinuxÀ̳ª ÀÌÀü ¹öÀü CIPE¸¦ »ç¿ëÇϽŴٸé, ÃֽйöÀüÀ¸·Î ¾÷±×·¹ÀÌµå ½ÃŰ¼Å¾ß ÇÕ´Ï´Ù. |
´ÙÀ½À¸·Î /usr/share/doc/cipe-version/samples/ (¿©±â¼ versionÀº ½Ã½ºÅÛ¿¡ ¼³Ä¡µÈ CIPEÀÇ ¹öÀüÀ» ÀǹÌÇÕ´Ï´Ù)¿¡¼ ¿¹½Ã ¼³Á¤ ÆÄÀÏÀ» /etc/cipe/·Î º¹»çÇØ ¿À½Ê½Ã¿À. º¹»ç¸¦ ¸¶Ä£ ÈÄ /etc/cipe/options.cipcbx ÆÄÀÏ¿¡ LAN ¼ºê³Ý ÁÖ¼Ò¿Í °ø°³ ¶ó¿ìÆ® °¡´ÉÇÑ ¹æÈº® IP ÁÖ¼Ò¸¦ ÀÔ·ÂÇϽñ⠹ٶø´Ï´Ù (CIPE ¼¹ö¿¡¼ ÇÑ °³ ÀÌ»óÀÇ CIPE Á¢¼ÓÀ» ¿øÇϽô ºÐµéÀº x¸¦ 0¿¡¼ ½ÃÀÛÇÏ¿© °è¼Ó Áõ°¡½ÃŰ¸é µË´Ï´Ù). ´ÙÀ½Àº Red Hat Enterprise Linux cipe RPM¿¡ Æ÷ÇÔµÈ ¿¹½Ã options ÆÄÀÏÀÔ´Ï´Ù. ÀÌ RPMÀº ´ÙÀ½ ¿¹½Ã¿¡¼´Â options.cipbcb0À¸·Î À̸§ÀÌ º¯°æµÇ¾ú½À´Ï´Ù:
# Surprise, this file allows comments (but only on a line by themselves) # This is probably the minimal set of options that has to be set # Without a "device" line, the device is picked dynamically # the peer's IP address ptpaddr 6.5.4.3 # our CIPE device's IP address ipaddr 6.7.8.9 # my UDP address. Note: if you set port 0 here, the system will pick # one and tell it to you via the ip-up script. Same holds for IP 0.0.0.0. me bigred.inka.de:6789 # ...and the UDP address we connect to. Of course no wildcards here. peer blackforest.inka.de:6543 # The static key. Keep this file secret! # The key is 128 bits in hexadecimal notation. key xxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
ptpaddr´Â ¿ø°Ý LANÀÇ CIPE ÁÖ¼ÒÀÔ´Ï´Ù. ipaddr´Â ¿öÅ©½ºÅ×À̼ÇÀÇ CIPE IP ÁÖ¼ÒÀÔ´Ï´Ù. me ÁÖ¼Ò´Â ÀÎÅÍ³Ý »ó¿¡¼ UDP ÆÐŶÀ» º¸³»´Â Ŭ¶óÀ̾ðÆ®ÀÇ °ø°³ÀûÀ¸·Î ¶ó¿ìÆ®°¡´ÉÇÑ IP ÁÖ¼ÒÀÌ¸ç ¹Ý¸é peer´Â CIPE ¼¹öÀÇ ¶ó¿ìÆÃ °¡´ÉÇÑ IP ÁÖ¼ÒÀÔ´Ï´Ù. Ŭ¶óÀÌ¾ðÆ® ¿öÅ©½ºÅ×À̼ÇÀÇ IP ÁÖ¼Ò´Â µ¿Àû ¿¬°áÀ» »ç¿ëÇϱ⠶§¹®¿¡ 0.0.0.0·Î ÁöÁ¤ÇÏ¼Å¾ß ÇÕ´Ï´Ù. CIPE Ŭ¶óÀÌ¾ðÆ®´Â È£½ºÆ® CIPE ¼¹ö·ÎÀÇ ¿¬°áÀ» ó¸®ÇÕ´Ï´Ù. key ¶õ (x·Î ³ªÅ¸³ª¸ç; Ű´Â ºñ¹ÐÀÔ´Ï´Ù)Àº °øÀ¯ °íÁ¤Å°ÀÔ´Ï´Ù. ÀÌ Å°´Â ¹Ýµå½Ã ¾ç peers¿¡¼ µ¿ÀÏÇØ¾ßÇÏ¸ç ±×·¸Áö ¾ÊÀ¸¸é ¿¬°áÀÌ ¼º¸³µÇÁö ¾Ê½À´Ï´Ù. CIPE ½Ã½ºÅÛ¿¡ »ç¿ëµÉ °øÀ¯ °íÁ¤Å°¸¦ »ý¼ºÇÏ´Â ¹æ¹ý¿¡ ´ëÇÑ Á¤º¸¸¦ º¸½Ã·Á¸é 6.8 ÀýÀ» ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù.
´ÙÀ½Àº Ŭ¶óÀÌ¾ðÆ® ¿öÅ©½ºÅ×À̼ǿ¡¼ »ç¿ëÇÒ ¼öÁ¤µÈ /etc/cipe/options.cipcb0 ÆÄÀÏÀÔ´Ï´Ù:
ptpaddr 10.0.1.2 ipaddr 10.0.1.1 me 0.0.0.0 peer LAN.EXAMPLE.COM:6969 key 123456ourlittlesecret7890shhhh |
´ÙÀ½Àº CIPE ¼¹ö¿¡ »ç¿ëµÉ /etc/cipe/options.cipcb0 ÆÄÀÏÀÔ´Ï´Ù:
ptpaddr 10.0.1.1 ipaddr 10.0.1.2 me LAN.EXAMPLE.COM:6969 peer 0.0.0.0 key 123456ourlittlesecret7890shhhh |