1) Vi를 통한 IP 재설정 순서
---------------------------------------------------------------------------
- cd /etc/sysconfig/network-scripts
- vi ifcfg-eth0
- IP 주소와 Gateway 설정 후 편집기 닫기
- /etc/init.d/network restart 를 통해 재인식
- ifconfig를 통해 설정된 내용이 올바른지 확인.
2) IP설정 후 만약 외부에서 접속 오류시 Default Gateway 설정 확인
---------------------------------------------------------------------------
- route 로 routing table 확인
- Default gateway가 잘못설정되어 있으면 삭제 또는 추가
- route add default gw IP주소 dev eth0
'개발 세발 창고' 카테고리의 다른 글
font-family 설정시 주의해야 할 점. (CSS) - 펌글 (0) | 2013.08.13 |
---|---|
서버 IP 변경후 오라클 lsnrctl start 에러 (0) | 2013.01.22 |
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path (0) | 2011.08.16 |
Mac OS X 스노우 레오파드 홈폴더 이름 변경 (0) | 2011.06.16 |
VMWare에 Mac OS Snow Leopard 설치시 무한 재부팅 문제 (0) | 2011.06.16 |