>> Edit article
이름
제목
패스워드
: 한 서버에 아이피를 2개 셋팅해서 사용하려고 하는데 : 혹시 아시는 분은 답글을 남겨주시거나 : 이멜로 연락주시면 감사.. : : -- : 이 곳에 서명을 적어주십시오. : 서명 랜카드 하나에 아이피 두개 부여하는법 rc.local에 다음과같이 추가하시고 실행하세요.... 가상아이피 잡는법 임니당..... #setting up IP alias interfaces echo "Setting VirtIP..." /sbin/ifconfig lo 127.0.0.1 /sbin/ifconfig eth0 up /sbin/ifconfig eth0 x.x.x.x(첫번째ip) /sbin/ifconfig eth0:0 xx.xx.xx.xx(두번째ip) #setting up the routes /sbin/route add -net 127.0.0.0 /sbin/route add -net x.x.x.0 dev eth0 /sbin/route add -host x.x.x.x eth0 /sbin/route add -host xx.xx.xx.xx eth0:0
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved