-
솔라리스 10 네트워크 설정solaris 2010. 4. 7. 23:05
참고싸이트 : http://proneer.tistory.com/entry/Solaris-%EB%84%A4%ED%8A%B8%EC%9B%8C%ED%81%AC-%EC%84%A4%EC%A0%95
1. 네트워크 디바이스 설치 확인
2. # ls /etc/hostname*
명령으로 디바이스가 설정 되어 있는지 확인
#vi /etc/hostname.prn0
으로 들어가서 사용하려는 host명 입력
3. /etc/inet/hosts 파일 편집
기본읽기 권한으로 제한되어 있기 때문에
# cp /etc/inet/hosts /etc/inet/hosts.backup => 기존 파일 백업
# chmod 666 /etc/inet/hosts => 쓰기 권한 추가
# vi /etc/inet/hosts
[IP Address] hostname loghost
4. 게이트웨이 설정
# vi /etc/defaultrouter
[Gateway Address]
5. dns 사용하도록 설정
# vi /etc/nsswitch.conf
host: files dns
6. dns 서버 지정
# vi /etc/resolv.conf
domain [domain name]
nameserver xxx.xxx.xxx.xxx(DNS server IP)
7. netmask 설정
# cp /etc/inet/netmasks /etc/inet/netmasks.backup
# chmod 666 /etc/inet/netmasks
# vi /etc/inet/netmasks
xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
[네트워크주소] [서브넷 마스크]
8. reboot
# reboot'solaris' 카테고리의 다른 글
솔라리스10에서 PostgreSQL 를 설정 및 실행하는 방법 (0) 2011.04.21 솔라리스 10 root ssh 원격접속 하기 (0) 2011.04.20 solaris 10 u5에 oracle 10g r2 설치 (0) 2011.04.20 solaris 10 u5 설치 (0) 2010.05.03 댓글