JP2005341199A - Dhcp packet congestion control system and method therefor - Google Patents

Dhcp packet congestion control system and method therefor Download PDF

Info

Publication number
JP2005341199A
JP2005341199A JP2004157226A JP2004157226A JP2005341199A JP 2005341199 A JP2005341199 A JP 2005341199A JP 2004157226 A JP2004157226 A JP 2004157226A JP 2004157226 A JP2004157226 A JP 2004157226A JP 2005341199 A JP2005341199 A JP 2005341199A
Authority
JP
Japan
Prior art keywords
dhcp
packet
server
client
router
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004157226A
Other languages
Japanese (ja)
Inventor
Osamu Niima
修 新間
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP2004157226A priority Critical patent/JP2005341199A/en
Publication of JP2005341199A publication Critical patent/JP2005341199A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent invalid traffic, when a DHCP relay agent function is used in a redundant router system by means of VRRP. <P>SOLUTION: The whole DHCP relay agents existing in a plurality of routers monitor VRRP states, and perform DHCP packet relay processing, only when a state of VRID having the least number indicates a master. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、IPアドレス体系が異なるネットワーク間におけるDHCP(Dynamic Host Configuration Protocol)サーバとDHCPクライアント間の通信に関し、特に、DHCPパケットの輻輳を制御するシステム及びその方法に関する。   The present invention relates to communication between a DHCP (Dynamic Host Configuration Protocol) server and a DHCP client between networks having different IP address systems, and more particularly to a system and method for controlling congestion of a DHCP packet.

従来の方式では、DHCPクライアントがIPアドレスを取得するまでにDHCPサーバ、DHCPクライアント、DHCPリレーエージェント間で、同じ動作がDHCPリレーエージェント数だけ繰り返されることになり、無効な動作が増加し、無効なトラフィックが生じる原因になっていたことである。   In the conventional method, the same operation is repeated by the number of DHCP relay agents among the DHCP server, the DHCP client, and the DHCP relay agent before the DHCP client acquires an IP address, and invalid operations increase, That was the cause of the traffic.

その理由は、DHCPクライアントがIPアドレスを取得するためにDHCPパケットをブロードキャストで送信し、DHCPクライアントが属するネットワーク上に存在するVRRP(Virtual Router Redundancy Protocol)により、冗長化した複数のルータ上で動作するDHCPリレーエージェントが、DHCPクライアントがブロードキャストで送信したDHCPパケットを同一ネットワーク上のDHCPリレーエージェントの全てが受信する。そして、全てのDHCPリレーエージェントはそれぞれが独立してDHCPサーバにDHCPパケットを中継する。即ち、DHCPクライアントが送信したデータがDHCPリレーエージェント、DHCPサーバ、DHCPクライアント間で重複して送受信されことになる。   The reason is that the DHCP client broadcasts a DHCP packet to acquire an IP address, and operates on a plurality of redundant routers by VRRP (Virtual Router Redundancy Protocol) existing on the network to which the DHCP client belongs. All of the DHCP relay agents on the same network receive the DHCP packet broadcasted by the DHCP client by the DHCP relay agent. All the DHCP relay agents independently relay DHCP packets to the DHCP server. That is, the data transmitted by the DHCP client is transmitted / received between the DHCP relay agent, the DHCP server, and the DHCP client.

この問題を解決するため、同一のネットワーク内では、一つのDHCPリレーエージェントだけがDHCPサーバ、DHCPクライアントとデータのやり取りをし、他のDHCPリレーエージェントの動作を停止させて、無効トラフィックを抑制する仕組みをDHCPリレーエージェントが備える例がある。複数のDHCPリレーエージェントに異なるタイミングを与えて、タイミングの最も短いDHCPリレーエージェントが動作し、他のリレーエージェントはネットワーク上のデータを監視して、他のリレーエージェントがメッセージを送ったことを発見した場合に、リレーエージェントの機能を停止する仕組みである。   In order to solve this problem, in the same network, only one DHCP relay agent exchanges data with the DHCP server and DHCP client, and stops the operation of other DHCP relay agents to suppress invalid traffic. There is an example in which a DHCP relay agent is provided. Giving different timings to multiple DHCP relay agents, the DHCP relay agent with the shortest timing works, the other relay agents monitor the data on the network and discover that other relay agents sent messages In this case, the relay agent function is stopped.

特開2000−4257号公報(段落番号0036乃至0046)。JP 2000-4257 (paragraph numbers 0036 to 0046).

この例では、IPアドレスを発給する有効DHCPサーバを見つけるDHCPパケットをリレーエージェントがキャッチすると、設定された時間、他のエージェントが動作しているか否かを監視するため、自身の機能を停止することになり、その停止時間分だけIPアドレスの取得に時間がかかり、時間ロスが生じる。   In this example, when a relay agent catches a DHCP packet that finds a valid DHCP server that issues an IP address, it stops its function to monitor whether other agents are operating for a set time. Therefore, it takes time to obtain an IP address for the stop time, resulting in a time loss.

この発明の目的は、同一ネットワーク内では一つのルータのDHCPリレーエージェントだけがDHCPパケットを中継し、他のルータのDHCPリレーエージェントはDHCPパケットを破棄して、無効なDHCPパケットの輻輳を防止することにある。   It is an object of the present invention to prevent invalid DHCP packet congestion by only DHCP relay agents of one router relaying DHCP packets in the same network, and DHCP relay agents of other routers discarding DHCP packets. It is in.

更に、他の目的は、ルータ上で動作するDHCPリレーエージェントに、DHCPパケットを転送する、あるいは破棄する仮想ルータ冗長化規約(Virtical Router Redundancy Protocol)を外部から設定可能にして、DHCPリレーエージェントが該規約を参照して、DHCPパケットを、直ちに転送あるいは破棄を決定して、むだな停止時間を生じさせないことにある。   Furthermore, another object is to make it possible to externally set a virtual router redundancy protocol for transferring or discarding a DHCP packet to a DHCP relay agent operating on the router. By referring to the contract, it is decided to immediately transfer or discard the DHCP packet, so as not to cause a dead stop time.

そのため、この発明の、IPアドレスを発給するDHCPサーバが属する第1のローカルネットワークと、IPアドレスを要求するDHCPクライアントが属する第2のローカルネットワークとをそれぞれルータで広域ネットワークに接続し、前記DHCPクライアントが前記DHCPサーバからIPアドレスの発給を受けるために発行するDHCPパケットの輻輳を制御するシステムにおいて、前記ルータは、前記DHCPクライアントが前記DHCPサーバに対して発行するDHCPパケットを前記広域ネットワークに中継するとき、前記DHCPパケットを中継あるいは破棄することによって輻輳を制御するDHCPリレーエージェントを有することを特徴とする。   Therefore, the first local network to which the DHCP server that issues the IP address belongs and the second local network to which the DHCP client that requests the IP address belong to the wide area network by a router, respectively, and the DHCP client In a system for controlling congestion of DHCP packets issued for receiving an IP address from the DHCP server, the router relays DHCP packets issued by the DHCP client to the DHCP server to the wide area network. A DHCP relay agent that controls congestion by relaying or discarding the DHCP packet.

更に、前記DHCPリレーエージェントは、外部から設定される仮想ルータ冗長化規約に基づく仮想ルータ識別番号及び状態を用いて、前記仮想ルータ識別番号が最も小さい番号で、かつ前記状態がマスターであるとき、DHCPパケットを中継し、前記状態がバックアップであるとき、DHCPパケットを廃棄してDHCPパケット輻輳制御することを特徴とする。   Further, the DHCP relay agent uses a virtual router identification number and state based on a virtual router redundancy protocol set from the outside, and when the virtual router identification number is the smallest number and the state is a master, A DHCP packet is relayed, and when the state is backup, the DHCP packet is discarded and DHCP packet congestion control is performed.

更に、前記DHCPパケットは、DHCPクライアントが立ち上げ時に、IPアドレスを発給するDHCPサーバを発見するために送信する有効DHCPサーバ発見(DHCPDISCOVER)パケットと、IPアドレスを発給するDHCPサーバが前記有効DHCPサーバ発見パケットに応答して、前記DHCPクライアントに送信する有効DHCPサーバ発見応答(DHCPOFFER)パケットと、前記DHCPクライアントが前記有効DHCPサーバ発見応答パケットを受けて、前記DHCPサーバに要求するDHCPIPパラメータ要求(DHCPREQUEST)パケットと、前記DHCPサーバが前記DHCPIPパラメータ要求パケットに応答して送信するDHCPIPパラメータ要求確認(DHCPACK)パケットと、を含むことを特徴とする。   Further, the DHCP packet includes an effective DHCP server discovery (DHCPDISCOVER) packet transmitted to discover a DHCP server that issues an IP address when a DHCP client is started up, and a DHCP server that issues an IP address by the effective DHCP server. In response to a discovery packet, a valid DHCP server discovery response (DHCPOFFER) packet to be sent to the DHCP client, and a DHCPIP parameter request (DHCPREQUEST) that the DHCP client receives the valid DHCP server discovery response packet and requests to the DHCP server ) Packet, and a DHCPIP parameter request confirmation (DHCPACK) packet sent by the DHCP server in response to the DHCPIP parameter request packet; Characterized in that it comprises a.

更に、前記DHCPパケットは、前記第1のローカルネットワーク内では、DHCPパケットがDHCPサーバとルータ間をユニキャストで転送され、前記第2のローカルネットワーク内では、DHCPパケットがDHCPクライアントと2つ以上のルータ間をブロードキャストで転送されることを特徴とする。   Further, the DHCP packet is transferred by unicast between the DHCP server and the router in the first local network, and the DHCP packet is connected to the DHCP client and two or more in the second local network. It is characterized by being transferred between routers by broadcast.

DHCPリレーエージェントの作用は、それが動作するとき参照する仮想化ルータ複合化規約(VRRP;Virtical Router Redundancy protocol)が、仮想ルータ識別番号(VRID;Virtical Router Identifier)が一番小さい番号で、かつそれがマスター状態であるDHCPリレーエージェントのみがDHCPパケットを中継するため、IPアドレス取得のための無効なトラフィックを減少させることができる。   The action of the DHCP relay agent is that the virtual router redundancy protocol (VRRP) to be referred to when it operates and the virtual router identification number (VRID) is the smallest number. Since only the DHCP relay agent that is in the master state relays the DHCP packet, invalid traffic for obtaining the IP address can be reduced.

ルータ上で動作するDHCPリレーエージェントが、自身に設定されているVRRPを参照し、DHCPパケットの転送あるいは破棄を決定して、無効なトラフィックや停止時間が生じさせない。その理由は、DHCPリレーエージェントが自身に外部設定されるVRRPによって、最も小さい番号のVRIDの状態がマスターであるとき、DHCPパケットを中継し、バックアップの状態のときは、DHCPパケットを破棄するからである。   The DHCP relay agent operating on the router refers to the VRRP set in itself and decides to transfer or discard the DHCP packet, thereby preventing invalid traffic and stop time. This is because the DHCP relay agent relays the DHCP packet when the state of the VRID with the smallest number is the master by VRRP externally set to itself, and discards the DHCP packet when it is in the backup state. is there.

この発明を実施するための最良の形態について、図面を参照して詳細に説明する。第1の実施の形態のシステムを示す図1を参照すると、DHCPサーバ101はネットワーク111に、DHCPクライアント104はネットワーク112にそれぞれ接続されている。DHCPクライアントは一般的には複数であるが、図1ではDHCPクライアント104で代表する。   The best mode for carrying out the present invention will be described in detail with reference to the drawings. Referring to FIG. 1 showing the system according to the first embodiment, a DHCP server 101 is connected to a network 111 and a DHCP client 104 is connected to a network 112. Although there are generally a plurality of DHCP clients, the DHCP client 104 is represented in FIG.

ネットワーク111には1台のルータ105が接続されている。ネットワーク112には2台のルータ102,ルータ103が接続され、それぞれDHCPリレーエージェント1021,DHCPリレーエージェント1031が搭載され、VRRPに基づいて動作する。   One router 105 is connected to the network 111. Two routers 102 and 103 are connected to the network 112, and a DHCP relay agent 1021 and a DHCP relay agent 1031 are installed, respectively, and operate based on VRRP.

全てのルータ102,ルータ103,ルータ105は、広域ネットワーク113に接続され、ネットワーク111とネットワーク112とを広域ネットワーク113を介して、離れた組織間のネットワークを形成している。DHCPサーバ101の接続されたネットワーク111は、例えば企業における本社のネットワークに当たり、DHCPクライアント104の接続されたネットワーク112は、例えば企業の支社のローカルエリアネットワークに相当する。   All the routers 102, 103, and 105 are connected to the wide area network 113, and the network 111 and the network 112 form a network between distant organizations via the wide area network 113. The network 111 to which the DHCP server 101 is connected corresponds to, for example, the network of the head office in a company, and the network 112 to which the DHCP client 104 is connected corresponds to, for example, a local area network of a branch office of the company.

図1では、DHCPリレーエージェントがVRRPに基づいて動作するルータ102,ルータ103が2台示されているが、DHCPリレーエージェントが動作する全てのルータで、VRRPに基づく、一番小さい識別番号のVRIDが同一の値であれば、3台以上のルータを接続して良い。   In FIG. 1, two routers 102 and 103 in which the DHCP relay agent operates based on VRRP are shown. However, in all routers in which the DHCP relay agent operates, the VRID having the smallest identification number based on VRRP is shown. If they are the same value, three or more routers may be connected.

図1の点線121,点線122,点線123はDHCPパケットの流れを示している。ルータ102上で動作しているDHCPリレーエージェント1021はDHCPパケットを受信すると(点線121)、VRRPの状態を確認し、VRRPがマスター状態であるため、DHCPサーバ101宛てにDHCPパケットを送信する(点線123)。ルータ103上で動作しているDHCPリレーエージェント1031はDHCPパケットを受信すると(点線122)、VRRPの状態を確認し、VRRPがバックアップ状態であるため、DHCPパケットを廃棄する。   The dotted line 121, dotted line 122, and dotted line 123 in FIG. 1 indicate the flow of the DHCP packet. When the DHCP relay agent 1021 operating on the router 102 receives the DHCP packet (dotted line 121), the state of the VRRP is confirmed, and since the VRRP is in the master state, the DHCP packet is transmitted to the DHCP server 101 (dotted line). 123). When receiving the DHCP packet (dotted line 122), the DHCP relay agent 1031 operating on the router 103 confirms the state of VRRP, and discards the DHCP packet because VRRP is in a backup state.

次に、図1のシステムの動作を示す図2は、ネットワーク112に接続されたDHCPクライアント104がネットワーク111に接続されたDHCPサーバ101からIPアドレスを取得するシーケンスを示す図である。   Next, FIG. 2 showing the operation of the system in FIG. 1 is a diagram showing a sequence in which the DHCP client 104 connected to the network 112 acquires an IP address from the DHCP server 101 connected to the network 111.

DHCPリレーエージェント102,DHCPリレーエージェント103は、DHCPクライアント104にDHCPパケットを送信するとき、DHCPパケット内のフラグの状態によってはブロードキャストではなく、DHCPクライアント104に通知するIPアドレス及びDHCPクライアント104のMACアドレス宛てに、ユニキャストで送信することもある。   When the DHCP relay agent 102 and the DHCP relay agent 103 transmit a DHCP packet to the DHCP client 104, the IP address and the MAC address of the DHCP client 104 that are not broadcast but are notified to the DHCP client 104 depending on the state of the flag in the DHCP packet. It may be sent to the destination by unicast.

図2を参照すると、DHCPクライアント104は起動時にIPアドレスの取得を開始する(ステップ201)。DHCPクライアント104は、まずDHCPサーバを検索するために、有効DHCPサーバ発見パケット(DHCPDISCOVERパケット)をネットワーク112にブロードキャストでルータ102,ルータ103に送信する(ステップ202−1、ステップ202−2)。   Referring to FIG. 2, the DHCP client 104 starts acquiring an IP address when it is activated (step 201). First, in order to search for a DHCP server, the DHCP client 104 broadcasts a valid DHCP server discovery packet (DHCPDISCOVER packet) to the router 102 and the router 103 by broadcasting to the network 112 (step 202-1 and step 202-2).

DHCPリレーエージェント102は、DHCPDISCOVERパケットを受信すると、VRRPに基づいて、VRIDが一番小さい番号のVRIDの状態を確認し、マスター状態であることを確認できるため、DHCPDISCOVERパケットをDHCPサーバ101宛てにユニキャストで送信する(ステップ203)。   When the DHCP relay agent 102 receives the DHCPDISCOVER packet, it can confirm the state of the VRID having the smallest VRID based on VRRP and confirm that it is in the master state. Transmission is performed by casting (step 203).

DHCPリレーエージェント103は、DHCPDISCOVERパケットを受信すると、VRRPに基づいて、VRIDが一番小さい番号のVRIDの状態を確認し、バックアップ状態であることを確認できるため、DHCPDISCOVERパケットを廃棄する(ステップ204)。   When receiving the DHCPDISCOVER packet, the DHCP relay agent 103 confirms the state of the VRID having the smallest VRID based on VRRP and confirms that it is in the backup state, and therefore discards the DHCPDISCOVER packet (step 204). .

DHCPサーバ101は、DHCPDISCOVERパケットを受信すると、折り返しDHCPOFFERパケットをDHCPリレーエージェント102宛てにユニキャストで送信する(ステップ205)。   When the DHCP server 101 receives the DHCPDISCOVER packet, the DHCP server 101 transmits a return DHCPOFFER packet to the DHCP relay agent 102 by unicast (step 205).

DHCPリレーエージェント102は、DHCPOFFERパケットを受信すると、DHCPOFFERパケットをDHCPクライアント104が存在するネットワーク112にブロードキャストで送信する(ステップ206)。   When receiving the DHCPOFFER packet, the DHCP relay agent 102 broadcasts the DHCPOFFER packet to the network 112 where the DHCP client 104 exists (step 206).

DHCPクライアント104は、DHCPOFFERパケットを受信すると、DHCPREQUESTパケットをネットワーク112にブロードキャストで送信する(ステップ207−1、ステップ207−2)。   When receiving the DHCPOFFER packet, the DHCP client 104 broadcasts a DHCPREQUEST packet to the network 112 (steps 207-1 and 207-2).

DHCPリレーエージェント102は、DHCPREQUESTパケットを受信すると、VRRPに基づくVRIDが一番小さい番号のVRIDの状態を確認し、マスター状態であることを確認できるため、DHCPREQUESTパケットをDHCPサーバ101宛てにユニキャストで送信する(ステップ208)。   When the DHCP relay agent 102 receives the DHCPREQUEST packet, it can confirm the state of the VRID with the smallest VRID based on VRRP and confirm that it is in the master state. Transmit (step 208).

DHCPリレーエージェント103は、DHCPREQUESTパケットを受信すると、ルータ上で動作しているVRRPのうち、VRIDが一番小さい番号の状態を確認し、バックアップ状態であることを確認できるため、DHCPREQUESTパケットを廃棄する(ステップ209)。   When receiving the DHCPREQUEST packet, the DHCP relay agent 103 checks the state of the VRID having the smallest VRID among VRRPs operating on the router, and can confirm that it is in the backup state, and therefore discards the DHCPREQUEST packet. (Step 209).

DHCPサーバ101は、DHCPREQUESTパケットを受信すると、折り返しDHCPACKパケットをDHCPリレーエージェント102宛てにユニキャストで送信する(ステップ210)。   When receiving the DHCPREQUEST packet, the DHCP server 101 transmits a return DHCPACK packet to the DHCP relay agent 102 by unicast (step 210).

DHCPリレーエージェント102は、DHCPACKパケットを受信すると、DHCPACKパケットをDHCPクライアント104が存在するネットワーク112にブロードキャストで送信する(ステップ211)。   When receiving the DHCPACK packet, the DHCP relay agent 102 broadcasts the DHCPACK packet to the network 112 where the DHCP client 104 exists (step 211).

DHCPクライアント104はDHCPACKを受信すると、IPアドレスが使用可能となる(ステップ212)。   When the DHCP client 104 receives DHCPACK, the IP address becomes usable (step 212).

上記の説明によれば、ステップ204及びステップ209において、DHCPリレーエージェント103がDHCPパケットを中継しないで廃棄することにより、DHCPリレーエージェント102,DHCPリレーエージェント103とDHCPサーバ101間のトラフィックを軽減することができる。また、DHCPサーバ101から応答が複数返却されなくなるため、DHCPリレーエージェント102,DHCPリレーエージェント103とDHCPクライアント104間のトラフィックも軽減することができる。   According to the above description, in steps 204 and 209, the DHCP relay agent 103 discards the DHCP packet without relaying it, thereby reducing the traffic between the DHCP relay agent 102, the DHCP relay agent 103 and the DHCP server 101. Can do. In addition, since a plurality of responses are not returned from the DHCP server 101, traffic between the DHCP relay agent 102, the DHCP relay agent 103, and the DHCP client 104 can be reduced.

図3は、DHCPリレーエージェント102,DHCPリレーエージェント103がVRRPに基づいく動作を示したフローチャート図である。DHCPリレーエージェント102,DHCPリレーエージェント103がDHCPクライアント104からDHCPパケットを受信したとき(ステップ301)、DHCPリレーエージェント102,DHCPリレーエージェント103は、DHCPリレーエージェントと同じルータで動作しているVRRPに基づいて、VRIDが一番小さい識別番号の状態を確認し(ステップ302)、マスター状態であれば、DHCPサーバ101にDHCPパケットを送信する(ステップ303)。バックアップ状態であれば、DHCPパケットを廃棄する(ステップ304)。   FIG. 3 is a flowchart showing the operation of the DHCP relay agent 102 and the DHCP relay agent 103 based on VRRP. When the DHCP relay agent 102 and the DHCP relay agent 103 receive a DHCP packet from the DHCP client 104 (step 301), the DHCP relay agent 102 and the DHCP relay agent 103 are based on VRRP operating on the same router as the DHCP relay agent. Then, the state of the identification number with the smallest VRID is confirmed (step 302), and if it is the master state, a DHCP packet is transmitted to the DHCP server 101 (step 303). If it is in the backup state, the DHCP packet is discarded (step 304).

次に、第2の実施例として、その基本的構成は図1と同じであるが、VRIDが複数存在する場合について、VRRPに基づくDHCPリレーエージェントの動作を図4を参照して説明する。   Next, as a second embodiment, the basic configuration is the same as that in FIG. 1, but the operation of the DHCP relay agent based on VRRP will be described with reference to FIG. 4 when there are a plurality of VRIDs.

VRIDが複数存在する場合のVRRPに基づくDHCPリレーエージェントの動作は、ルータ402ではVRID2及びVRID3はバックアップ状態であるが、一番小さい番号のVRID1がマスター状態であるため、DHCPパケットをDHCPサーバ401に中継する。ルータ403ではVRID2がマスター状態であるが、一番小さい番号のVRID1がバックアップ状態であるため、DHCPパケットを廃棄する。ルータ404ではVRID3がマスター状態であるが、一番小さい番号のVRID1がバックアップ状態であるため、DHCPパケットを廃棄する。   The operation of the DHCP relay agent based on VRRP when there are a plurality of VRIDs is that the VRID2 and VRID3 are in the backup state in the router 402, but the lowest number VRID1 is in the master state. Relay. In router 403, VRID2 is in the master state, but since VRID1 with the lowest number is in the backup state, the DHCP packet is discarded. In the router 404, VRID3 is in the master state, but since the lowest number VRID1 is in the backup state, the DHCP packet is discarded.

この第2の実施例の動作を図4を参照して説明すると、DHCPサーバ401はネットワーク411に、DHCPクライアント405はネットワーク412にそれぞれ接続されている。DHCPクライアント405は一般的には複数であるが、図4ではDHCPクライアント405で代表させる。   The operation of the second embodiment will be described with reference to FIG. 4. The DHCP server 401 is connected to the network 411 and the DHCP client 405 is connected to the network 412. Although there are generally a plurality of DHCP clients 405, the DHCP client 405 is represented in FIG.

ネットワーク411には1台のルータ406が接続されている。ネットワーク412には3台のルータ402,ルータ403,ルータ404が接続されている。ネットワーク412に接続された3台のルータ402,ルータ403,ルータ404には、DHCPリレーエージェント4021,DHCPリレーエージェント4031,DHCPリレーエージェント4041がそれぞれ複数のVRIDを持つVRRPに基づいて動作している。   One router 406 is connected to the network 411. Three routers 402, 403, and 404 are connected to the network 412. For the three routers 402, 403, and 404 connected to the network 412, the DHCP relay agent 4021, the DHCP relay agent 4031, and the DHCP relay agent 4041 operate based on VRRP having a plurality of VRIDs.

ルータ402,ルータ403,ルータ404,ルータ406は広域ネットワーク413に接続されている。DHCPサーバ401が接続されたネットワーク411は、例えば企業における本社のネットワークに当たり、DHCPクライアント405が接続されたネットワーク412は、例えば企業の支社のローカルエリアネットワークに当たる。   The router 402, the router 403, the router 404, and the router 406 are connected to the wide area network 413. The network 411 to which the DHCP server 401 is connected corresponds to, for example, the network of the head office in the company, and the network 412 to which the DHCP client 405 is connected corresponds to, for example, the local area network of the branch office of the company.

