JP6435102B2 - Network relay device - Google Patents
Network relay device Download PDFInfo
- Publication number
- JP6435102B2 JP6435102B2 JP2014046568A JP2014046568A JP6435102B2 JP 6435102 B2 JP6435102 B2 JP 6435102B2 JP 2014046568 A JP2014046568 A JP 2014046568A JP 2014046568 A JP2014046568 A JP 2014046568A JP 6435102 B2 JP6435102 B2 JP 6435102B2
- Authority
- JP
- Japan
- Prior art keywords
- communication unit
- wireless lan
- network
- address
- 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.)
- Active
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Description
この発明は、複数のネットワーク通信部を備えたネットワーク中継装置に関する。 The present invention relates to a network relay device including a plurality of network communication units.
一般的に、ルータは、DHCPサーバの機能を備えている(例えば特許文献1を参照)。当該ルータに接続されたクライアント装置(例えば無線LANコンバータ)は、DHCPサーバからIPアドレスが割り当てられることにより、ネットワーク通信が可能になる。 Generally, a router has a DHCP server function (see, for example, Patent Document 1). A client device (for example, a wireless LAN converter) connected to the router can perform network communication by being assigned an IP address from a DHCP server.
ルータがLAN側のIPアドレスを変更した場合、クライアント装置のIPアドレスが変更される。例えば、無線LANアクセスポイント機能を備えたルータ(以下、無線LANルータと言う。)のLAN側のIPアドレスが192.168.0.1であり、当該無線LANルータに接続される無線LANコンバータに192.168.0.2のIPアドレスが割り当てられた状態を考える。 When the router changes the IP address on the LAN side, the IP address of the client device is changed. For example, a router having a wireless LAN access point function (hereinafter referred to as a wireless LAN router) has an IP address on the LAN side of 192.168.0.1, and a wireless LAN converter connected to the wireless LAN router Consider a state where an IP address of 192.168.0.2 is assigned.
ここで、無線LANルータがLAN側のIPアドレスを192.168.1.1に変更する。すると、無線LANルータは、LANポート(ここでは無線LAN)の接続をリセットする。無線LANコンバータは、無線LANルータとの接続が途切れた後に再接続されるため、再度無線LANルータにIPアドレスのリクエストを行う。その後、無線LANコンバータは、例えば192.168.1.2のIPアドレスが割り当てられ、再度ネットワーク通信が可能になる。 Here, the wireless LAN router changes the IP address on the LAN side to 192.168.1.1. Then, the wireless LAN router resets the connection of the LAN port (here, the wireless LAN). Since the wireless LAN converter is reconnected after disconnection from the wireless LAN router, it requests the wireless LAN router for an IP address again. Thereafter, the wireless LAN converter is assigned an IP address of 192.168.1.2, for example, and network communication becomes possible again.
しかし、無線LANコンバータの下位側に他のクライアント装置(例えばPC)が接続されている場合、当該PCは、無線LANコンバータの上位側においてネットワークの設定が変更されたことを知ることができない。 However, when another client device (for example, a PC) is connected to the lower side of the wireless LAN converter, the PC cannot know that the network setting has been changed on the upper side of the wireless LAN converter.
例えば、上述のように無線LANコンバータと無線LANルータとの接続が途切れて、無線LANコンバータにIPアドレスが再度割り当てられたとしても、PCと無線LANコンバータとの間は有線LANの接続が維持されているため、PCと無線LANコンバータとの接続は途切れることがない。したがってPCは、そのままのIPアドレスで稼働を続けることになり、ネットワーク通信ができない状態になる。 For example, even if the connection between the wireless LAN converter and the wireless LAN router is interrupted as described above and the IP address is reassigned to the wireless LAN converter, the wired LAN connection is maintained between the PC and the wireless LAN converter. Therefore, the connection between the PC and the wireless LAN converter is not interrupted. Therefore, the PC continues to operate with the IP address as it is, and the network communication cannot be performed.
すなわち、下位側の装置は、上位側でネットワークの設定が変更された場合に、当該ネットワークの設定が変更されたことを知ることができず、そのままの状態で稼働を続けることになっていた。 That is, when the network setting is changed on the upper side, the lower-level apparatus cannot know that the network setting has been changed, and continues to operate without change.
そこで、この発明は、上位側でネットワークの設定が変更された場合において、下位側にもネットワークの設定の変更を反映させることが可能なネットワーク中継装置を提供することを目的とする。 Accordingly, an object of the present invention is to provide a network relay device capable of reflecting a change in the network setting on the lower side when the network setting is changed on the upper side.
本発明のネットワーク中継装置は、第1のネットワーク通信部と、第2のネットワーク通信部と、第1のネットワーク通信部および第2のネットワーク通信部を制御する制御部と、を備えている。 The network relay device of the present invention includes a first network communication unit, a second network communication unit, and a control unit that controls the first network communication unit and the second network communication unit.
ネットワーク中継装置とは、例えば無線LANコンバータ、ルータ、無線LANアクセスポイント、無線リピータ、ハブ等である。 Examples of the network relay device include a wireless LAN converter, a router, a wireless LAN access point, a wireless repeater, and a hub.
第1のネットワーク通信部は、上位側のインタフェース(例えばWANポート)であり、第2のネットワーク通信部は、下位側のインタフェース(例えばLANポート)である。 The first network communication unit is a higher-level interface (for example, a WAN port), and the second network communication unit is a lower-level interface (for example, a LAN port).
制御部は、第1のネットワーク通信部が切断された後に接続状態に移行したことを検知した場合に、前記第2のネットワーク通信部を切断した後に接続状態に移行させる。 When the control unit detects that the first network communication unit has been disconnected and then shifts to the connected state, the control unit causes the second network communication unit to disconnect and then shifts to the connected state.
すなわち、制御部は、上位側のリンクが解除された後に再接続された場合に、下位側のリンクを解除して再接続する。これにより、下位側のクライアント装置は、上位側のクライアント装置との接続が途切れることになり、IPアドレスの再取得を行う。そのため、上位側でIPアドレスが変更された場合において、下位側にもIPアドレスの変更を反映させることができる。 That is, the control unit releases and reconnects the lower link when the upper link is released and then reconnected. As a result, the lower-level client device is disconnected from the higher-level client device, and re-acquires the IP address. Therefore, when the IP address is changed on the upper side, the change of the IP address can be reflected on the lower side.
なお、制御部は、第2のネットワーク通信部を切断した後に接続状態に移行させた場合に、その旨を示す通知信号を第2のネットワーク通信部を介して送信するようにしてもよい。この場合、下位側に通知信号によって再接続を促すことが可能になる。 When the control unit shifts to the connected state after disconnecting the second network communication unit, the control unit may transmit a notification signal indicating that fact via the second network communication unit. In this case, it is possible to prompt the lower side to reconnect by a notification signal.
なお、本発明のネットワーク中継装置は、第1のネットワーク通信部が切断された後に接続状態に移行したことを検知した場合、第2のネットワーク通信部におけるアドレスが変更された場合、または前記第2のネットワーク通信部における伝送速度を変更した場合、の少なくともいずれかの状態が発生した場合に、前記第2のネットワーク通信部を介して、各状態が発生したことを示す通知信号を送信する態様とすることも可能である。 Note that the network relay device of the present invention detects when the first network communication unit is disconnected and then shifts to the connected state, when the address in the second network communication unit is changed, or when the second network communication unit is disconnected. A mode in which a notification signal indicating that each state has occurred is transmitted via the second network communication unit when at least one of the states occurs when the transmission speed of the network communication unit is changed It is also possible to do.
例えば、ネットワーク中継装置がルータの場合を説明する。ルータは、LAN側のIPアドレスが192.168.0.1から192.168.1.1に変更された場合、当該IPアドレスが変更されたことを示す通知信号を下位側に送信する。下位側に接続されたクライアント装置は、当該通知信号を受信することで、上位側のIPアドレスが変更された旨を知ることができる。したがって、下位側のクライアント装置は、IPアドレスのリクエストを行うことができる。 For example, a case where the network relay device is a router will be described. When the IP address on the LAN side is changed from 192.168.0.1 to 192.168.1.1, the router transmits a notification signal indicating that the IP address has been changed to the lower side. The client device connected to the lower side can know that the upper side IP address has been changed by receiving the notification signal. Therefore, the lower-level client device can make a request for an IP address.
また、ルータは、下位側の伝送速度が変更された場合に、当該伝送速度が変更された旨を示す通知信号を送信する。例えば、有線LANの伝送速度が100BASEから10BASEに変更された場合、無線LANのIEEE802.11nからIEEE802.11gに変更された場合、3ストリーム(送信3チャネル×受信3チャネル)から2ストリーム(送信2チャネル×受信2チャネル)に変更された場合、等である。 Further, when the lower transmission rate is changed, the router transmits a notification signal indicating that the transmission rate has been changed. For example, when the transmission rate of the wired LAN is changed from 100BASE to 10BASE, or when the wireless LAN is changed from IEEE802.11n to IEEE802.11g, 3 streams (3 transmission channels × 3 reception channels) to 2 streams (transmission 2) (Channel × reception 2 channels), etc.
例えば、ルータと、当該ルータに有線で接続された無線LANアクセスポイントとの間の伝送速度が省電力のために低速の10BASEに切り替えられた場合を考える。この場合において、無線LANアクセスポイントに無線で接続された無線LANコンバータと、当該無線LANコンバータに有線で接続されたPCとの伝送速度が100BASEのままとなっていれば、上位側では10BASEの伝送速度であるのに対し、下位側では100BASEの伝送速度のままとなっているため、無駄な電力を消費してしまう場合もある。しかし、本発明によれば、通知信号を受信したクライアント装置(例えば無線LANコンバータ)は、上位側の伝送速度が変更された旨を知ることができ、無線LANコンバータ自身の下位側の伝送速度を変更することができる。 For example, consider a case where the transmission speed between a router and a wireless LAN access point connected to the router by wire is switched to a low speed 10BASE for power saving. In this case, if the transmission speed between the wireless LAN converter wirelessly connected to the wireless LAN access point and the PC connected by wire to the wireless LAN converter remains 100BASE, the upper side transmits 10BASE. In contrast to the speed, since the transmission speed of 100BASE remains at the lower side, useless power may be consumed. However, according to the present invention, the client device (for example, the wireless LAN converter) that has received the notification signal can know that the transmission rate on the upper side has been changed, and the transmission rate on the lower side of the wireless LAN converter itself can be determined. Can be changed.
なお、制御部は、通知信号として、伝送速度に関する情報を含めて送信することが好ましい。この場合、制御部は、他のネットワーク中継装置から、伝送速度に関する情報が含まれた通知信号を受信した場合に、当該伝送速度に関する情報に基づいて、第2のネットワーク通信部における伝送速度を、他のネットワーク中継装置の伝送速度に対応させる。これにより、例えば100BASEから10BASEに変更された場合、10BASEに変更された情報を含めて送信することで、LAN内の伝送速度を10BASEに統一することができる。 In addition, it is preferable that a control part is transmitted including the information regarding a transmission rate as a notification signal. In this case, when the control unit receives a notification signal including information on the transmission rate from another network relay device, the control unit determines the transmission rate in the second network communication unit based on the information on the transmission rate. Correspond to the transmission speed of other network relay devices. Thus, for example, when the information is changed from 100BASE to 10BASE, the transmission speed in the LAN can be unified to 10BASE by transmitting information including the information changed to 10BASE.
なお、通知信号は、ブロードキャストで送信されることが好ましい。ブロードキャストで送信することで、ネットワーク内の全ての装置に通知信号を送信することができる。 Note that the notification signal is preferably transmitted by broadcast. By transmitting by broadcast, a notification signal can be transmitted to all devices in the network.
この発明によれば、上位側でネットワークの設定が変更された場合において、下位側にもネットワークの設定の変更を反映させることが可能になる。 According to the present invention, when the network setting is changed on the upper side, the change of the network setting can be reflected on the lower side.
(第1実施形態)
図1は、第1実施形態に係るネットワークシステムのブロック図である。図1におけるネットワークシステムは、インターネット200に接続される無線LANルータ1と、無線LANルータ1に無線で接続される無線LANコンバータ10と、無線LANコンバータ10に有線で接続されるPC3AおよびPC3Bと、を備えている。
(First embodiment)
FIG. 1 is a block diagram of a network system according to the first embodiment. The network system in FIG. 1 includes a
無線LANルータ1は、無線LANアクセスポイントの機能とルータの機能とを備えたネットワーク中継装置である。また、無線LANルータ1は、DHCPサーバの機能も備えている。図2は、無線LANルータ1の構成を示すブロック図である。
The
無線LANルータ1は、CPU11、RAM12、フラッシュROM13、有線通信部(WANポート)14、無線通信部15、表示部16、および有線通信部(LANポート)17を備えている。
The
CPU11は、制御部に相当し、フラッシュROM13に記憶されているファームウェア(プログラム)をワークメモリであるRAM12に展開し、無線LANルータ1の動作を統括的に制御する。CPU11は、当該ファームウェアによりDHCPサーバの機能を実現し、各端末からのIPアドレスのリクエストに応じてIPアドレスを割り当てる。
The CPU 11 corresponds to a control unit, expands firmware (program) stored in the
有線通信部14は、WAN側のインタフェースであり、例えばADSLモデムやFTTH回線終端装置等を介してインターネット200に接続される。無線LANルータ1では、有線通信部14が上位側のポート(ここではWANポート)となる。
The
有線通信部17は、下位側のポート(LANポート)であり、有線LANの規格に準じて、他の有線通信機能を有した装置とデータ送受信を行う。有線通信部17が用いる規格としては、主にIEEE802.3i(10BASE−T)、IEEE802.3u(100BASE−TX)、IEEE802.3ab(1000BASE−T)等がある。以下、これら規格名は、単に10BASE、100BASE、および1000BASE等と称する。
The
無線通信部15は、アンテナや無線コントローラを内蔵し、無線LANの規格に準じて、他の無線通信機能を有した装置とデータ送受信を行う。図1の例では、無線通信部15は、無線LANコンバータ10と無線通信機能を介してデータ送受信を行う。無線通信部15も、下位側のポート(LANポート)に相当する。
The
無線通信部15が用いる規格としては、主にIEEE802.11a、IEEE802.11b、IEEE802.11g、IEEE802.11n、およびIEEE802.11ac等がある。以下、これら規格名は、単に11a、11b、11g、11n、および11ac等と称する。
The standards used by the
また、無線通信部15が用いる周波数としては、主に5GHz帯(11a、11n、および11acで用いる。)および2.4GHz帯(11b、11g、および11nで用いる。)がある。また、無線通信部15は、同時に使用するアンテナ数が1本である1ストリーム(送信1チャネル×受信1チャネル)、同時に使用するアンテナ数が2本である2ストリーム(送信2チャネル×受信2チャネル)、または同時に使用するアンテナ数が3本である3ストリーム(送信3チャネル×受信3チャネル)等の並列処理も行う。ただし、規格や周波数、チャンネル数は一例であり、例えばさらなる多チャンネル化処理も可能である。
Further, the frequencies used by the
表示部16は、LEDやLCD等の表示機能を有する。表示部16は、無線LANルータ1の現在の動作状態を示す。例えば、電源オン、オフの状態を示したり、有線LANの現在の伝送速度(1000BASEであるか、100BASEであるか、10BASEであるか)を示したり、無線LANの現在の使用周波数帯域を示したりする。
The
次に、図3は、無線LANコンバータ10の構成を示すブロック図である。無線LANコンバータ10は、無線LANと有線LANとを相互にデータ送受信可能とするネットワーク中継装置である。図3に示すように、無線LANコンバータ10は、CPU21、RAM22、フラッシュROM23、無線通信部24、有線通信部25、および表示部26を備えている。
Next, FIG. 3 is a block diagram showing a configuration of the
CPU21は、制御部に相当し、フラッシュROM23に記憶されているファームウェア(プログラム)をワークメモリであるRAM22に展開し、無線LANコンバータ10の動作を統括的に制御する。
The
CPU21は、無線通信部24を介して無線LANルータ1に対してリンクが確立された後、IPアドレスのリクエストを行う。無線LANルータ1では、DHCPサーバの機能により、無線LANコンバータ10にIPアドレスを割り当てる。IPアドレスが割り当てられると、無線LANルータ1とネットワーク通信が可能になる。
The
無線通信部24は、アンテナや無線コントローラを内蔵し、無線LANの規格に準じて、他の無線通信機能を有した装置とデータ送受信を行う。無線通信部24が用いる規格としては、上述の無線LANルータ1における無線通信部15と同様である。無線LANコンバータ10では、無線通信部24が上位側のポート(LANポート)となる。
The
有線通信部25は、有線LANの規格に準じて、他の有線通信機能を有した装置とデータ送受信を行う。有線通信部25が用いる規格としては、10BASE、100BASE、または1000BASEである。無線LANコンバータ10では、有線通信部25が下位側のポート(LANポート)となる。有線通信部25には、PC3AおよびPC3Bが接続される。
The
PC3AおよびPC3Bは、それぞれ一般的なパーソナルコンピュータであり、詳細な構成の図示および動作についての説明は省略する。PC3AおよびPC3Bは、無線LANコンバータ10を介して無線LANルータ1にIPアドレスのリクエストを行うことにより、IPアドレスが割り当てられる。これにより、PC3AおよびPC3Bは、ネットワーク通信が可能になる。
The
この例では、無線LANコンバータ10が本発明のネットワーク中継装置に相当し、無線通信部24は、本発明における第1のネットワーク通信部に相当し、有線通信部25は、本発明における第2のネットワーク通信部に相当する。
In this example, the
無線LANコンバータ10は、上位側のポートである無線通信部24の接続が切断され、その後に接続状態に移行したときに、下位側のポートである有線通信部25の接続を解除した後に再接続する。これにより、無線LANルータ1のLAN側のIPアドレスが変更される等して、無線LANルータ1と無線LANコンバータ10の接続が解除された場合に、PC3AおよびPC3BにIPアドレスの再取得を実行させることができる。
The
図4(A)は、無線LANコンバータ10(CPU21)の動作を示したフローチャートである。図4(B)は、PC3AおよびPC3Bの動作を示したフローチャートである。 FIG. 4A is a flowchart showing the operation of the wireless LAN converter 10 (CPU 21). FIG. 4B is a flowchart showing the operation of PC3A and PC3B.
図4(A)に示すように、無線LANコンバータ10(CPU21)は、上位側のポートである無線LANのリンクがあるか否かを判断する(s11)。無線LANのリンクが切断されるまではこの判断を繰り返す。無線LANのリンクが解除され、無線LANルータ1との接続が切断されたと判断した場合、次に無線LANが再接続されるまで待機する(s12)。
As shown in FIG. 4A, the wireless LAN converter 10 (CPU 21) determines whether there is a wireless LAN link which is a higher-order port (s11). This determination is repeated until the wireless LAN link is disconnected. When it is determined that the wireless LAN link has been released and the connection with the
そして、CPU21は、無線LANが再接続された場合に、下位側のポートである有線LANのリンクを解除し、再接続する(s13)。なお、CPU21は、無線LANが再接続されたときに、無線LANルータ1にIPアドレスのリクエストを行い、IPアドレスを再取得する。
Then, when the wireless LAN is reconnected, the
一方、図4(B)に示すように、PC3AおよびPC3Bは、有線LANの接続がなされているか否かを判断する(s21)。有線LANが切断されるまではこの判断を繰り返す。有線LANが切断されたと判断した場合、次に有線LANが再接続されるまで待機する(s22)。そして、PC3AおよびPC3Bは、有線LANが再接続された場合に、IPアドレスのリクエストを行い、IPアドレスを再取得する(s23)。PC3AおよびPC3Bとの有線LANおよびPC3Bにおけるこのような動作は、一般的なOSに搭載された機能により実現される。
On the other hand, as shown in FIG. 4B, the
これにより、PC3AおよびPC3Bは、無線LANルータ1と無線LANコンバータ10の接続が解除された後に再接続された場合に、IPアドレスの再取得を行うことになり、上位側のIPアドレスが変更された場合に、下位側でもIPアドレスの変更を行うことができる。例えば、無線LANルータ1のLAN側のIPアドレスが192.168.0.1から192.168.1.1に変更された場合、無線LANコンバータ10は、無線LANルータ1との接続が一旦解除されるため、IPアドレスを再取得して、例えば192.168.1.2のIPアドレスが割り当てられる。このときに、下位側のPC3AおよびPC3Bも、無線LANコンバータ10との接続が一旦解除されるため、IPアドレスを再取得して、例えばそれぞれ192.168.1.3および192.168.1.4のIPアドレスが割り当てられる。これにより、PC3AおよびPC3Bにおいてもネットワーク通信が可能になる。
As a result, when the
また、上述の無線LANルータ1が仮にモバイルルータ(WAN側が無線:移動体通信であるもの)であった場合、IPアドレスの競合が発生する場合がある。例えば、PC3BがモバイルPCであり、自宅ではPC3Aに192.168.0.2のIPアドレスが割り当てられ、PC3Bに192.168.0.3のIPアドレスが割り当てられた状態において、外出先でモバイルルータと再接続された場合に、モバイルPCであるPC3Bに192.168.0.2のIPアドレスが割り当てられる場合がある。自宅においては、PC3Aは、無線LANコンバータ10との接続が維持されているため、192.168.0.2のIPアドレスが維持されている。したがって、このままでは、PC3AのIPアドレスと、PC3BのIPアドレスが重複する。この場合も、本実施形態の無線LANコンバータ10であれば、モバイルルータを自宅に持ち帰った時点で、PC3Aと無線LANコンバータ10との接続が解除された後に再接続されることになり、IPアドレスの再取得を行うことになるため、IPアドレスの競合が発生することがない。
If the
次に、図5(A)は、変形例に係る無線LANコンバータ10(CPU21)の動作を示したフローチャートである。図4(A)と共通する動作については、同一の符号を付し、説明を省略する。図5(B)は、変形例に係るPC3AおよびPC3Bの動作を示したフローチャートである。
Next, FIG. 5A is a flowchart showing the operation of the wireless LAN converter 10 (CPU 21) according to the modification. The same operations as those in FIG. 4A are denoted by the same reference numerals, and description thereof is omitted. FIG. 5B is a flowchart showing operations of the
図5(A)に示すように、無線LANコンバータ10(CPU21)は、無線LANが再接続された場合に、下位側のポートである有線通信部25を介して通知信号を送信する(s33)。この例では、通知信号は、上位側のリンクが解除された後に再接続されたことを示す情報が含まれている。通知信号は、ブロードキャストでネットワーク全体に送信されることが好ましい。
As shown in FIG. 5A, when the wireless LAN is reconnected, the wireless LAN converter 10 (CPU 21) transmits a notification signal via the wired
図5(B)に示すように、PC3AおよびPC3Bは、他のネットワーク中継装置(無線LANコンバータ10)から通知信号を受信した場合(s41)、IPアドレスのリクエストを行い、IPアドレスを再取得する(s42)。このような動作は、PC3AおよびPC3Bに搭載されたアプリケーションプログラムやドライバ等の動作により実現することができる。
As shown in FIG. 5B, when receiving a notification signal from another network relay device (wireless LAN converter 10) (s41), the
以上のようにしても、上位側のIPアドレスが変更された場合に、下位側でもIPアドレスの変更を行うことができる。なお、無線LANコンバータ10は、無線LANが再接続された場合に、下位側のポートである有線LANのリンクを解除し、再接続しつつ、さらに通知信号を送信するようにしてもよい。
Even in the above manner, when the IP address on the upper side is changed, the IP address can be changed also on the lower side. Note that, when the wireless LAN is reconnected, the
なお、上述の例では、無線LANコンバータ10が本発明のネットワーク中継装置に相当する態様を示したが、無線LANルータ1が本発明のネットワーク中継装置に相当する動作を行うことも可能である。
In the above-described example, the
例えば、無線LANルータ1は、上位側の有線通信部14の接続が解除された後に再接続された場合に、下位側の無線通信部15の接続を解除し、後に再接続することで、LAN側のネットワークをリセットすることができる。また、無線LANルータ1は、上位側の有線通信部14の接続が解除された後に再接続された場合に、図5(A)に示したように、下位側の無線通信部15を介して通知信号を送信することでもLAN側のネットワークをリセットすることができる。なお、この場合、下位側に接続されている無線LANコンバータ10は、図5(B)に示したように、IPアドレスのリクエストを行い、IPアドレスを再取得する。また、無線LANコンバータ10は、図5(C)に示すように、通知信号を受信した場合に(s51)、下位側のポートである有線LANのリンクを解除し、再接続する(s52)動作を行ってもよい。これにより、下位側のPC3AおよびPC3Bは、IPアドレスのリクエストを行い、IPアドレスを再取得することになる。
For example, when the
(第2実施形態)
次に、図6は、第2実施形態に係るネットワークシステムのブロック図である。図1と共通する構成については、同一の符号を付し、詳細な説明を省略する。図6におけるネットワークシステムは、無線LANルータ1に無線で接続される無線リピータ100と、無線LANルータ1に有線で接続されるハブ250と、をさらに備えている。
(Second Embodiment)
Next, FIG. 6 is a block diagram of a network system according to the second embodiment. The same components as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof is omitted. The network system in FIG. 6 further includes a
図7は、無線リピータ100の構成を示すブロック図である。無線リピータ100は、CPU31、RAM32、フラッシュROM33、無線通信部34、および表示部36を備えている。
FIG. 7 is a block diagram showing a configuration of the
CPU31は、制御部に相当し、フラッシュROM33に記憶されているファームウェア(プログラム)をワークメモリであるRAM32に展開し、無線リピータ100の動作を統括的に制御する。
The
CPU31は、無線通信部34を介して無線LANルータ1に接続されるとともに、無線通信部34を介してPC3Cにも接続される。無線リピータ100は、無線中継機であり、無線LANの親機としての機能と子機としての機能を同時に行うものである。これにより、無線リピータ100は、無線通信部34を介して無線LANルータ1とPC3Cとの無線通信を中継する。なお、無線LANルータ1や無線LANコンバータ10についても、ソフトウエア動作により無線リピータ100と同じ機能を実現することができる。
The
なお、本実施形態の無線リピータ100におけるCPU31は、上位側ポートが接続されたときに、無線LANルータ1にIPアドレスのリクエストを行い、IPアドレスを取得するDHCPクライアント機能を有する。
Note that the
このような無線リピータ100についても、本発明のネットワーク中継装置の動作を実現することができる。すなわち、無線リピータ100は、上位側のポートである無線LANルータ1との接続が解除された後に再接続された場合に、下位側のポートであるPC3Cとの接続を解除し、再接続する。これにより、PC3Cは、無線LANルータ1と無線リピータ100の接続が解除された後に再接続された場合に、IPアドレスの再取得を行うことになり、上位側のIPアドレスが変更された場合に、下位側でもIPアドレスの変更を行うことができる。
Also with such a
図8は、ハブ250の構成を示すブロック図である。ハブ250は、CPU41、RAM42、フラッシュROM43、有線通信部(LANポート)44、表示部46、および有線通信部(LANポート)47を備えている。
FIG. 8 is a block diagram showing the configuration of the
CPU41は、制御部に相当し、フラッシュROM43に記憶されているファームウェア(プログラム)をワークメモリであるRAM42に展開し、ハブ250の動作を統括的に制御する。
The
CPU41は、有線通信部44を介して無線LANルータ1の有線通信部(LANポート)17に接続されるとともに、有線通信部47を介してPC3DおよびPC3Eにも接続される。ハブ250は、有線LAN中継機であり、この例ではスイッチング機能を有する。
The
なお、本実施形態のハブ250におけるCPU41は、上位側ポートが接続されたときに、無線LANルータ1にIPアドレスのリクエストを行い、IPアドレスを取得するDHCPクライアント機能を有する。
Note that the
このようなハブ250についても、本発明のネットワーク中継装置の動作を実現することができる。すなわち、ハブ250は、上位側のポートである有線通信部44による無線LANルータ1との接続が解除された後に再接続された場合に、下位側のポートである有線通信部47によるPC3DおよびPC3Eとの接続を解除し、再接続する。これにより、PC3DおよびPC3Eは、無線LANルータ1とハブ250の接続が解除された後に再接続された場合に、IPアドレスの再取得を行うことになり、上位側のIPアドレスが変更された場合に、下位側でもIPアドレスの変更を行うことができる。
The operation of the network relay device of the present invention can also be realized with such a
なお、ハブ250における上位側のポートの接続解除の検知に関しては、例えば以下の様にしてもよい。ハブ250は、いずれかのポートの切断を検出した場合に、接続状態にある全ポートに対してデフォルトゲートウェイアドレス(ルータ装置のLAN側IPアドレス)に向けてPing等の確認信号を送信する。ハブ250は、当該確認信号に対する応答がある場合は上位側ポートの接続は維持されていると判断し、応答が無い場合は上位側ポートの接続が解除されたと判断する。
For example, the detection of the disconnection of the upper port in the
また、ハブ250は、いずれかのポートの接続を検出した場合も、接続状態にある全ポートに対してデフォルトゲートウェイアドレス(ルータ装置のLAN側IPアドレス)に向けてPing等の確認信号を送信し、当該確認信号に対する応答がある場合は上位側ポートの接続がなされており、応答が無い場合は上位側ポートの接続がなされていないと判断してもよい。なお、ハブ250は、応答があったポートの識別情報(例えばポートの番号等)をRAM42やフラッシュROM43等の記憶部に記憶する構成としてもよい。この場合、上位側ポートを判別した後は、上位側ポート以外のポートの切断および接続のたびに上記判断の動作を行う必要がなくなる。無論、ハブ250のみならず、その他のネットワーク中継装置においても同様の動作を行ってもよい。
Also, even when the
なお、無線リピータ100およびハブ250においても、図5(A)に示したように通知信号を送信してもよい。また、無線リピータ100およびハブ250は、他のネットワーク中継装置から通知信号を受信した場合に、図5(C)に示したように、下位側のポートのリンクを解除し、再接続する動作を行ってもよい。これにより、例えば図9に示すように、無線LANコンバータ10の下位側にハブ250が接続されている場合においても、無線LANコンバータ10から送信された通知信号により、ハブ250が下位側の有線LANのリンクを解除して再接続するため、ハブ250に接続されているPC3DおよびPC3Eは、IPアドレスのリクエストを行い、IPアドレスを再取得することになる。
Note that the
(第3実施形態)
次に、図10は、第3実施形態に係るネットワークシステムのブロック図である。図6と共通する構成については、同一の符号を付し、詳細な説明を省略する。図10におけるネットワークシステムは、無線LANルータ1に代えて、インターネット200に接続されるルータ1Aと、ルータ1Aに有線で接続される無線LANアクセスポイント50と、をさらに備えている。無線LANコンバータ10および無線リピータ100は、無線LANアクセスポイント50に無線で接続される。ハブ250は、ルータ1Aと有線で接続される。
(Third embodiment)
Next, FIG. 10 is a block diagram of a network system according to the third embodiment. The components common to those in FIG. 6 are denoted by the same reference numerals, and detailed description thereof is omitted. The network system in FIG. 10 further includes a
図11は、ルータ1Aの構成を示すブロック図である。ルータ1Aは、図2に示した無線LANルータ1に対して、無線通信部15の構成およびその機能が省略されたものであり、無線LANルータ1と同じ構成および機能を有する。そのため、ルータ1Aにおいても本発明のネットワーク中継装置の動作を実現することができる。
FIG. 11 is a block diagram showing a configuration of the
図12は、無線LANアクセスポイント50の構成を示すブロック図である。無線LANアクセスポイント50は、CPU51、RAM52、フラッシュROM53、無線通信部54、有線通信部55、および表示部56を備えている。
FIG. 12 is a block diagram showing the configuration of the wireless
CPU51は、制御部に相当し、フラッシュROM53に記憶されているファームウェア(プログラム)をワークメモリであるRAM52に展開し、無線LANアクセスポイントの動作を統括的に制御する。
The
CPU51は、有線通信部55を介してルータ1Aの有線通信部(LANポート)17に接続されるとともに、無線通信部54を介して無線LANコンバータ10および無線リピータ100にも接続される。
The
なお、本実施形態の無線LANアクセスポイント50におけるCPU51は、上位側ポートが接続されたときに、無線LANルータ1にIPアドレスのリクエストを行い、IPアドレスを取得するDHCPクライアント機能を有する。
Note that the
無線LANアクセスポイント50についても、本発明のネットワーク中継装置の動作を実現することができる。すなわち、無線LANアクセスポイント50は、上位側のポートである有線通信部55によるルータ1Aとの接続が解除された後に再接続された場合に、下位側のポートである無線通信部54による他の装置(無線LANコンバータ10および無線リピータ100)との接続を解除し、再接続する。他の装置との接続を解除するためには、各装置との無線接続自体を一旦解除してもよいし、無線通信部54の動作を停止した後に再起動させてもよい。無線LANコンバータ10および無線リピータ100は、それぞれ上位側との接続が解除された後に再接続されるため、それぞれ下位側のPCとの接続を解除した後に再接続する。これにより、上位側のIPアドレスが変更された場合に、下位側のPCでもIPアドレスの変更を行うことができる。
Also for the wireless
なお、無線LANアクセスポイント50においても、図5(A)に示したように通知信号を送信してもよい。また、無線LANアクセスポイント50は、他のネットワーク中継装置から通知信号を受信した場合に、図5(C)に示したように、下位側のポートのリンクを解除し、再接続する動作を行ってもよい。
The wireless
次に、図13は、応用例に係るルータ(無線LANルータ1およびルータ1A)の動作を示すフローチャートである。一般に、ルータ(無線LANルータ1およびルータ1A)は、LAN側のIPアドレスを変更することが可能である。ここでは、図10のルータ1Aを参照して、ルータ1AのLAN側のIPアドレスを変更した場合の動作について説明する。
Next, FIG. 13 is a flowchart showing the operation of routers (
ルータ1Aは、図13(A)に示すように、自身のLAN側のIPアドレスが変更された場合(s61)、下位側のポートに対して、自身のIPアドレスが変更された旨を示す通知信号を送信する(s62)。この通知信号も、ブロードキャストで送信されることが好ましい。一般に、ルータは、LAN側のIPアドレスを変更した場合、下位側のリンクを解除して再接続するが、この例では、IPアドレスを変更した旨を示す通知信号を送信する。図9に示すように、当該通知信号は、まずハブ250および無線LANアクセスポイント50に送信される。
As shown in FIG. 13A, when the IP address on the LAN side of the
下位側の各装置は、ルータ1AからIPアドレスを変更した旨の通知信号を受信した場合、図5(B)に示したように、IPアドレスのリクエストを行い、IPアドレスを再取得する。また、下位側の各装置は、図5(C)に示すように、IPアドレスを変更した旨の通知信号を受信した場合に、自装置の下位側のポートのリンクを解除し、再接続する動作を行う。これにより、例えばハブ250に接続されたPC3DおよびPC3Eは、IPアドレスのリクエストを行い、IPアドレスを再取得することになる。また、無線LANアクセスポイント50に接続された無線LANコンバータ10および無線リピータ100においても、IPアドレスのリクエストを行い、IPアドレスを再取得することになるとともに、下位側のポートのリンクを解除し、再接続するため、PC3A、PC3B、およびPC3Cにおいても、IPアドレスのリクエストを行い、IPアドレスを再取得することになる。
When each lower-level device receives a notification signal indicating that the IP address has been changed from the
次に、図14(A)は、他の応用例に係るネットワーク中継装置の動作を示すフローチャートである。この例におけるネットワーク中継装置の動作は、上述の無線LANルータ1、ルータ1A、無線LANコンバータ10、無線リピータ100、ハブ250、または無線LANアクセスポイント50のいずれかの装置が行うものである。ここでは、代表して、図6における無線LANルータ1について説明する。
Next, FIG. 14A is a flowchart showing the operation of the network relay device according to another application example. The operation of the network relay device in this example is performed by any one of the above-described
無線LANルータ1は、図14(A)に示すように、下位側のポートの伝送速度を変更した場合(s81)、伝送速度を変更した旨を示す通知信号を送信する(s82)。この通知信号も、ブロードキャストで送信されることが好ましい。
As shown in FIG. 14A, when the transmission speed of the lower port is changed (s81), the
伝送速度を変更した場合とは、例えば、有線LANが100BASEから10BASEに変更された場合、無線LANが11nから11gに変更された場合、3ストリームから2ストリームに変更された場合、等である。あるいは、逆に有線LANが10BASEから100BASEに変更された場合、無線LANが11gから11nに変更された場合、2ストリームから3ストリームに変更された場合、等である。通知信号には、伝送速度に関する情報として、変更後の状態(100BASEである、11gである、2ストリームである、等)を示す情報が含まれていることが好ましい。 The case where the transmission speed is changed includes, for example, a case where the wired LAN is changed from 100BASE to 10BASE, a case where the wireless LAN is changed from 11n to 11g, a case where the stream is changed from 3 streams to 2 streams, and the like. Or, conversely, when the wired LAN is changed from 10BASE to 100BASE, when the wireless LAN is changed from 11g to 11n, when the stream is changed from 2 streams to 3 streams, and so on. The notification signal preferably includes information indicating the state after the change (100BASE, 11g, 2 streams, etc.) as information on the transmission rate.
図6の構成を例に取ると、無線LANルータ1は、ハブ250との間の伝送速度が省電力のために低速の10BASEに切り替えられた場合に、無線LANコンバータ10および無線リピータ100に対し、有線LANを10BASEに変更した旨の通知信号を送信する。
Taking the configuration of FIG. 6 as an example, the
下位側の各装置は、図14(B)に示すように、無線LANルータ1から伝送速度が変更された旨を示す通知信号を受信した場合(s91)、上位側の伝送速度の変更に対応して、自装置の伝送速度の変更を行う(s92)。例えば、図6の例において、無線LANルータ1が、有線LANを100BASEから10BASEに変更した場合、無線LANコンバータ10は、PC3AおよびPC3Bとの有線LANの接続を10BASEに変更する。これにより、LAN内の伝送速度を10BASEに統一することができ、無駄な電力を消費することを防止する。
As shown in FIG. 14B, when each lower-level device receives a notification signal indicating that the transmission rate has been changed from the wireless LAN router 1 (s91), it responds to the change in the higher-level transmission rate. Then, the transmission speed of the own device is changed (s92). For example, in the example of FIG. 6, when the
また、無線LANルータ1は、大容量のデータを送受信する場合に、ハブ250との間の伝送速度を100BASEまたは1000BASEに切り替える場合もある。この場合も、無線LANコンバータ10および無線リピータ100に対し、有線LANを100BASEまたは1000BASEに変更した旨の通知信号を送信する。したがって、LAN内の伝送速度を100BASEまたは1000BASEに戻すことができ、データ転送のボトルネックを解消することも可能になる。
Further, the
1…無線LANルータ
1A…ルータ
3A,3B,3C,3D,3E…PC
10…無線LANコンバータ
50…無線LANアクセスポイント
100…無線リピータ
200…インターネット
250…ハブ
1 ...
DESCRIPTION OF
Claims (8)
第2のネットワーク通信部と、
前記第1のネットワーク通信部および前記第2のネットワーク通信部を制御する制御部と、
を備えたネットワーク中継装置であって、
前記制御部は、前記第1のネットワーク通信部が切断された後に接続状態に移行したことを検知した場合に、
前記第2のネットワーク通信部を介して、前記第1のネットワーク通信部が切断された後に接続状態に移行したことを示す通知信号を送信し、前記第2のネットワーク通信部が受信したアドレスのリクエストを前記第1のネットワーク通信部へ中継することを特徴とするネットワーク中継装置。 A first network communication unit;
A second network communication unit;
A control unit for controlling the first network communication unit and the second network communication unit;
A network relay device comprising:
Wherein, in case it is detected that said first network communication unit shifts to the connected state after being cut,
Via the second network communication unit, the first network communication unit sends a notification signal indicating that the transition to the connected state after being cut, the address to which the second network communication unit receives A network relay device that relays a request to the first network communication unit .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014046568A JP6435102B2 (en) | 2014-03-10 | 2014-03-10 | Network relay device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014046568A JP6435102B2 (en) | 2014-03-10 | 2014-03-10 | Network relay device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015171088A JP2015171088A (en) | 2015-09-28 |
JP6435102B2 true JP6435102B2 (en) | 2018-12-05 |
Family
ID=54203427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014046568A Active JP6435102B2 (en) | 2014-03-10 | 2014-03-10 | Network relay device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6435102B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6242376B2 (en) * | 2015-11-19 | 2017-12-06 | 三菱電機株式会社 | Communication system and subscriber side device |
JP2018037851A (en) * | 2016-08-31 | 2018-03-08 | 沖電気工業株式会社 | Communication processing device, communication processing method, and communication processing program |
JP6846703B2 (en) * | 2017-01-31 | 2021-03-24 | サイレックス・テクノロジー株式会社 | Conversion device, communication system, control method of conversion device, and control method of communication system |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003152731A (en) * | 2001-11-16 | 2003-05-23 | Mitsumi Electric Co Ltd | Communication device, ip address acquisition method, and roaming method |
JP3792654B2 (en) * | 2003-01-07 | 2006-07-05 | Necアクセステクニカ株式会社 | Network connection apparatus and unauthorized access prevention method |
JP4195657B2 (en) * | 2003-12-26 | 2008-12-10 | 株式会社アイ・オー・データ機器 | Network address assignment device, network address assignment method, and network address assignment program |
JP4765796B2 (en) * | 2006-07-07 | 2011-09-07 | パナソニック株式会社 | Router device |
WO2010056170A1 (en) * | 2008-11-14 | 2010-05-20 | Telefonaktiebolaget L M Ericsson (Publ) | A network node |
JP2010268145A (en) * | 2009-05-13 | 2010-11-25 | Nec Corp | Communication device, and address distribution method |
JP5629990B2 (en) * | 2009-07-17 | 2014-11-26 | 株式会社ナカヨ | Router device having IP address change function and IP telephone terminal |
JP2013026981A (en) * | 2011-07-25 | 2013-02-04 | Canon Inc | Communication device, control method for communication device, and program |
-
2014
- 2014-03-10 JP JP2014046568A patent/JP6435102B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015171088A (en) | 2015-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2656445C (en) | Managing associations in ad hoc networks | |
TWI625960B (en) | Host device, client device and method for wireless docking in a dynamic environment for multiple clients | |
JP5821390B2 (en) | Wireless communication apparatus, wireless communication program, and wireless communication method | |
KR100906504B1 (en) | Wireless communication system, wireless lan access point and settings confirmation/change method used therefor | |
KR101190307B1 (en) | Method of transmitting push message | |
EP3267759B1 (en) | Gateway device automatic networking | |
US10271245B2 (en) | Methods and systems for transferring hotspot session | |
TWI533741B (en) | Wireless communication device and method capable of peer-to-peer interconnection | |
JP2015073249A5 (en) | ||
EP3292714B1 (en) | Software-defined wireless device management | |
CN105554854A (en) | WIFI switching method and system in local area network | |
JP6435102B2 (en) | Network relay device | |
US20160150454A1 (en) | Client managed soft handover and seamless link failover for wireless networks | |
JP5974911B2 (en) | Communication system and network relay device | |
US9137197B2 (en) | IP router and method of allocating IP address | |
JP2011199732A (en) | Wireless lan system, mobile terminal, and mobile terminal ip address switching method | |
CN111669309A (en) | VxLAN establishing method, wireless controller and switch | |
US20150156164A1 (en) | Communication system, communication control method, communication relay system, and communication relay control method | |
KR101528544B1 (en) | method for handover between WiFi service area using SDN | |
CN104737499A (en) | Terminal, message distribution system, message distribution method, and message reception program | |
JP5617729B2 (en) | Communication apparatus and network connection method | |
JP2014143634A (en) | Communication apparatus, method for controlling communication apparatus, and program | |
US10171984B2 (en) | Method and device for enabling virtual docking in a wireless network | |
JP4882591B2 (en) | Radio base station, radio base station program and control method | |
KR102660593B1 (en) | Methods and systems for transferring hotspot session |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170116 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20171006 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171024 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171219 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180424 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180625 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20181030 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20181112 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6435102 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |