Solaris/기술과 팁
[sol10, sol9] 네트워크 카드 (ce) 링크 모드 등 정보 확인 및 변경방법
[건희아빠]
2010. 5. 12. 16:41
1. ifconfig -a 로 모든 NIC정보 확인
[LDSCEZDN01P:root:/ 3371] ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 111.111.222.333 netmask ffffffc0 broadcast 111.111.222.255
ether 01:12:43:33:aa:6
2. ce 타입의 NIC 확인, 이 타입은 아래 명령어로 사용가능한 옵션을 확인함
# ndd -get /dev/ce ?
? (read only)
instance (read and write)
adv_autoneg_cap (read and write)
adv_1000fdx_cap (read and write)
adv_1000hdx_cap (read and write)
adv_100T4_cap (read and write)
adv_100fdx_cap (read and write)
adv_100hdx_cap (read and write)
adv_10fdx_cap (read and write)
adv_10hdx_cap (read and write)
adv_asmpause_cap (read and write)
adv_pause_cap (read and write)
master_cfg_enable (read and write)
master_cfg_value (read and write)
use_int_xcvr (read and write)
enable_ipg0 (read and write)
ipg0 (read and write)
ipg1 (read and write)
ipg2 (read and write)
rx_intr_pkts (read and write)
rx_intr_time (read and write)
red_dv4to6k (read and write)
red_dv6to8k (read and write)
red_dv8to10k (read and write)
red_dv10to12k (read and write)
tx_dma_weight (read and write)
rx_dma_weight (read and write)
infinite_burst (read and write)
disable_64bit (read and write)
accept_jumbo (read and write)
laggr_multistream (read and write)
3. auto 모드인지 확인하려면 아래와 같이 실행. 결과가 1이면 auto모드임.
# ndd -get /dev/ce adv_autoneg_cap
1
4. 100 full-duplex일 경우 아래와 같이 실행해서 결과가 1
# ndd -get /dev/ce adv_100fdx_cap
1