図4では、VRRPの基づくDHCPリレーエージェントが動作しているルータが3台示されているが、DHCPリレーエージェントが動作する全てのルータで、一番小さいVRIDが同一の番号であれば、4台以上のルータが存在しても良い。点線は、DHCPパケットの転送を点線421乃至点線424で示している。ルータ402上で動作しているDHCPリレーエージェント4021はDHCPクライアント405が送信したDHCPパケットを受信すると、VRIDが一番小さい番号の状態を確認し、VRID1の状態がマスター状態であるため、DHCPサーバ401宛てに、該DHCPパケットを送信する。このとき、VRID2、VRID3の状態は参照しない。   In FIG. 4, three routers on which the DHCP relay agent based on VRRP is operating are shown. If all routers on which the DHCP relay agent operates have the same VRID, the number of routers is four. The above routers may exist. The dotted lines indicate the transfer of the DHCP packet by dotted lines 421 to 424. When the DHCP relay agent 4021 operating on the router 402 receives the DHCP packet transmitted by the DHCP client 405, the DHCP server 401 confirms the state of the VRID with the smallest number and the state of VRID1 is the master state. The DHCP packet is transmitted to the destination. At this time, the states of VRID2 and VRID3 are not referred to.

ルータ403上で動作しているDHCPリレーエージェント403はDHCPクライアント405が送信したDHCPパケットを受信すると、VRIDが一番小さいVRID1の状態を確認し、バックアップ状態であるため、該DHCPパケットを廃棄する。このとき、VRID2及びVRID3の状態は参照しない。   When receiving the DHCP packet transmitted by the DHCP client 405, the DHCP relay agent 403 operating on the router 403 confirms the state of the VRID 1 with the smallest VRID, and discards the DHCP packet because it is in the backup state. At this time, the states of VRID2 and VRID3 are not referred to.

ルータ404上で動作しているDHCPリレーエージェント4041はDHCPクライアント405が送信したDHCPパケットを受信すると、VRIDが一番小さいVRID1の状態を確認し、VRRPの状態がバックアップ状態であるため、該DHCPパケットを廃棄する。このとき、VRID3の状態は参照しない。   When the DHCP relay agent 4041 operating on the router 404 receives the DHCP packet transmitted by the DHCP client 405, the state of the VRID 1 with the smallest VRID is confirmed, and the state of the VRRP is the backup state. Discard. At this time, the state of VRID3 is not referred to.

IPアドレス体系が異なる離れたネットワークを広域ネットワークを介して、接続してなる組織間ネットワークに利用できる。   Remote networks with different IP address systems can be used as an inter-organization network connected via a wide area network.

この発明の実施の形態における第1の実施例のシステム構成図である。It is a system configuration figure of the 1st example in an embodiment of this invention. 第1の実施例におけるDHCPパケットの流れを示す図である。It is a figure which shows the flow of the DHCP packet in a 1st Example. DHCPリレーエージェントの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a DHCP relay agent. この発明の実施の形態における第2の実施例のVRIDが複数存在する場合のシステム構成図である。It is a system configuration | structure figure in case there exist multiple VRID of the 2nd Example in embodiment of this invention.

符号の説明Explanation of symbols

101,404 DHCPサーバ
1021,1031,4021,4031,4041 DHCPリレーエージェント
104,405 DHCPクライアント
111,112,411,412 ネットワーク
113,413 広域ネットワーク
102,103,105,402,403,404,406 ルータ
101,404 DHCP server 1021,1031,4021,4031,4041 DHCP relay agent 104,405 DHCP client 111,112,411,412 network 113,413 wide area network 102,103,105,402,403,404,406 router

Claims (7)

