1. Show ip information
ifconfig eth0
2. Change ip adress
ifconfig eth0 ip netmask 255.255.255.0 up
3. If ip address is not applied after rebooting, please change following file
ifconfig eth0
2. Change ip adress
ifconfig eth0 ip netmask 255.255.255.0 up
3. If ip address is not applied after rebooting, please change following file
/etc/sysconfig/network-scripts/ifcfg-eth0
'컴퓨터 > Linux' 카테고리의 다른 글
Ubuntu]root 계정 비밀번호 설정하기 (0) | 2011.04.14 |
---|---|
Ubuntu 9.10]SMB 설정 (0) | 2010.06.07 |
Ubuntu]vim을 이용한 환경 변수 설정(bash) (0) | 2010.05.21 |
Linux]current directory에 있는 파일 실행하기 (0) | 2010.01.21 |
Linux Tip (0) | 2010.01.08 |