MANAGEMENT APPARATUS, METHOD, AND STORAGE MEDIUM
First Claim
1. A management apparatus capable of communicating with a network device including a plurality of network interfaces, the management apparatus comprising:
- a determination unit configured to determine whether an internet protocol (IP) address of the network device used for communicating with the network device is an IP address of an internet protocol version 4 (IPv4) or an IP address of an internet protocol version 6 (IPv6);
a first request unit configured to issue, in a case where the determination unit determines that the IP address is the IP address of the IPv4, to the network device, an acquisition request for a value used to identify a network interface managed, in correspondence with the IP address of the IPv4, by the network device with the IP address of the network device being specified;
a second request unit configured to issue, in a case where the determination unit determines that the IP address is the IP address of the IPv6, to the network device, one or more acquisition requests for a plurality of values each of which is used to identify a corresponding one of a plurality of network interfaces, each of the plurality of network interfaces corresponding to a different one of a plurality of addresses of the IPv4 and the IPv6 managed by the network device in a table;
a specification unit configured to specify a value for identifying a network interface corresponding to the IP address of the IPv6 included in a response from the network device to the acquisition request issued by the second request unit; and
a third request unit configured to issue an acquisition request for a media access control (MAC) address to the network device with a value included in a response from the network device to the acquisition request issued by the first request unit being specified or with the value specified by the specification unit being specified.
1 Assignment
0 Petitions
Accused Products
Abstract
A management apparatus according to embodiments of the present invention acquires, in a case where an internet protocol (IP) address of a network device having a plurality of network interfaces used for communicating with the network device is an IP address of an internet protocol version 6 (IPv6), all of values of an ipAddressIfIndex managed by the network device from the network device, and selects a value of an IfIndex corresponding to the IP address of the IPv6. In a case where the IP address of the network device is an IP address of an internet protocol version 4 (IPv4), the management apparatus acquires a value managed with an ipAdEntIfIndex from the network device.
-
Citations
4 Claims
-
1. A management apparatus capable of communicating with a network device including a plurality of network interfaces, the management apparatus comprising:
-
a determination unit configured to determine whether an internet protocol (IP) address of the network device used for communicating with the network device is an IP address of an internet protocol version 4 (IPv4) or an IP address of an internet protocol version 6 (IPv6); a first request unit configured to issue, in a case where the determination unit determines that the IP address is the IP address of the IPv4, to the network device, an acquisition request for a value used to identify a network interface managed, in correspondence with the IP address of the IPv4, by the network device with the IP address of the network device being specified; a second request unit configured to issue, in a case where the determination unit determines that the IP address is the IP address of the IPv6, to the network device, one or more acquisition requests for a plurality of values each of which is used to identify a corresponding one of a plurality of network interfaces, each of the plurality of network interfaces corresponding to a different one of a plurality of addresses of the IPv4 and the IPv6 managed by the network device in a table; a specification unit configured to specify a value for identifying a network interface corresponding to the IP address of the IPv6 included in a response from the network device to the acquisition request issued by the second request unit; and a third request unit configured to issue an acquisition request for a media access control (MAC) address to the network device with a value included in a response from the network device to the acquisition request issued by the first request unit being specified or with the value specified by the specification unit being specified. - View Dependent Claims (2)
-
-
3. A method for an apparatus that communicates with a network device having a plurality of network interfaces, the method comprising:
-
determining whether an IP address of the network device used for communicating with the network device is an IP address of an IPv4 or an IP address of an IPv6; issuing, in a case where the IP address is determined to be the IP address of the IPv4, to the network device, a first acquisition request for a value used to identify a network interface managed, in correspondence with the IP address of the IPv4, by the network device with the IP address of the network device being specified; issuing, in a case where the IP address is determined to be the IP address of the IPv6, to the network device, one or more second acquisition requests for a plurality of values each of which is used to identify a corresponding one of the plurality of network interfaces, each of a plurality of network interfaces corresponding to a different one of a plurality of addresses of the IPv4 and the IPv6 managed by the network device in a table; specifying a value for identifying a network interface corresponding to the IP address of the IPv6 included in a response from the network device to the second acquisition request; and issuing a third acquisition request for a MAC address to the network device with a value included in a response from the network device to the first acquisition request being specified or with a specified value being specified.
-
-
4. A non-transitory computer readable storage medium on which is stored a computer program for making a computer execute a method for an apparatus communicating with a network device which includes a plurality of network interfaces, the method comprising:
-
determining whether an IP address of the network device used for communicating with the network device is an IP address of an IPv4 or an IP address of an IPv6; issuing, in a case where the IP address is determined to be the IP address of the IPv4, to the network device, a first acquisition request for a value used to identify a network interface managed, in correspondence with the IP address of the IPv4, by the network device with the IP address of the network device being specified; issuing, in a case where the IP address is determined to be the IP address of the IPv6, to the network device, one or more second acquisition requests for a plurality of values each of which is used to identify a corresponding one of the plurality of network interfaces, each of a plurality of network interfaces corresponding to a different one of a plurality of addresses of the IPv4 and the IPv6 managed by the network device in a table; specifying a value for identifying a network interface corresponding to the IP address of the IPv6 included in a response from the network device to the second acquisition request; and issuing a third acquisition request for a MAC address to the network device with a value included in a response from the network device to the first acquisition request being specified or with a specified value being specified.
-
Specification