NIC 속도 확인방법
2010.05.12 03:42
원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어
Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
출처 : http://hano.byus.net/bbs/zboard.php?id=solaris&no=13
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
1. 솔라리스 9, 10 동일
1) ifconfig -a 로 네트웍 인터페이스 이름을 알아야 합니다.
- 화재 서버는 대부분 ce(기가) 아니면 ipge(utp) 입니다.
2) 다음 명령어 실행해서 살펴보면 됩니다.
kstat -p [인터페이스이름] |grep link_|grep hme0
-> 결과값의 duplex에서 0 -다운 1-half, 2-full 입니다.
ex) sfwebd01(수유 화재 홈페이지 DR서버)
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
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
출처 : http://hano.byus.net/bbs/zboard.php?id=solaris&no=13
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
1. 솔라리스 9, 10 동일
1) ifconfig -a 로 네트웍 인터페이스 이름을 알아야 합니다.
- 화재 서버는 대부분 ce(기가) 아니면 ipge(utp) 입니다.
2) 다음 명령어 실행해서 살펴보면 됩니다.
kstat -p [인터페이스이름] |grep link_|grep hme0
-> 결과값의 duplex에서 0 -다운 1-half, 2-full 입니다.
ex) sfwebd01(수유 화재 홈페이지 DR서버)
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