본문 바로가기

운영체제

[Solaris] solaris DHCP network setting

※ 이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다.




인터페이스 확인

#dladm show-link


모든 네트워크 인터페이스를 연결(plumb)합니다.

#ifconfig -a plumb


네트워크 설정

#echo "192.168.10.1 gateway" >> /etc/hosts

#echo "gateway" >> /etc/hostname.e1000g0

#echo "" >> /etc/dhcp.e1000g0

or

#echo "192.168.10.1" >> /etc/hostname.e1000g0

#echo "" >> /etc/dhcp.e1000g0


네트워크 설정 확인

#ifconfig -a

#netstat -r

#svcs network


network restart

#svcadm restarr network/physical


물리적 인터페이스 제거

#ifconfig xxx down unplumb


DHCP 설정 관련 파일 목록

/etc/hosts

/etc/hostname.xxx

/etc/dhcp.xxx

'운영체제' 카테고리의 다른 글

[Solaris] Solaris 임시적으로 network 설정  (0) 2016.06.03
[Solaris] Solaris STATIC network setting  (0) 2016.06.03
[Linux] YUM  (0) 2016.06.03
[Linux] NIS(Network Information system)  (0) 2016.06.02
[Linux] NIS client 설정  (0) 2016.06.02