1. 개별 instance 값 설정
  ce0 : 100fdx / ce1 : 10fdx / ce2 : 100fdx / ce3 : 100fdx / ce4 : 100fdx / ce5 : 10fdx


# grep ce /etc/path_to_inst
“/pci@8,700000/pci@2/pci@0/network@0” 2 “ce”
“/pci@8,700000/pci@2/pci@0/network@1” 3 “ce”
“/pci@8,700000/pci@2/pci@4/network@2” 4 “ce”
“/pci@8,700000/pci@2/pci@4/network@3” 5 “ce”
“/pci@9,700000/usb@1,3/device@1” 0 “usb_mid”
“/pci@9,700000/usb@1,3/device@1/keyboard@0” 2 “hid”
“/pci@9,700000/usb@1,3/device@1/mouse@1” 3 “hid”
“/pci@9,700000/network@2” 0 “ce”
“/pci@9,600000/network@1” 1 “ce”


# grep ce /etc/driver_aliases
ce “pci108e,abba”
ce “pci100b,35”


아래파일 생성


# vi /platform/sun4u/kernel/drv/ce.conf
name=”pci108e,abba” parent=”/pci@9,700000″ unit-address=”2″
adv_autoneg_cap=0
adv_1000fdx_cap=0
adv_1000hdx_cap=0
adv_100fdx_cap=1
adv_100hdx_cap=0
adv_10fdx_cap=0
adv_10hdx_cap=0;


name=”pci108e,abba” parent=”/pci@9,600000″ unit-address=”1″
adv_autoneg_cap=0
adv_1000fdx_cap=0
adv_1000hdx_cap=0
adv_100fdx_cap=0
adv_100hdx_cap=0
adv_10fdx_cap=1
adv_10hdx_cap=0;



name=”pci100b,35″ parent=”/pci@8,700000/pci@2/pci@0″ unit-address=”0″
adv_autoneg_cap=0
adv_1000fdx_cap=0
adv_1000hdx_cap=0
adv_100fdx_cap=1
adv_100hdx_cap=0
adv_10fdx_cap=0
adv_10hdx_cap=0;


name=”pci100b,35″ parent=”/pci@8,700000/pci@2/pci@0″ unit-address=”1″
adv_autoneg_cap=0
adv_1000fdx_cap=0
adv_1000hdx_cap=0
adv_100fdx_cap=1
adv_100hdx_cap=0
adv_10fdx_cap=0
adv_10hdx_cap=0;


name=”pci100b,35″ parent=”/pci@8,700000/pci@2/pci@4″ unit-address=”2″
adv_autoneg_cap=0
adv_1000fdx_cap=0
adv_1000hdx_cap=0
adv_100fdx_cap=1
adv_100hdx_cap=0
adv_10fdx_cap=0
adv_10hdx_cap=0;


name=”pci100b,35″ parent=”/pci@8,700000/pci@2/pci@4″ unit-address=”3″
adv_autoneg_cap=0
adv_1000fdx_cap=0
adv_1000hdx_cap=0
adv_100fdx_cap=0
adv_100hdx_cap=0
adv_10fdx_cap=1
adv_10hdx_cap=0;



2. 개별 instance값을 없애고 전체 100fdx설정


# vi /platform/sun4u/kernel/drv/ce.conf
adv_autoneg_cap=0
adv_1000fdx_cap=0
adv_1000hdx_cap=0
adv_100T4_cap=0
adv_100fdx_cap=1
adv_100hdx_cap=0
adv_10fdx_cap=0
adv_10hdx_cap=0;


1. 솔라리스 9, 10 동일


 


  1) ifconfig -a 로 네트웍 인터페이스 이름을 알아야 합니다.


    – 화재 서버는 대부분 ce(기가) 아니면 ipge(utp) 입니다.


 


  2) 다음 명령어 실행해서 살펴보면 됩니다.


    kstat -p [인터페이스이름] |grep link_|grep hme0


    -> 결과값의 duplex에서 0 -다운 1-half, 2-full 입니다.


   


i) 네트웍 인터페이스 이름 알기 => ce0,1,2,3 총 4개 존재하는군요.


 


[sfwebd01:/#]ifconfig -a


lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1


      inet 127.0.0.1 netmask ff000000


ce1: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 17


      inet 210.118.96.126 netmask ffffffc0 broadcast 210.118.96.127


      groupname sfwebd01_ipmp


      ether 0:14:4f:1e:f3:67


ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 18


      inet 210.118.96.124 netmask ffffffc0 broadcast 210.118.96.127


      groupname sfwebd01_ipmp


      ether 0:14:4f:1e:cb:a2


ce0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 18


      inet 210.118.96.125 netmask ffffffc0 broadcast 210.118.96.127


ce3: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 20


      inet 42.8.35.134 netmask ffffff00 broadcast 42.8.35.255


      groupname sfwebd01


      ether 0:3:ba:da:2:d3


ce2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 21


      inet 42.8.35.132 netmask ffffff00 broadcast 42.8.35.255


      groupname sfwebd01


      ether 0:14:4f:23:3f:80


ce2:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 21


      inet 42.8.35.133 netmask ffffff00 broadcast 42.8.35.255


 


ii) 인터페이스별 확인


[sfwebd01:/#]kstat -p ce | grep link_ | grep ce0


ce:0:ce0:link_T4      0


ce:0:ce0:link_asmpause  0


ce:0:ce0:link_duplex  2    <– 2번이므로 full 연결입니다.


ce:0:ce0:link_pause    0


ce:0:ce0:link_speed    1000  <– 기가 연결입니다.


ce:0:ce0:link_up      1


 


2. 솔라리스 10 only


  – 솔 10에서는 간단한 명령어가 존재합니다.


  dladm show-dev


 


ex) irdbclt


root@irdbclt # dladm show-dev


ipge0        link: unknown  speed: 1000  Mbps    duplex: full   


ipge1        link: unknown  speed: 1000  Mbps    duplex: full


ce1        link: unknown  speed: 0    Mbps    duplex: unknown


ipge2        link: unknown  speed: 0    Mbps    duplex: unknown


ipge3        link: unknown  speed: 0    Mbps    duplex: unknown


 

By haisins

오라클 DBA 박용석 입니다. haisins@gmail.com 으로 문의 주세요.

답글 남기기

이메일 주소를 발행하지 않을 것입니다. 필수 항목은 *(으)로 표시합니다