* 작업 환경

  - 4 port 랜카드가 서버에 2개 꽂여 있음

    즉 8개의 port 를 사용할 수 있는 NIC (ce0 ~ ce7)

  - 고객사에서 LAN 선을 하나 추가적으로 할당 받아 서버에 설정할 경우

  - 추가적인 물리적인 랜선이 꽂을때 네트워크 인터페이스 장치명이 ce0 인지? ce1 인지?  ce2 인지 알수 없음

 

 

* 인터페이스 확인

[command]# cat /etc/path_to_inst


#
#       Caution! This file contains critical kernel state
#
"/options" 0 "options"
"/pci@8,700000" 0 "pcisch"
"/pci@8,700000/ide@6" 0 "uata"
"/pci@8,700000/ide@6/sd@0,0" 0 "sd"
"/pci@8,700000/SUNW,XVR-100@2" 0 "pfb"
"/pci@8,600000" 1 "pcisch"
"/pci@8,600000/pci@1" 0 "pci_pci"
"/pci@8,600000/pci@1/network@0" 0 "ce"
"
/pci@8,600000/pci@1/network@1" 1 "ce"
"
/pci@8,600000/pci@1/network@2" 2 "ce"
"
/pci@8,600000/pci@1/network@3" 3 "ce"
"/pci@8,600000/pci@2" 1 "pci_pci"
"/pci@8,600000/pci@2/network@0" 4 "ce"
"
/pci@8,600000/pci@2/network@1" 5 "ce"
"
/pci@8,600000/pci@2/network@2" 6 "ce"
"
/pci@8,600000/pci@2/network@3" 7 "ce"
"/pci@9,700000" 2 "pcisch"
"/pci@9,700000/ebus@1" 0 "ebus"
"/pci@9,700000/ebus@1/rtc@1,300070" 0 "todds1287"
"/pci@9,700000/ebus@1/i2c@1,30" 0 "pcf8584"
"/pci@9,700000/ebus@1/i2c@1,30/ioexp@0,80" 0 "ssc050"
"/pci@9,700000/ebus@1/i2c@1,30/ioexp@0,82" 1 "ssc050"
"/pci@9,700000/ebus@1/i2c@1,30/temperature@0,30" 0 "max1617"
"/pci@9,700000/ebus@1/i2c@1,30/temperature@0,34" 1 "max1617"
"/pci@9,700000/ebus@1/i2c@1,30/fru@0,a0" 20 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,30/fru@0,a2" 21 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,30/fru@0,a6" 22 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,30/fru@0,a8" 23 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,30/fru@0,ae" 24 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,30/ioexp@0,44" 0 "pcf8574"
"/pci@9,700000/ebus@1/i2c@1,30/ioexp@0,46" 1 "pcf8574"
"/pci@9,700000/ebus@1/i2c@1,30/ioexp@0,4c" 2 "pcf8574"
"/pci@9,700000/ebus@1/i2c@1,30/ioexp@0,70" 3 "pcf8574"
"/pci@9,700000/ebus@1/i2c@1,30/ioexp@0,72" 4 "pcf8574"
"/pci@9,700000/ebus@1/i2c@1,30/temperature-sensor@0,9c" 0 "lm75"
"/pci@9,700000/ebus@1/serial@1,400000" 0 "se"
"/pci@9,700000/ebus@1/rsc-control@1,3062f8" 0 "su"
"/pci@9,700000/ebus@1/rsc-console@1,3083f8" 1 "su"
"/pci@9,700000/ebus@1/i2c@1,2e" 1 "pcf8584"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a0" 0 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a2" 1 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a4" 2 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a6" 3 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a8" 4 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@0,aa" 5 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@0,ac" 6 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@0,ae" 7 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@2,a0" 8 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@2,a2" 9 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@2,a4" 10 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@2,a6" 11 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@2,a8" 12 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@2,aa" 13 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@2,ac" 14 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@2,ae" 15 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@4,a0" 16 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/nvram@4,a4" 17 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@4,a8" 18 "seeprom"
"/pci@9,700000/ebus@1/i2c@1,2e/fru@4,aa" 19 "seeprom"
"/pci@9,700000/ebus@1/pmc@1,300700" 0 "pmc"
"/pci@9,700000/ebus@1/power@1,30002e" 0 "power"
"/pci@9,700000/ebus@1/gpio@1,300600" 0 "gpio_87317"
"/pci@9,700000/usb@1,3" 0 "ohci"
"/pci@9,700000/usb@1,3/hub@2" 0 "hubd"
"/pci@9,700000/usb@1,3/hub@2/keyboard@4" 0 "hid"
"/pci@9,700000/network@2" 8 "ce"
"/pci@9,600000" 3 "pcisch"
"/pci@9,600000/SUNW,qlc@2" 0 "qlc"
"/pci@9,600000/SUNW,qlc@2/fp@0,0" 0 "fp"
"/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100001d3851de19,0" 0 "ssd"
"/pci@9,600000/network@1" 9 "ce"
"/memory-controller@0,400000" 0 "mc-us3"
"/memory-controller@2,400000" 1 "mc-us3"
"/pseudo" 0 "pseudo"
"/scsi_vhci" 0 "scsi_vhci"

 

* link_status 를 체크

  - ndd 명령의 결과에서 link_status 가 있을 경우 ndd -get /dev/ce link_status 할 때 결과로 링크 상태 체크

  - ce 장치의 경우 link_status 항목이 없음

 

[command]# 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)

 

* IP 셋팅


[command]# ifconfig ce5 plumb 192.168.100.100 netmask 255.255.255.0 up

 

[command]# ping 192.168.100.1
192.168.100.1 is alive

 

[command]# vi /etc/hostname.ce5
192.168.100.100

 

* 백승찬 강사님의 도움 감사드립니다 (^^)(__)(^^)

 

* http://cafe.naver.com/eitlinux.cafe - 바두기 짱 -

 

 

+ Recent posts