본문 바로가기

분류 전체보기

(890)
MAC주소와 서브넷마스크 구하기 MAC 주소 구하기ARP를 이용하면 같은 네트워크에 있는 호스트의 MAC주소를 쉽고도 빠르게 구할 수 있다.msdn : SendARP API 참고 하지만 다른 네트워크의 호스트의 MAC주소는 어떻게 가져올까? 호스트에서 snmp agent가 있어서 서비스를 제공하고 있다면대부분 MAC주소와 관련된 정보를 조회할 수 있다. ipAdEntIfIndex(1.3.6.1.2.1.4.20.1.2) 를 이용해서 인터페이스의 인덱스를 구하고그 인덱스의 ifPhysAddress(1.3.6.1.2.1.2.2.1.6)를 GET하면 된다.인터페이스의 타입이 이더넷(ethernet)인지 확인하자.. eg) ifType(1.3.6.1.2.1.2.2.1.3) 예) 대상 IP가 192.168.10.3 일때SNMP GET 1.3.6...
MRTG(Multi Router Traffic Grapher) 네트워크 링크상의 트래픽 부하를 모니터링하고 측정하기 위한 무료 소프트웨어이다.그래픽 폼에 시간당 네트워크 트래픽을 볼 수 있게 해준다. 공식사이트 : http://oss.oetiker.ch/mrtg/위키백과 : http://en.wikipedia.org/wiki/Multi_Router_Traffic_Grapher블로그: - MRTG 윈도우 서버에 설치하기 - MRTG Config - WMI를 이용한 MRTG - ProcessorLoad 예제
SNMP - 윈도우 :: 프린터 추가시 윈도우에서 네트워크 프린터를 표준 TCP/IP 포트를 이용하여 추가를 할 때 SNMP 교신을 한다.정확하게는 표준 TCP/IP 포트를 생성할 때 ICMP 패킷을 보내 응답을 하는지를 체크를 하고 따라서 프린트 제조사는 이 부분을 고려해야 할 것이다.
ISO/IEC 19752 - 레이저 프린터에 대한 토너 카트리지의 수율(yield)을 판단 ISO/IEC 19752ISO/IEC 19752는 2004년에 도입된 단색(monochrome) 레이저 프린터에 대한 토너 카트리지의 수율(yield)을 판단하기위한 방법이다.전통적으로 프린터 제조사들은Traditionally, printer manufacturers did not employ a standard, well-defined methodology for measuring toner cartridge yield. 카트리지 용량의 척The most widely used description of cartridge capacity was "5% 차트의 출력 매수", with final results depending on a number of factors. In contrast, ISO/IEC ..
SNMP - 프린터 Printer-MIBRFC 목록 - SNMP Printer-MIB - 1.3.6.1.2.1.43LEXMARK-PVT-MIB - 1.3.6.1.4.1.641SNMP-VIEW-BASED-ACM-MIB - 1.3.6.1.6.3.16 RFC 1759- - Printer MIB : pdf - rfc1759.txt.pdfRFC문서에는 object 이름으로 표시가 되어있어 실제 OID를 구하기가 힘들다.이럴때는 CISCO의 SNMP Object Navigator를 이용해보면 쉽게 찾을 수 있다.1. 항목 찾기 => RFC 1759이용 : Object의 이름(예. hrDeviceStatus)으로 나와있다.OID 찾기 => Object의 이름-> OIDOID 리스트 : HOST-RESOURCES-MIB.oidUniver..
SNMP - CISCO SNMP Object Navigator CISCO SNMP Object Navigatorhttp://tools.cisco.com/Support/SNMP/do/BrowseOID.do 스위치에 연결된 장치의 MAC 주소 검색BRIDGE-MIB : BRIDGE-MIB_my.txtiso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).dot1dBridge(17)1.3.6.1.2.1.17.4.1.0 : dot1dTpLearnedEntryDiscards ; 0"The total number of Forwarding Database entries that have been or would have been learned, but have been discarded due to a lack of storage space i..
SNMP - MIB(Management information base) SimpleWeb 에 잘 정리가 되어 있다.좌측에 MIBs라는 메뉴를 이용한다. 도움: http://www.buggymind.com/320
자신의 IP를 알아내기(영문) In the search for the self or how to find out your IP: In the search for the self or how to find out your IP address and other stuff in Win95 and WinNTStas Khirman (staskh@rocketmail.com)Raz Galili (razgalili@hotmail.com)Definition of the problem What is your current IP address? You can not program for TCP/IP without finding yourself needing this piece of information sometime. There is an API fu..