2개의 IP를 사용하려면 랜카드가 2개 있어야 겠네요..
먼저 넷트워크 설정을 하려면..
ifcofig 장치명(예:eth0) IP값 netmask값 up (up과down 중 선택함, 여기선 up)
하시면 해당 장치(ehh0, eth1 ..) 가 설정 됩니다.
설정후 확인은 ifconfig 를 하시면..
-----------------------------------------------------------------------
eth0 Link encap:Ethernet HWaddr 00:48:54:51:F9:0A
inet addr:61.84.218.138 Bcast:61.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9334637 errors:0 dropped:0 overruns:0 frame:0
TX packets:7628587 errors:2 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:5 Base address:0xe400
eth1 Link encap:Ethernet HWaddr 00:48:54:51:F9:0A
inet addr:61.84.218.171 Bcast:61.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9334637 errors:0 dropped:0 overruns:0 frame:0
TX packets:7628587 errors:2 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:5 Base address:0xe400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:108 errors:0 dropped:0 overruns:0 frame:0
TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
-----------------------------------------------------------------------
이렇게 확인이 되지요..
그런 다음에는 두개의 아이피를 쓰실수 있씸다..
: 한 서버에 아이피를 2개 셋팅해서 사용하려고 하는데
: 혹시 아시는 분은 답글을 남겨주시거나
: 이멜로 연락주시면 감사..
:
: --
: 이 곳에 서명을 적어주십시오.
: 서명