IPアドレスを発給するDHCPサーバが属する第1のローカルネットワークと、IPアドレスを要求するDHCPクライアントが属する第2のローカルネットワークとをそれぞれルータで広域ネットワークに接続し、前記DHCPクライアントが前記DHCPサーバからIPアドレスの発給を受けるために発行するDHCPパケットの輻輳を制御するシステムにおいて、
前記ルータは、
前記DHCPクライアントが前記DHCPサーバに対して発行するDHCPパケットを前記広域ネットワークに中継するとき、前記DHCPパケットを中継あるいは破棄することによって輻輳を制御するDHCPリレーエージェントを有することを特徴とするDHCPパケット輻輳制御システム。
A first local network to which a DHCP server that issues an IP address belongs and a second local network to which a DHCP client that requests an IP address belong are connected to a wide area network by a router, and the DHCP client receives an IP from the DHCP server. In a system for controlling congestion of DHCP packets issued for receiving an address,
The router
A DHCP packet congestion comprising a DHCP relay agent that controls congestion by relaying or discarding the DHCP packet when the DHCP client issues a DHCP packet issued to the DHCP server to the wide area network. Control system.
前記DHCPリレーエージェントは、
外部から設定される仮想ルータ冗長化規約に基づく仮想ルータ識別番号及び状態を用いて、前記仮想ルータ識別番号が最も小さい番号で、かつ前記状態がマスターであるとき、DHCPパケットを中継し、前記状態がバックアップであるとき、DHCPパケットを廃棄してDHCPパケット輻輳制御することを特徴とする請求項1記載のDHCPパケット輻輳制御システム。
The DHCP relay agent is:
Using a virtual router identification number and state based on a virtual router redundancy protocol set from the outside, when the virtual router identification number is the smallest number and the state is a master, a DHCP packet is relayed, and the state 2. The DHCP packet congestion control system according to claim 1, wherein when the packet is a backup, the DHCP packet congestion control is performed by discarding the DHCP packet.
前記DHCPパケットは、
DHCPクライアントが立ち上げ時に、IPアドレスを発給するDHCPサーバを発見するために送信する有効DHCPサーバ発見パケットと、
IPアドレスを発給するDHCPサーバが前記有効DHCPサーバ発見パケットに応答して、前記DHCPクライアントに送信する有効DHCPサーバ発見応答パケットと、
前記DHCPクライアントが前記有効DHCPサーバ発見応答パケットを受けて、前記DHCPサーバに要求するDHCPIPパラメータ要求パケットと、
前記DHCPサーバが前記DHCPIPパラメータ要求パケットに応答して送信するDHCPIPパラメータ要求確認パケットと、
を含むことを特徴とする請求項1記載のDHCPパケット輻輳制御システム。
The DHCP packet is:
A valid DHCP server discovery packet to be transmitted when the DHCP client is started to discover a DHCP server that issues an IP address;
A valid DHCP server discovery response packet sent by the DHCP server issuing an IP address to the DHCP client in response to the valid DHCP server discovery packet;
A DHCPIP parameter request packet which the DHCP client receives the valid DHCP server discovery response packet and requests to the DHCP server;
A DHCPIP parameter request confirmation packet sent by the DHCP server in response to the DHCPIP parameter request packet;
The DHCP packet congestion control system according to claim 1, comprising:
前記DHCPパケットは、
前記第1のローカルネットワーク内では、DHCPパケットがDHCPサーバとルータ間をユニキャストで転送され、前記第2のローカルネットワーク内では、DHCPパケットがDHCPクライアントと2つ以上のルータ間をブロードキャストで転送されることを特徴とする請求項1記載のDHCPパケット輻輳制御システム。
The DHCP packet is:
Within the first local network, DHCP packets are transferred unicast between the DHCP server and the router, and within the second local network, DHCP packets are transferred by broadcast between the DHCP client and two or more routers. 2. The DHCP packet congestion control system according to claim 1, wherein:
IPアドレスを発給するDHCPサーバが属する第1のローカルネットワークと、IPアドレスを要求するDHCPクライアントが属する第2のローカルネットワークとをそれぞれルータで広域ネットワークに接続し、前記DHCPクライアントが前記DHCPサーバからIPアドレスの発給を受けるために発行するDHCPパケットの輻輳を制御する方法において、
前記DHCPパケットを中継するルータ上で動作するDHCPリレーエージェントが前記DHCPパケットを受信したとき、自身に設定された仮想ルータ冗長化規約に基づいて、ルータ仮想識別番号及び状態の内、最も小さい仮想識別番号の状態がマスターであるとき、前記DHCPパケットを中継し、前記状態がバックアップのとき、前記DHCPパケットを破棄することを特徴とするDHCPパケット輻輳制御方法。
A first local network to which a DHCP server that issues an IP address belongs and a second local network to which a DHCP client that requests an IP address belong are connected to a wide area network by a router, and the DHCP client receives an IP from the DHCP server. In a method for controlling congestion of a DHCP packet issued for receiving an issuance of an address,
When the DHCP relay agent operating on the router that relays the DHCP packet receives the DHCP packet, the smallest virtual identification among the router virtual identification number and status is determined based on the virtual router redundancy protocol set for the DHCP packet. A DHCP packet congestion control method comprising: relaying the DHCP packet when the number state is master; and discarding the DHCP packet when the state is backup.
前記DHCPパケットは、
DHCPクライアントが立ち上げ時に、IPアドレスを発給するDHCPサーバを発見するために送信する有効DHCPサーバ発見パケットと、
IPアドレスを発給するDHCPサーバが前記有効DHCP発見パケットに応答して、DHCPクライアントに送信する有効DHCPサーバ発見応答パケットと、
前記DHCPクライアントが前記有効DHCPサーバ発見応答パケットを受けて、前記DHCPサーバに要求するDHCPIPパラメータ要求パケットと、
前記DHCPサーバが前記DHCPパラメータ要求パケットに応答して送信するDHCPIPパラメータ要求確認パケットと、
を含むことを特徴とする請求項5記載のDHCPパケット輻輳制御方法。
The DHCP packet is:
A valid DHCP server discovery packet to be transmitted when the DHCP client is started to discover a DHCP server that issues an IP address;
A DHCP server that issues an IP address, and a DHCP server discovery response packet that is sent to the DHCP client in response to the DHCP DHCP packet;
A DHCPIP parameter request packet which the DHCP client receives the valid DHCP server discovery response packet and requests to the DHCP server;
A DHCPIP parameter request confirmation packet sent by the DHCP server in response to the DHCP parameter request packet;
The DHCP packet congestion control method according to claim 5, further comprising:
前記DHCPパケットは、
前記第1のローカルネットワーク内では、DHCPパケットがDHCPサーバからルータに対してユニキャストで転送され、前記第2のローカルネットワーク内では、DHCPパケットがDHCPクライアントから2つ以上のルータに対してブロードキャストで転送されることを特徴とする請求項5記載のDHCPパケット輻輳制御方法。
The DHCP packet is:
In the first local network, DHCP packets are transferred from the DHCP server to the router by unicast, and in the second local network, DHCP packets are broadcast from the DHCP client to two or more routers. 6. The DHCP packet congestion control method according to claim 5, wherein the DHCP packet congestion control method is transferred.
JP2004157226A 2004-05-27 2004-05-27 Dhcp packet congestion control system and method therefor Pending JP2005341199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004157226A JP2005341199A (en) 2004-05-27 2004-05-27 Dhcp packet congestion control system and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004157226A JP2005341199A (en) 2004-05-27 2004-05-27 Dhcp packet congestion control system and method therefor

