'solaris network'에 해당되는 글 1건

  1. 2010.03.09 solaris network 설정
OS/SOLARIS2010. 3. 9. 15:23
반응형
1. Interface 확인
# more /etc/path_to_inst
hme, bge, bnx 등의 Interface 확인한다.

또는 dmesg 에 Load된 내용을 확인!

2. Hostname.hme 생성 ; Broadcom Interface 임!
# vi /etc/hostname.hme0
hostname

3. Interface 활성화 및 Network 설정
# ifconfig hme0 plumb ; Kernel에 인식시킴
# ifconfig hme0 xxx.xxx.xxx.xxx netmask 255.255.255.xxx broadcast + up
dhcp 로 ip 할당시 ==> # ifconfig hme auto-dhcp

4. Router 추가
# route add default xxx.xxx.xxx.xxx
# vi /etc/defaultrouter
xxx.xxx.xxx.xxx

5. Hostname 추가
# vi /etc/hosts
127.0.0.1   localhost
xxx.xxx.xxx.xxx   hostname   hostname.co.kr   loghost

6. Nameserver 추가
# vi /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx 
dns서버  아이피 셋팅

7. nsswitch.conf 수정
 # vi /etc/nsswitch.conf
hosts : dns files

-------------------------------------------------------------------
1. Network Status 확인
# ndd -get /dev/hme link_status
 0 : link down / 1 : link up

2. Network Speed 확인
# ndd -get /dev/hme link_speed
 0 : 10M bps / 1 : 100M bps

3. Network Duplex 확인
# ndd -get /dev/hme link_duplex
 0 : Half-Duplex mode / 1 : Full-Duplex mode

반응형
Posted by [PineTree]