Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
IP アドレスを OID として表すにはどうすればよいですか? 汎用 IP アドレスのサブツリーはありますか? { iso(1) org(3) dod(6) internet(1) protocols ip v4(4) address 127 0 0 1 }(127.0.0.1の場合、インターネットOIDですが、それ以降はすべて私の例です)のようなものを期待1.3.6.1していましたが、パブリックリポジトリでは見つかりません。
{ iso(1) org(3) dod(6) internet(1) protocols ip v4(4) address 127 0 0 1 }
1.3.6.1
今までそのような方法がないように思われるので、この用途のために OID ノード ** を予約し1.3.6.1.4.1.43892.1863.791.0.<ip><ip>ました。これはドット付き 10 進表記の IPv4 アドレスです。
1.3.6.1.4.1.43892.1863.791.0.<ip>
<ip>
したがって、「127.0.0.1」の OID (私の元の質問の例) は次のようになります。1.3.6.1.4.1.43892.1863.791.0.127.0.0.1
1.3.6.1.4.1.43892.1863.791.0.127.0.0.1