컴퓨터공부

가상 loopback먹이기~!

achivenKakao 2006. 8. 13. 04:26

ifconfig eth0:0 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255 up 딱쳐주고..

ipconfig 로 확인하면 loopback아이피가 나온다.. 이걸 리부팅하면 안올라오기때문에..

vi /etc/rc.local부분에

#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
ifconfig eth0:0 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255 up
~
위와 같이 해줘브믄 된닷.. 우키키!~