METHOD OF MAINTAINING COMMUNICATION BETWEEN DEVICES INCORPORATED IN A COMPUTER NETWORK
The invention firstly relates to a method of maintaining communication between devices incorporated in a computer network wherein communication is based chiefly on a predetermined addressing protocol, wherein a first device sends an information packet, after which a second device compiles a reply. In the framework of the invention, the first device is the apparatus immediately preceding the second device, sending or passing on the information packet. Information-technically, the first device and the second device are thus able to see each other.
The practice of this method is known. In the known method the communication between the devices is based on standards such as the addressing principles according to RFC 826 (an Ethernet Address Resolution Protocol or Converting Network Protocol Addresses to 48 bit Ethernet Addresses for Transmission on Ethernet Hardware) and the standard RFC 1122 (Requirements for Internet Hosts Communication Layers) . The second device that has to compile a reply on the information packet of the first device uses said standards to determine the MAC address of the first device. The expert knows that devices intended for incorporation in a computer network or that is generally intended for digital data processing, is provided by the manufacturers with a hardware address referred to as the MAC address. If the various devices comprising the network are installed according to the instructions, communication between said devices will run smoothly based on the known predetermined addressing protocol. However, problems will arise if, for example, the first device is not adjusted or is incorrectly adjusted to the respective network, or if the device has been transferred from another network without adjustments. In the prior art this may result in the communication between the devices of the network going wrong or failing to come about.
It is the object of the invention to provide means by which this problem can be solved. To this end the invention proposes firstly that the method according to the preamble of claim 1 is characterized in that if the information packet complies with a predetermined criterion, the second device will register the MAC address of the first device from the information packet and will use it for directly addressing the reply to this MAC address. In this way the addressing protocol that would otherwise result in failing communication, is circumvented.
A possible criterion to apply for initiating that the second device, contrary to the communication protocol, will direct the reply to the MAC address of the first device could be that the information packet received from the first device is a so-called multi-cast-packet, or that this information packet contains a specific indicator initiating the second device to direct the reply to the MAC address of the first device. The advantage of this solution is that it works with all old applications and with those now being developed, so that little work is required to ensure that the various applications are compatible. Moreover, there will be no generation of extra data traffic in relation to the present- day situation. Adjustments will only be required in the software of the respective device and in the relevant application.
In accordance with the invention, a second proposal for maintaining communication between a device according to the preamble of claim 2 is that if the MAC address fails to be traced, the second device will send a message comprising its own MAC address and which is received by all or by a predetermined group of devices to which the first device belongs, and that the first device will then use this MAC address in subsequent messages intended for the second device. The advantage of this solution is that existing communication protocols are honoured. As in the previously discussed solution, the advantage of this provision is that it is still possible to maintain reliable communication between devices incorporated in a computer network, even if the installation does not meet the requirements.
The invention will now be elucidated with reference to two non-limiting exemplary embodiments, which relate to the method according to claim 1, and the method according to claim 2, respectively. In order to explain the invention, reference will be made to the figures showing a flow diagram of the communication process taking place according to the prior art, and in the method according to the invention, respectively. Identical reference numbers used in the figures identify similar parts . Figure 1 illustrates the method for maintaining communication between devices incorporated in a computer network according to the prior art. Section one of the figure indicates that an information request has been received from a first device. In response, a second device prepares a reply and addresses it to the Internet protocol address of the first device that sent the information request. This is shown at reference number 2. Then the question of whether the first device is located in the same subnet as the second device, needs to be answered. This question is illustrated at reference number 3. If this is the case, the MAC address of the first device that sent the information packet may be determined by means of the Ethernet Address Resolution Protocol according to standard RFC 826; this is shown at reference number 4. If the first device is not part of the same subnet, it is necessary first to determine the route by which the reply can be sent by the second device to the first device; see reference number 5. If this route cannot be found, the reply will finally not be sent, and a situation will arise where the message traffic in the network is failing. If the route is known, the Internet protocol address of the device that takes care of the further routing of the reply message is determined; this is illustrated at reference numbers 6.
When, as indicated above, the MAC address of the first device has become known and is determined by means of the Internet protocol address of the first device (see reference number 4) , the reply packet is sent to the traced MAC address (see reference number 7) . If this MAC address with the relevant Ethernet address resolution protocol does not become available, the reply message will also be lost, as
t H1 h-1 U. O en o <-π