ÇãÇã ^^³×¶± ¾ÆÀÌÇÇ Àå¾ÇÇϱâ ^^b Á×À̴µ¥¿ä..ÇÏÇÏ
·¹µåÇÞ ¸®´ª½º¿¡¼ ip aliases ¼Õ½±°Ô ¼³Á¤Çϱâ
±Û¾´ÀÌ : ±èÁÖÇö (2003³â 01¿ù 24ÀÏ ¿ÀÈÄ 06:31) ÀÐÀº¼ö: 3,575 [ ³×Æ®¿öÅ© Àμâ¿ë ÆäÀÌÁö º»¹® email·Î º¸³»±â ]
³×Æ®¿öÅ© ±× µ¿¾È IP aliases ¼³Á¤½Ã ifconfig ¸í·É¾î·Î Àâ¾ÆÁÖ°í
ºÎÆýà ÀÚµ¿À¸·Î Çϱâ À§ÇØ rc.local µûÀ§¿¡ ³Ö¾îÁá¾ú´Âµ¥...
/etc/sysconfig/network-scripts/ µð·ºÅ丮ÀÇ ifup-aliases ½ºÅ©¸³Æ®¸¦
º¸¸é ´õ °£´ÜÇÏ°Ô ip alias ¸¦ ¼³Á¤ÇÒ ¼ö ÀÖµµ·Ï µÇ¾îÀÖ´õ±º¿ä.
eth1 ÀÎÅÍÆäÀ̽º¸¦ ip aliases ÇÑ´Ù°í °¡Á¤Çϸé
/etc/sysconfig/network-scripts µð·ºÅ丮¿¡ ifcfg-eth1-range0
¶ó´Â ¼³Á¤ ÆÄÀÏÀ» ¸¸µì´Ï´Ù.
¼³Á¤ ÆÄÀÏÀÇ ³»¿ëÀº ´ÙÀ½°ú °°½À´Ï´Ù.
IPADDR_START=192.168.0.200
IPADDR_END=192.168.0.203
CLONENUM_START=0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
IPADDR_START´Â eth1:0 ~ ¿¡¼ ºÎÅÍ ÇÒ´çµÉ IP ½ÃÀÛ ÁÖ¼Ò
IPADDR_END ´Â eth1:n ±îÁö ÇÒ´çµÉ IP ³¡ ÁÖ¼ÒÀÔ´Ï´Ù.
Áï À§ÀÇ °æ¿ì´Â eth1:0, eth1:1, eth1:2, eth1:3 ±îÁö
200~203 IP°¡ °¢°¢ ÇÒ´çµË´Ï´Ù.
NETMASK³ª BOARDCAST ÀÇ °æ¿ì´Â ¸ðµç alias µÈ ÀÎÅÍÆäÀ̽º¿¡ °øÅëÀÔ´Ï´Ù.
´Ù ¼³Á¤ÇϽŠ´ÙÀ½ service network restart ÇϽøé Àû¿ëµË´Ï´Ù.
ÀçºÎÆýÿ¡µµ ÀÚµ¿À¸·Î ¼³Á¤µË´Ï´Ù.
È®ÀÎÀº ifconfig -a Çغ¸½Ã¸é ....
eth1:0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Base address:0x1000
eth1:1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.0.201 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Base address:0x1000
eth1:2 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.0.202 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Base address:0x1000
eth1:3 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.0.203 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Base address:0x1000
|