hostname : sol-25
NIC name : e1000g0
1. hostname.e1000g0파일 생성
4. nsswitch 파일수정
NIC name : e1000g0
1. hostname.e1000g0파일 생성
# echo "inet sol-25" > /etc/hostname.e1000g0
2. dhcp.e1000g0 파일 생성
# touch /etc/dhcp.e1000g0
** 호스트 이름은 로컬에서 셋팅해놓고 dhcp에서 받아오길 원치 않는 상황이라면
/etc/default/dhcpagent 파일을 수정하면된다
PARAM_REQUEST_LIST=1,3,6,12,15,28,43
을
PARAM_REQUEST_LIST=1,3,6,15,28,43
3. resolv 파일생성 후 nameserver추가
/etc/default/dhcpagent 파일을 수정하면된다
PARAM_REQUEST_LIST=1,3,6,12,15,28,43
을
PARAM_REQUEST_LIST=1,3,6,15,28,43
3. resolv 파일생성 후 nameserver추가
# vi /etc/resolv.conf
nameserver 168.126.63.1
nameserver 8.8.4.4
4. nsswitch 파일수정
# vi /etc/nsswitch.conf
hosts: file 을 아래와 같이 수정한다.
hosts: file dns
5. dhcp 시작
# ifconfig e1000g0 auto-dhcp start
<출처> http://bug94.tistory.com/entry/Solaris-10%EC%97%90%EC%84%9C-DHCP-%EC%84%A4%EC%A0%95
<출처> http://bug94.tistory.com/entry/Solaris-10%EC%97%90%EC%84%9C-DHCP-%EC%84%A4%EC%A0%95
'OS > Solaris' 카테고리의 다른 글
0511 정리자료 DNS-zone 세팅, DNS구성 및 시나리오 작성 (0) | 2011.05.11 |
---|---|
솔라리스 10 웹서버 구축하기. (0) | 2011.05.09 |
0506 공부 정리, zone구성 실습 및 jump start구성 실습 (0) | 2011.05.09 |
0504 dump, nfs, acl, RBAC, syslog (0) | 2011.05.05 |
0503 정리 (0) | 2011.05.05 |