Publications (1)

Publication Number Publication Date
JP2005341199A true JP2005341199A (en) 2005-12-08

Family

ID=35494254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004157226A Pending JP2005341199A (en) 2004-05-27 2004-05-27 Dhcp packet congestion control system and method therefor

Country Status (1)

Country Link
JP (1) JP2005341199A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008067303A (en) * 2006-09-11 2008-03-21 Fujitsu Ltd Relay agent apparatus and proxy address lending apparatus
US20100098082A1 (en) * 2008-10-16 2010-04-22 Rangaprasad Sampath Method for application broadcast forwarding for routers running redundancy protocols
CN102209064A (en) * 2010-03-29 2011-10-05 杭州华三通信技术有限公司 Method of using VRRP to provide backup for access equipment and VRRP gateway equipment
JP4806728B2 (en) * 2007-04-06 2011-11-02 トムソン ライセンシング Improved method and apparatus for reducing congestion in a DHCP network system
JP2012186528A (en) * 2011-03-03 2012-09-27 Fujitsu Ltd Communication method, communication system, router, and server
JP2013046176A (en) * 2011-08-23 2013-03-04 Nippon Telegr & Teleph Corp <Ntt> Communication system, router device, and router switchover method
WO2014015713A1 (en) * 2012-07-24 2014-01-30 Hangzhou H3C Technologies Co., Ltd. Configuring virtual router redundancy protocol backup group

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008067303A (en) * 2006-09-11 2008-03-21 Fujitsu Ltd Relay agent apparatus and proxy address lending apparatus
JP4806728B2 (en) * 2007-04-06 2011-11-02 トムソン ライセンシング Improved method and apparatus for reducing congestion in a DHCP network system
US20100098082A1 (en) * 2008-10-16 2010-04-22 Rangaprasad Sampath Method for application broadcast forwarding for routers running redundancy protocols
US8891358B2 (en) * 2008-10-16 2014-11-18 Hewlett-Packard Development Company, L.P. Method for application broadcast forwarding for routers running redundancy protocols
CN102209064A (en) * 2010-03-29 2011-10-05 杭州华三通信技术有限公司 Method of using VRRP to provide backup for access equipment and VRRP gateway equipment
JP2012186528A (en) * 2011-03-03 2012-09-27 Fujitsu Ltd Communication method, communication system, router, and server
JP2013046176A (en) * 2011-08-23 2013-03-04 Nippon Telegr & Teleph Corp <Ntt> Communication system, router device, and router switchover method
WO2014015713A1 (en) * 2012-07-24 2014-01-30 Hangzhou H3C Technologies Co., Ltd. Configuring virtual router redundancy protocol backup group

Similar Documents

Publication Publication Date Title
KR100455130B1 (en) Proxy arp operation method using virtual arp packet
US7808891B2 (en) System and method for streaming video on demand (VOD) streams over a local network
EP1379038B1 (en) Method for implementing router interface backup with virtual router redundancy protocol
US20050265230A1 (en) Apparatus and method for performing state transition of backup router in router redundancy system
EP1924030B1 (en) A multicast supported virtual local area network switching system and a method thereof
EP0921655B1 (en) Multicast transmission method
WO2011147312A1 (en) Method, device and system for port backup of service access router
US8611254B2 (en) Systems and methods for configuring a network for multicasting
JP2010177752A (en) Network communication node
JP2005341199A (en) Dhcp packet congestion control system and method therefor
EP1901497A1 (en) Apparatus for low latency communications through an alternate path
US20060098665A1 (en) Systems and methods for communicating with bi-nodal network elements
JP2008283542A (en) Network system
JP2008244822A (en) Address duplication avoidance method, system, router
JP7331554B2 (en) Processing device, processing program and processing method
JP2006054766A (en) Control data sharing method in redundant configuration network system
JP3990385B2 (en) LAN connection device and LAN connection method
JP2006081057A (en) Layer 2 switch apparatus, layer 3 switch apparatus, switching method and program therefor
EP2667298B1 (en) Information processing device and image forming apparatus
JP6445421B2 (en) Communication apparatus and communication method
KR100501326B1 (en) Distributed system for processing Layer 2 Protocol by subscriber unit and method thereof
JP3423618B2 (en) LAN connection device and LAN connection system
JP2008141353A (en) Switching hub
JP2006121593A (en) Server device, data distribution method, and program
JP2005033786A (en) Network system, control apparatus, router device, access point, and mobile terminal

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061205

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070202

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070710