솔라리스 네트워크 설정

———————————————————-

#vi /etc/hosts

::1     localhost
127.0.0.1       localhost
(IP주소)  (호스트명)    (호스트명).mydomain.com       loghost
예) 192.168.47.150  sola    sola.mydomain.com       loghost

———————————————————-

#vi /etc/resolv.conf

domain mydomain.com
nameserver (게이트웨이 주소)

예) nameserver 192.168.47.2

———————————————————-

#vi /etc/defaultrouter

(게이트웨이 주소)

예)192.168.47.2

———————————————————-

#vi /etc/hostname.(장치명)

예:)#vi /etc/hostname.e1000g0

(호스트명)

예:)sola

———————————————————-

#cp /etc/nsswitch.dns /etc/nsswitch.conf

———————————————————-

#svcadm -v restart svc:/milestone/network:default

#svcadm -v restart network/physical

#svcadm -v refresh svc:/milestone/network:default

———————————————————-

댓글 남기기

바로가기