JP2009218712A - Router - Google Patents

Router Download PDF

Info

Publication number
JP2009218712A
JP2009218712A JP2008058175A JP2008058175A JP2009218712A JP 2009218712 A JP2009218712 A JP 2009218712A JP 2008058175 A JP2008058175 A JP 2008058175A JP 2008058175 A JP2008058175 A JP 2008058175A JP 2009218712 A JP2009218712 A JP 2009218712A
Authority
JP
Japan
Prior art keywords
port
mac
processing unit
lan
wan
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.)
Granted
Application number
JP2008058175A
Other languages
Japanese (ja)
Other versions
JP5184922B2 (en
Inventor
Shingo Yorita
晋吾 寄田
Yuki Oka
優樹 岡
Yasuharu Saiki
康晴 才木
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.)
IO Data Device Inc
Original Assignee
IO Data Device Inc
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 IO Data Device Inc filed Critical IO Data Device Inc
Priority to JP2008058175A priority Critical patent/JP5184922B2/en
Publication of JP2009218712A publication Critical patent/JP2009218712A/en
Application granted granted Critical
Publication of JP5184922B2 publication Critical patent/JP5184922B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To ensure the setting of the LAN or WAN of each external network device connection part IF. <P>SOLUTION: The router includes an interface connector IF, a switching hub part IF connected to it, a control part and a changeover switch part. The switching hub part comprises a physical processing part PHY, a logical processing part MAC of the high order, and a line concentration part for concentrating the high order side input/output ports of the MAC. The MAC(X) and a controller are connected by MII0, and the PHY(Y) and the controller are connected by MII1. The controller sets the IF to be connected to the PHY(Y) to the WAN by invalidating the MAC(Y) and validating the MII1 while performing routing. The controller sets the IF to be connected the PHY(Y) to the LAN by validating the MAC(Y) and invalidating the MII0. They are specified by a user in the changeover switch part. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、ブロードバンドルータ装置などのルータ装置に関する。   The present invention relates to a router device such as a broadband router device.

ルータ装置は、2つ以上の異なるネットワーク間を相互接続する通信機器であり量販店などで販売されるモデルでは、スイッチングハブを備えている物が多い。   A router device is a communication device that interconnects two or more different networks. In a model sold at a mass retailer or the like, a router device often includes a switching hub.

一般的に使用されるルータ装置は、複数個のLANコネクタと1個のWANコネクタを備え、さらに、これに無線チップ等を内蔵させてLAN側を無線にする無線ルータとして機能するものや、インターネットモデムを内蔵したルータ装置が実用されている。しかし、インターネットモデムを内蔵した固定ルータ装置が予め宅内設置されている場合、これに新たに無線ルータ装置を接続して、無線LANを実現しようとすると、無線ルータ装置はルータ機能を使わない無線アクセスポントとして使われることになるため、この装置のWAN側コネクタ(インターフェイスコネクタ)が無駄になってしまう。   A router device generally used includes a plurality of LAN connectors and one WAN connector, and further functions as a wireless router that incorporates a wireless chip or the like to make the LAN side wireless, and the Internet. Router devices with built-in modems are in practical use. However, if a fixed router device with a built-in internet modem is installed in the house in advance, if a wireless router device is newly connected to this to implement a wireless LAN, the wireless router device does not use the router function. Since it is used as a point, the WAN side connector (interface connector) of this apparatus is wasted.

そこで、例えば、インターフェイスコネクタに接続されるデバイスの属性を、所定の試験を行うことによって判別して、そのコネクタをWAN側制御部に接続するかLAN側制御部に接続するかをスイッチにより切り替える技術が提案されている(特許文献1)。この技術では、インターフェイスコネクタに接続されるデバイスの属性により、該コネクタをWAN側コネクタかLAN側コネクタに切り替えることができることになるため、コネクタが無駄になることを防ぐことが可能である。
特開2004−235722号公報
Therefore, for example, a technique for determining the attribute of a device connected to an interface connector by performing a predetermined test, and switching the connector to connect to the WAN side control unit or the LAN side control unit using a switch. Has been proposed (Patent Document 1). In this technique, the connector can be switched to the WAN-side connector or the LAN-side connector depending on the attribute of the device connected to the interface connector. Therefore, it is possible to prevent the connector from being wasted.
JP 2004-235722 A

しかしながら、図1に示すように、BBルータ装置50にルータ装置60を接続して、ルータ装置60をハブとして使いたい場合、本来は、BBルータ装置50のコネクタ4がLANコネクタでルータ装置60のコネクタ5がLANコネクタであるべきであるが、上記の特許文献1では、このような使用形態の場合、次の問題がある。   However, as shown in FIG. 1, when the router device 60 is connected to the BB router device 50 and the router device 60 is to be used as a hub, the connector 4 of the BB router device 50 is originally a LAN connector and the router device 60 The connector 5 should be a LAN connector. However, in the above-mentioned Patent Document 1, there is the following problem in the case of such usage.

すなわち、特許文献1では、コネクタ(5)に接続されたデバイス(BBルータ装置50)に対してIPアドレスの割り当てを要求するDHCP要求を行い、応答がある場合にはコネクタ(5)をWANコネクタとして設定するようにしている。このため、図1の形態では、BBルータ装置50がDHCPサーバの場合、ルータ装置60のコネクタ(5)がWANコネクタとして設定されてしまい、ハブとして使用できなくなってしまう。   That is, in Patent Document 1, a DHCP request for requesting IP address assignment is made to a device (BB router device 50) connected to the connector (5), and if there is a response, the connector (5) is connected to the WAN connector. I am trying to set it as For this reason, in the form of FIG. 1, when the BB router device 50 is a DHCP server, the connector (5) of the router device 60 is set as a WAN connector and cannot be used as a hub.

また、図1において、BBルータ装置50にルータ装置60を接続して、BBルータ装置50をルータとして使いたい場合、本来は、BBルータ装置50のコネクタ(4)がWANコネクタでルータ装置60のコネクタ(5)がWANコネクタであるべきであるが、上記の特許文献1では、このような使用形態の場合、次の問題がある。   Further, in FIG. 1, when the router device 60 is connected to the BB router device 50 and the BB router device 50 is to be used as a router, the connector (4) of the BB router device 50 is originally a WAN connector. The connector (5) should be a WAN connector. However, in the above-mentioned Patent Document 1, there is the following problem in the case of such usage.

すなわち、特許文献1では、コネクタ(5)に接続されたデバイスに(BBルータ装置50)対してIPアドレスの割り当てを要求するDHCP要求を行い、応答がない場合には、さらに該デバイスに対してPPP要求を行い、応答がないと、コネクタ(5)をLANコネクタとして設定するようにしている。このため、図1の形態では、BBルータ装置50がDHCPサーバでない場合、ルータ装置60のコネクタ(5)がLANコネクタとして設定されてしまい、BBルータ装置50をルータとして使用できなくなってしまう。   That is, in Patent Document 1, a DHCP request for requesting IP address assignment is made to the device connected to the connector (5) to the (BB router device 50). When a PPP request is made and there is no response, the connector (5) is set as a LAN connector. For this reason, in the form of FIG. 1, when the BB router device 50 is not a DHCP server, the connector (5) of the router device 60 is set as a LAN connector, and the BB router device 50 cannot be used as a router.

このような不都合を生じるのは、検査用ソフトウェアによってコネクタに接続されるインターネット装置の種類を判定するようにしているためである。   Such inconvenience occurs because the type of Internet device connected to the connector is determined by the inspection software.

さらに、特許文献1では、コネクタに接続されている電気信号線をスイッチにより直接切り替えてLANまたはWAN設定を行っているが、この部分にはEthernet(登録商標)の20〜125MHzの高速のWAN又はLANの送受信パケットがダイレクトに流れるため、スイッチの信頼性を確保するのが困難である。   Further, in Patent Document 1, the electric signal line connected to the connector is directly switched by a switch to perform LAN or WAN setting. In this part, Ethernet (registered trademark) 20 to 125 MHz high-speed WAN or Since LAN transmission / reception packets flow directly, it is difficult to ensure the reliability of the switch.

この発明の目的は、インターフェイスコネクタを含む外部ネットワーク機器接続部のLAN又はWAN設定をユーザの希望する通りに確実に行うことができ、且つ、LANとWANの切替を物理レイヤの信号ではなく物理レイヤよりも上位の論理レイヤでの信号で行うことができるルータ装置を提供することである。   An object of the present invention is to reliably perform LAN or WAN settings of an external network device connection unit including an interface connector as desired by a user, and to switch between a LAN and a WAN instead of a physical layer signal. It is an object of the present invention to provide a router apparatus that can be performed with signals in a higher logical layer.

この発明に係るルータ装置は、
N個の外部ネットワーク機器接続部IFと、スイッチングハブ部と、特定インターフェイス線と、制御部と、切替指定部と、を備えている。切替指定部は、例えば切替スイッチ部で構成される。
The router device according to the present invention provides:
N external network device connection parts IF, a switching hub part, a specific interface line, a control part, and a switching designation part are provided. The switching designation unit is constituted by, for example, a switching switch unit.

外部ネットワーク機器接続部IFは、典型的にはインターフェイスコネクタIFであり、それ以外に無線部や、PLC通信部なども含む。   The external network device connection unit IF is typically an interface connector IF, and further includes a wireless unit, a PLC communication unit, and the like.

スイッチングハブ部は、N個の外部ネットワーク機器接続部IFにOSI参照モデルの物理レイヤにおいて下位側ポートが接続される物理処理部PHYと、それぞれの物理処理部PHYの上位側ポートにOSI参照モデルのデータリンクレイヤにおいて下位側ポートが接続される論理処理部MACと、それぞれの論理処理部MACの上位側ポートを集線する集線部とを備えている。下位側とは、パケットの流れにおいて制御部に遠いことを表し(OSI参照モデルにおいて下側)、上位側とは、パケットの流れにおいて制御部に近いことを表す(OSI参照モデルにおいて上側)。   The switching hub unit includes a physical processing unit PHY in which lower-order ports are connected to N external network device connection units IF in the physical layer of the OSI reference model, and an OSI reference model connected to a higher-order port of each physical processing unit PHY. A logical processing unit MAC to which lower-order ports are connected in the data link layer, and a concentrator that concentrates higher-order ports of each logical processing unit MAC are provided. The lower side indicates that the packet flow is far from the control unit (lower side in the OSI reference model), and the upper side indicates that the packet flow is closer to the control unit (upper side in the OSI reference model).

特定インターフェイス線は、前記スイッチングハブ部の第1の論理処理部MAC(X)(Xは任意の識別子)と、前記スイッチングハブ部の第2の論理処理部MAC(Y)(Yは任意の識別子)の物理側に接続される第2の物理処理部PHY(Y)とを含み、入出力パケットが流れる。   The specific interface line includes a first logical processing unit MAC (X) (X is an arbitrary identifier) of the switching hub unit and a second logical processing unit MAC (Y) (Y is an arbitrary identifier of the switching hub unit). ) And a second physical processing unit PHY (Y) connected to the physical side, and input / output packets flow.

制御部は、特定インターフェイス線に接続され入力パケットのルーティング処理を含むパケット処理を行い、また、前記スイッチングハブ部の前記第2の論理処理部MAC(Y)と前記第2の特定インターフェイスとについて、選択的にその機能を有効又は無効にし、それによって前記第2の物理処理部PHY(Y)に接続される外部ネットワーク機器接続部IF(Y)の属性をLANまたはWANに設定する設定処理を行う。   The control unit is connected to a specific interface line and performs packet processing including routing processing of an input packet, and for the second logical processing unit MAC (Y) and the second specific interface of the switching hub unit, A setting process for selectively enabling or disabling the function and setting the attribute of the external network device connection unit IF (Y) connected to the second physical processing unit PHY (Y) to LAN or WAN is performed. .

切替指定部は、前記制御部に対して、前記外部ネットワーク機器接続部IF(Y)の設定処理を指定する。   The switching designation unit designates setting processing of the external network device connection unit IF (Y) to the control unit.

切替指定部が切替スイッチ部で構成されている場合(設定画面上のスイッチも含む)は、ユーザは、この切替スイッチ部を操作することにより、または、切替指定部が切替コマンドを受信するように構成されている場合は、制御部は、その操作内容またはコマンドに基づいて、N個の外部ネットワーク機器接続部IFのそれぞれに対してLANまたはWANに設定する。   When the switching designation unit is configured by a switching switch unit (including a switch on the setting screen), the user operates the switching switch unit, or the switching designation unit receives a switching command. If configured, the control unit sets the LAN or WAN for each of the N external network device connection units IF based on the operation content or command.

制御部は、スイッチングハブ部の第2の論理処理部MAC(Y)と第2の特定インターフェイスとについて、選択的にその機能を有効又は無効にすることでコネクタ設定処理を行う。このとき、第2の論理処理部MAC(Y)の機能を有効又は無効に切替えるには、高速のWAN又はLANの送受信パケットがダイレクトに流れる物理レイヤ(物理層)でのスイッチングが不要であり、ハードウェアスイッチで切り替えるようにしたとしても低速の制御信号により切替えが可能である(論理レイヤ(論理層)のパケットの通信速度は物理層のそれに比較して明らかに低速である)。このため、スイッチの信頼性を高くできる。また、ハードウェアスイッチに代えてソフトウェアでの切替えが可能であり、高信頼性を確保できる。第2の特定インターフェイスを有効又は無効に切替える場合も同様である。   The control unit performs connector setting processing by selectively enabling or disabling the function of the second logic processing unit MAC (Y) and the second specific interface of the switching hub unit. At this time, in order to switch the function of the second logical processing unit MAC (Y) to valid or invalid, switching at a physical layer (physical layer) through which a high-speed WAN or LAN transmission / reception packet directly flows is unnecessary, Even if it is switched by a hardware switch, it can be switched by a low-speed control signal (the communication speed of packets in the logical layer (logical layer) is clearly lower than that in the physical layer). For this reason, the reliability of the switch can be increased. In addition, switching by software is possible instead of the hardware switch, and high reliability can be ensured. The same applies when switching the second specific interface between valid and invalid.

外部ネットワーク機器接続部IFの設定指示は、切替スイッチ部やコマンドを出すためのユーザ操作によって行われる。このため、簡単で確実な設定が可能である。   The setting instruction of the external network device connection unit IF is performed by a changeover switch unit or a user operation for issuing a command. For this reason, simple and reliable setting is possible.

本発明の別の態様では、前記論理処理部MACは、その論理側入出力ポートについてLAN側を識別するポートID(L)かWAN側かを識別するポートID(W)を予め記憶するポートID記憶部が設けられ、このポートIDを使用して前記集線部をLANとし使用し、集線部を流れるパケットの行き先制御が行われる。   In another aspect of the present invention, the logical processing unit MAC previously stores a port ID (L) for identifying the LAN side of the logical side input / output port or a port ID (W) for identifying the WAN side. A storage unit is provided, and using this port ID, the concentrator is used as a LAN, and destination control of packets flowing through the concentrator is performed.

このような制御は、各論理処理部MACに対するパケットの行き先制御をスイッチングハブ内のLAN構成により行うことになるため、各コネクタのWAN又はLANの設定が容易であり、且つ、複数のコネクタに対してWAN設定を行うことが可能になる。   In such control, since the destination control of the packet for each logical processing unit MAC is performed by the LAN configuration in the switching hub, it is easy to set the WAN or LAN of each connector, and to a plurality of connectors. WAN setting can be performed.

本発明のさらに別の態様では、第1の特定インターフェイスにWAN信号(パケット)を流し、第2のインターフェイスにLAN信号(パケット)を流す。これにより、WAN信号とLAN信号とが別々に制御部に入力し又は制御部から出力されるため、特定インターフェイス線の帯域利用効率が向上する。   In yet another aspect of the present invention, a WAN signal (packet) is sent to the first specific interface, and a LAN signal (packet) is sent to the second interface. Thereby, since the WAN signal and the LAN signal are separately input to the control unit or output from the control unit, the band utilization efficiency of the specific interface line is improved.

本発明のさらに他の態様では、ルータ装置は、N個の外部ネットワーク機器接続部と、第1の切替指定部と、LAN用スイッチングハブ部と、WAN用スイッチングハブ部と、特定インターフェイス線と、制御部と、第2の切替指定部と、を備えている。   In still another aspect of the present invention, the router device includes N external network device connection units, a first switching designation unit, a LAN switching hub unit, a WAN switching hub unit, a specific interface line, A control unit; and a second switching designation unit.

LAN用スイッチングハブ部は、前記第1の切替指定部のそれぞれのL側出力にOSI参照モデルのデータリンクレイヤにおいて下位側ポートが接続されるLAN用論理処理部MACと、それぞれのLAN用論理処理部MACの上位側ポートを集線するLAN用集線部とを備える。   The LAN switching hub unit includes a LAN logical processing unit MAC in which a lower-side port is connected to each L-side output of the first switching designation unit in the data link layer of the OSI reference model, and each LAN logical processing. And a LAN concentrator for concentrating upper ports of the unit MAC.

WAN用スイッチングハブ部は、前記第1の切替指定部のそれぞれのW側出力にOSI参照モデルのデータリンクレイヤにおいて下位側ポートが接続されるWAN用論理処理部MACと、それぞれのWAN用論理処理部MACの上位側ポートを集線するWAN用集線部とを備える。   The WAN switching hub unit includes a WAN logical processing unit MAC in which a lower side port is connected to each W side output of the first switching designation unit in the data link layer of the OSI reference model, and each WAN logical processing And a WAN concentrator for concentrating upper ports of the unit MAC.

特定インターフェイス線は、前記LAN用スイッチングハブ部の第1のLAN用論理処理部MAC(X)に接続されLANパケットが流れるLAN用特定インターフェイスと、前記WAN用スイッチングハブ部の第1のWAN用論理処理部MAC(X)に接続されWAN パケットが流れるWAN用特定インターフェイスとを含む。   The specific interface line is connected to the first LAN logic processing unit MAC (X) of the LAN switching hub unit, and the LAN specific interface through which the LAN packet flows, and the first WAN logic of the WAN switching hub unit A WAN specific interface connected to the processing unit MAC (X) and through which WAN packets flow.

制御部は、前記特定インターフェイス線に接続され入力パケットのルーティング処理を含むパケット処理を行い、また、前記第1の切替指定部に対して切替信号を出力し、選択的に、前記N個の外部ネットワーク機器接続部IFの属性をLANまたはWANに設定する設定処理を行う。   The control unit is connected to the specific interface line and performs packet processing including routing processing of an input packet, and outputs a switching signal to the first switching designating unit, and selectively selects the N external Setting processing for setting the attribute of the network device connection unit IF to LAN or WAN is performed.

第2の切替指定部は、前記制御部に接続され、前記N個の外部ネットワーク機器接続部IFの設定処理を指定する。   The second switch designating unit is connected to the control unit and designates setting processing of the N external network device connection units IF.

ユーザは、第2の切替指定部を操作することにより、制御部は、その操作内容に基づいて、第1の切替指定部を物理処理部PHYの上位側がL側またはW側になるように切り替え、それによりN個の外部ネットワーク機器接続部IFのそれぞれをLANまたはWANに設定する。   When the user operates the second switching designation unit, the control unit switches the first switching designation unit so that the upper side of the physical processing unit PHY is the L side or the W side based on the operation content. Thereby, each of the N external network device connection units IF is set to LAN or WAN.

LAN用スイッチングハブ部とWAN用スイッチングハブ部とが別々に設けられ、それらの入力部が前記第1の切替指定部によって、選択的に物理処理部PHYの上位側に接続される。すなわち、LAN専用のスイッチングハブ部及びWAN専用のスイッチングハブ部の二系統のスイッチングハブと外部ネットワーク機器接続部IFとの間に、第1の切替指定部を配置することにより、各外部ネットワーク機器接続部IFを任意にLANまたはWANに設定することを可能にする。   A LAN switching hub unit and a WAN switching hub unit are provided separately, and their input units are selectively connected to the upper side of the physical processing unit PHY by the first switching designation unit. That is, each external network device connection is made possible by arranging the first switching designation unit between the two switching hubs of the LAN-dedicated switching hub unit and the WAN-dedicated switching hub unit and the external network device connection unit IF. The unit IF can be arbitrarily set to LAN or WAN.

これによれば、LAN信号(パケット)の経路はLAN用スイッチングハブ部のみとなり、WAN信号(パケット)の経路はWAN用スイッチングハブ部のみとなるため、各スイッチングハブにおいての帯域に十分なマージンを取る事ができる。また、各外部ネットワーク機器接続部IFの設定が容易である。   According to this, the LAN signal (packet) path is only for the LAN switching hub section, and the WAN signal (packet) path is only for the WAN switching hub section. I can take it. In addition, setting of each external network device connection unit IF is easy.

この発明によれば、各外部ネットワーク機器接続部IFのLANまたはWANの設定が、WAN又はLANの送受信パケットがダイレクトに流れる物理層でのスイッチングによって行われるものではなく、論理層での切替のため、確実なものとなる。   According to the present invention, the setting of the LAN or WAN of each external network device connection unit IF is not performed by switching in the physical layer through which WAN or LAN transmission / reception packets flow directly, but for switching in the logical layer. It will be certain.

図2は、この発明の第1の実施形態のルータ装置のブロック図である。   FIG. 2 is a block diagram of the router device according to the first embodiment of this invention.

ルータ装置1は、外部ネットワーク機器接続部の一例である、5個のインターフェイスコネクタIF(A)〜(E)(以下、IF2)と、スイッチングハブ部3と、特定インターフェイス線4と、制御装置5と、切替スイッチ部6と、LED7とを備えている。   The router device 1 is an example of an external network device connection unit, and includes five interface connectors IF (A) to (E) (hereinafter IF2), a switching hub unit 3, a specific interface line 4, and a control device 5. And a changeover switch unit 6 and an LED 7.

IF2は、この実施形態では、IF(A)〜IF(D)の4個が、(その属性が)LANに固定的に設定され、IF(E)が、(その属性が)WANまたはLANに設定される。   In this embodiment, IF2 (IF (A) to IF (D)) is fixedly set to LAN (its attributes), and IF (E) is (whether its attributes) to WAN or LAN. Is set.

スイッチングハブ部3は、IF2にOSI参照モデルの物理レイヤにおいて下位側入出力ポートが接続される物理処理部PHY(0)〜(4)(以下、PHY30)と、PHY30の上位側入出力ポートにOSI参照モデルのデータリンクレイヤにおいて下位側ポートが接続される論理処理部MAC(0)〜(4)(以下、MAC31)と、MAC31の上位側入出力ポートを集線する集線部32とで構成されている。   The switching hub unit 3 is connected to the physical processing units PHY (0) to (4) (hereinafter referred to as PHY30) in which the lower-side input / output ports are connected to the IF2 in the physical layer of the OSI reference model, It is composed of logical processing units MAC (0) to (4) (hereinafter referred to as MAC31) to which lower-order ports are connected in the data link layer of the OSI reference model, and a concentrator 32 that collects higher-order input / output ports of MAC31. ing.

特定インターフェイス線4は、MII(Media Independent Interface)0とMII1で構成される。なお、MIIは、OSI参照モデルのデータリンクレイヤ(論理層)において定義されている媒体非依存インターフェイスをいう。前者は、本発明の第1の特定インターフェイスに対応し、後者は、本発明の第2の特定インターフェイスに対応している。MII0は、スイッチングハブ部3のMAC(5)に接続され、MII1は、スイッチングハブ部3のPHY(4)に接続されている。なお、MAC(5)には、PHYの接続がない。これらのMII0とMII1には、データリンクレイヤ(論理層)でのWAN信号(パケット)またはLAN信号(パケット)が流れる。   The specific interface line 4 includes MII (Media Independent Interface) 0 and MII1. MII refers to a medium-independent interface defined in the data link layer (logical layer) of the OSI reference model. The former corresponds to the first specific interface of the present invention, and the latter corresponds to the second specific interface of the present invention. MII0 is connected to the MAC (5) of the switching hub unit 3, and MII1 is connected to the PHY (4) of the switching hub unit 3. Note that MAC (5) has no PHY connection. In these MII0 and MII1, WAN signals (packets) or LAN signals (packets) in the data link layer (logical layer) flow.

制御装置5は、CPUで構成され、WANからLAN、またはLANからWANのルーティング処理を含むパケット処理を行う。また、MII0若しくはMII1の特定インターフェイス線4、または図示しない制御線により、MAC(4)について選択的にその機能を有効(enable)または無効(disable)し、MII1についても、選択的にその機能を有効または無効にする。後述のように、このような制御により、PHY(4)に接続されるIF(E)(の属性)をLANまたはWANに設定する。   The control device 5 includes a CPU and performs packet processing including routing processing from the WAN to the LAN or from the LAN to the WAN. Also, the specific interface line 4 of MII0 or MII1 or a control line (not shown) selectively enables (disables) the function of MAC (4), and selectively enables the function of MII1. Enable or disable. As will be described later, the IF (E) (attribute) connected to the PHY (4) is set in the LAN or WAN by such control.

切替スイッチ部6は、制御装置5に接続され、制御装置5に対して、IF2のそれぞれの属性についてLANまたはWANの設定処理を指示する。また、LED7は、IF2のそれぞれについて設定処理された属性を表示する。   The changeover switch unit 6 is connected to the control device 5 and instructs the control device 5 to perform LAN or WAN setting processing for each attribute of IF2. Further, the LED 7 displays the attribute set for each IF2.

図3は、IF(E)(の属性)がWANに設定されている状態を示す。図3では、IF(E)がWANに設定され、その他のIF(A)〜IF(D)の全部がLANに設定されているため、このルータ装置1はルータとして機能する。   FIG. 3 shows a state where IF (E) (attribute) is set to WAN. In FIG. 3, since the IF (E) is set to the WAN and all other IF (A) to IF (D) are set to the LAN, the router device 1 functions as a router.

図3では、制御装置5が、MAC(4)をオフし(機能を無効にする)、MII1をオンする(機能を有効にする)。MAC(4)をオフすることにより、IF(E)は集線部32との間でパケットの遣り取りはできなくなる。MII1をオンすることにより、IF(E)は、PHY(4)を介して制御装置5との間でパケットの遣り取りが可能になる。   In FIG. 3, the control device 5 turns off MAC (4) (disables the function) and turns on MII1 (enables the function). By turning off MAC (4), IF (E) can no longer exchange packets with the concentrator 32. By turning on MII1, IF (E) can exchange packets with the control device 5 via PHY (4).

したがって、図3では、IF(E)への入力パケットがPHY(4)からMAC(4)を通過せずに制御装置5に入力するから、このIF(E)はWANとなり、それ以外のIF(A)〜IF(D)はLANとなる。IF(E)に入力したパケットは、制御装置5においてWAN→LANへのルーティングが行われてから、MII0→MAC5→集線部32→[MAC(0)〜MAC(3)]→[PHY(0)〜PHY(3)]→[IF(A)〜IF(D)]へと出力される。一方、[IF(A)〜IF(D)]に入力したパケットは、[IF(A)〜IF(D)]→[PHY(0)〜PHY(3)]→[MAC(0)〜MAC(3)]→集線部32→MAC5→MII0→制御装置5に入力され、制御装置5において、LAN→WANのルーティングが行われ、制御装置5→MII1→PHY(4)→IF(E)とWAN側に出力される。   Therefore, in FIG. 3, since the input packet to IF (E) is input from the PHY (4) to the control device 5 without passing through the MAC (4), this IF (E) becomes WAN, and the other IF (A) to IF (D) are LANs. The packet input to IF (E) is routed from WAN to LAN in the control device 5, and then MII0 → MAC5 → concentrator 32 → [MAC (0) to MAC (3)] → [PHY (0 ) To PHY (3)] → [IF (A) to IF (D)]. On the other hand, packets input to [IF (A) to IF (D)] are [IF (A) to IF (D)] → [PHY (0) to PHY (3)] → [MAC (0) to MAC. (3)] → Concentrator 32 → MAC5 → MII0 → The control device 5 performs routing of LAN → WAN in the control device 5, and the control device 5 → MII1 → PHY (4) → IF (E) Output to WAN side.

なお、LED7は、IF2のそれぞれの設定状態を表示する。   The LED 7 displays the setting state of each IF2.

図4は、IF(E)(の属性)がLANに設定されている状態を示す。図4では、IF2の全部がLANに設定されているため、このルータ装置1は全体としてハブとしてのみ機能する。   FIG. 4 shows a state where IF (E) (attribute) is set to LAN. In FIG. 4, since all of IF2 is set to LAN, this router apparatus 1 functions only as a hub as a whole.

図4では、制御装置5が、MAC(4)をオンし(機能を有効にする)、MII1をオフする(機能を無効にする)。MAC(4)をオンすることにより、集線部32との間でパケットの遣り取りが可能になり、MII1をオフすることにより、IF(E)は、PHY(4)と制御装置5との間でダイレクトにパケットの遣り取りが出来なくなる。   In FIG. 4, the control device 5 turns on MAC (4) (enables the function) and turns off MII1 (disables the function). By turning on MAC (4), packets can be exchanged with the concentrator 32, and by turning off MII1, IF (E) is transferred between PHY (4) and the control device 5. Packets cannot be exchanged directly.

したがって、図4では、IF2(IF(A)〜IF(E))のそれぞれに対しての入力パケットがPHY30からMAC31を通過して制御装置5に入力するから、このIF2のそれぞれはLANとなる。ルータ装置1は、スイッチングハブとしてのみ機能する。   Therefore, in FIG. 4, since the input packet for each of IF2 (IF (A) to IF (E)) passes from PHY 30 to MAC 31 and is input to control device 5, each of these IF2 is a LAN. . The router device 1 functions only as a switching hub.

図3から図4への切替は、切替スイッチ部6により行われる。制御装置5は、上記切替が行われると、IF(E)をWAN→LANへと変更する。同じように、切替スイッチ部6により、図4から図3への切替も可能である。   Switching from FIG. 3 to FIG. 4 is performed by the changeover switch unit 6. When the switching is performed, the control device 5 changes IF (E) from WAN to LAN. Similarly, it is possible to switch from FIG. 4 to FIG.

図2〜図4に示す第1の実施形態では、WAN/LAN切替ができるIFはIF(E)に限られている。   In the first embodiment shown in FIGS. 2 to 4, the IF capable of WAN / LAN switching is limited to IF (E).

本発明の第2の実施形態では、IF2の中の全てのIFについてWAN/LAN切替が可能であり、また、複数のIFについてWAN設定可能である。   In the second embodiment of the present invention, WAN / LAN switching can be performed for all IFs in IF2, and WAN setting can be performed for a plurality of IFs.

図5、図6は、本発明の第2の実施形態を示す。   5 and 6 show a second embodiment of the present invention.

構成において、第1の実施形態と相違する点は、MAC31のそれぞれが、ポートID記憶部(図示を省略)を備えている点である。ポートID記憶部は、MAC31の上位側(集線部側)の入出力ポートについてLAN側を識別するポートID(L)か、WAN側を識別するポートID(W)かを記憶する。本実施形態において、MAC31のそれぞれの入出力ポートのIDをVLAN(Virtual LAN)ID、または、単にPVIDと称する。ルータ装置1は、このPVIDを使って集線部32を仮想LANとして使用し、集線部32を流れるパケットの行き先制御を行う。   The configuration differs from the first embodiment in that each of the MACs 31 includes a port ID storage unit (not shown). The port ID storage unit stores the port ID (L) for identifying the LAN side or the port ID (W) for identifying the WAN side of the input / output ports on the upper side (concentration unit side) of the MAC 31. In the present embodiment, the ID of each input / output port of the MAC 31 is referred to as a VLAN (Virtual LAN) ID or simply PVID. The router device 1 uses the PVID to use the concentrator 32 as a virtual LAN, and performs destination control of packets flowing through the concentrator 32.

PVID=1は、MAC31の上位側(集線部側)の入出力ポートの識別が、LAN側、すなわち、ポートID(L)であることを示す。PVID=2は、WAN側、すなわち、ポートID(W)であることを示す。   PVID = 1 indicates that the input / output port identification on the upper side (concentration unit side) of the MAC 31 is the LAN side, that is, the port ID (L). PVID = 2 indicates the WAN side, that is, the port ID (W).

制御装置5は、次の制御を行う。   The control device 5 performs the following control.

(1)切替スイッチ部6の指定に基づいて決定されるPVID(ポートID)を、MAC31のそれぞれのポートID記憶部に記憶する。制御装置5には、図6に示すPVIDテーブルが記憶されている。制御装置5は、切替スイッチ部6の指定に基づいてこのテーブルのPVIDを決定し、MAC31のそれぞれのポートID記憶部に記憶する。このとき、第1の論理処理部のMAC(5)については、PVID=1/2(1 or 2)とする(ポートID記憶部に記憶する)。つまり、MAC(5)は、LAN側のパケットもWAN側のパケットも流す。図5に示す例では、MAC(0)についてはPVID=2、MAC(1)〜MAC(4)についてはPVID=1、MAC(5)についてはPVID=1/2が記憶されている。 (1) The PVID (port ID) determined based on the designation of the selector switch unit 6 is stored in each port ID storage unit of the MAC 31. The control device 5 stores a PVID table shown in FIG. The control device 5 determines the PVID of this table based on the designation of the changeover switch unit 6 and stores it in each port ID storage unit of the MAC 31. At this time, the MAC (5) of the first logical processing unit is set to PVID = 1/2 (1 or 2) (stored in the port ID storage unit). That is, MAC (5) flows both LAN side packets and WAN side packets. In the example shown in FIG. 5, PVID = 2 is stored for MAC (0), PVID = 1 is stored for MAC (1) to MAC (4), and PVID = 1/2 is stored for MAC (5).

(2)第1の特定インターフェイスであるMII0のみを使用する。(第2の特定インターフェイスであるMII1をdisableにする(無効にする)。 (2) Only MII0 that is the first specific interface is used. (MII1 which is the second specific interface is disabled (disabled).

(3)MAC(5)から第1の特定インターフェイスであるMII0を介して入力するパケットに対してルーティング処理などのパケット処理を行い、LAN側へ出力するパケットにはポートID(L)を、WAN側へ出力するパケットにはポートID(W)を付加して前記第1の特定インターフェイスMII0を介してMAC(5)に出力する。 (3) Packet processing such as routing processing is performed on a packet input from the MAC (5) via the first specific interface MII0, and the port ID (L) is set to the packet output to the LAN side. The port ID (W) is added to the packet output to the side, and the packet is output to the MAC (5) via the first specific interface MII0.

すなわち、制御装置5においてルーティング処理を行う場合は、
(30)MAC(5)から第1の特定インターフェイスであるMII0を介して入力するパケットがPVID=2(ポートID(W))を含んでいればルーティングした後、PVID=1(ポートID(L))を付加してMII0を介してMAC(5)に出力する。MAC(5)は、PVID=1/2であるため、このパケットを集線部32に流す。
That is, when the control device 5 performs the routing process,
(30) After routing if a packet input from the MAC (5) via the first specific interface MII0 includes PVID = 2 (port ID (W)), routing is performed and then PVID = 1 (port ID (L )) Is added and output to MAC (5) via MII0. Since MAC (5) is PVID = 1/2, this packet is sent to the concentrator 32.

(31)MAC(5)からMII0を介して入力するパケットがPVID=1(ポートID(L))を含んでいればルーティングした後、PVID=2(ポートID(W))を付加してMII0を介してMAC(5)に出力する。MAC(5)は、PVID=1/2であるため、このパケットを集線部32に流す。 (31) If a packet input from MAC (5) via MII0 includes PVID = 1 (port ID (L)), routing is performed, and then PVID = 2 (port ID (W)) is added to MII0. To the MAC (5). Since MAC (5) is PVID = 1/2, this packet is sent to the concentrator 32.

スイッチングハブ部3の制御を含めた全体の動作は次の通りである。   The overall operation including the control of the switching hub unit 3 is as follows.

(LAN→WANのパケットの流れ)
図5において、IF(D)(LAN)→IF(A)(WAN)の通信を例とする。
(LAN → WAN packet flow)
In FIG. 5, communication of IF (D) (LAN) → IF (A) (WAN) is taken as an example.

IF(D)からのパケットはPHY(3)→MAC(3)へ転送され、MAC(3)においてPVID=1が付加される。   The packet from IF (D) is transferred from PHY (3) to MAC (3), and PVID = 1 is added in MAC (3).

MAC(3)は、集線部32のMACアドレステーブルに従い、パケットのフォワーディングまたはフラッディングを行う。このとき、PVID=2であるMAC(0)には、PVIDが異なるためパケットが届かない。   MAC (3) performs forwarding or flooding of packets according to the MAC address table of the concentrator 32. At this time, the packet does not reach MAC (0) where PVID = 2 because the PVID is different.

MAC(5)がパケットを受け取り、PVID情報を削除し、MII0→制御装置5へと転送する。   MAC (5) receives the packet, deletes the PVID information, and transfers it from MII0 to control device 5.

制御装置5はルーティング処理を行い、PVID=2を付加して、MII0→MAC(5)へと転送する。   The control device 5 performs routing processing, adds PVID = 2, and transfers the data from MII0 to MAC (5).

パケットは、PVID=2であるMAC(0)のみへフォワーディングされ、MAC(0)はPVID情報を削除し、PHY(0)→IF(A)へと転送する。   The packet is forwarded only to MAC (0) where PVID = 2, and MAC (0) deletes the PVID information and transfers it to PHY (0) → IF (A).

(WAN→LANのパケットの流れ)
図5において、IF(A)(WAN)→IF(D)(LAN)の通信を例とする。
(WAN → LAN packet flow)
In FIG. 5, communication of IF (A) (WAN) → IF (D) (LAN) is taken as an example.

IF(A)からのパケットは、PHY(0)→MAC(0)へと転送される。   The packet from IF (A) is transferred from PHY (0) to MAC (0).

MAC(0)は、パケットにPVID=2を付加して、集線部32に渡すが、パケットはPVID=1/2であるMAC(5)のみにフォワーディングされる。   MAC (0) adds PVID = 2 to the packet and passes it to the concentrator 32, but the packet is forwarded only to MAC (5) with PVID = 1/2.

MAC(5)は、パケットを受け取り、PVID情報を削除し、MII0→制御装置5へ転送する。   MAC (5) receives the packet, deletes the PVID information, and transfers it to MII0 → control device 5.

制御装置5は、ルーティング処理を行い、PVID=1を付加してMII0→MAC(5)へと転送する。   The control device 5 performs routing processing, adds PVID = 1, and transfers the data from MII0 to MAC (5).

MAC(5)は、集線部32のMACアドレステーブルに従い、パケットのフォワーディングまたはフラッディングを行う。このとき、PVID=2であるMAC(0)には、PVIDが異なるためパケットが届かない。   The MAC (5) performs forwarding or flooding of packets according to the MAC address table of the concentrator 32. At this time, the packet does not reach MAC (0) where PVID = 2 because the PVID is different.

ここでは、MAC(3)がパケットを受け取り、PVID情報を削除し、PHY(3)→IF(D)へと転送する。   Here, MAC (3) receives the packet, deletes the PVID information, and transfers it from PHY (3) to IF (D).

以上の制御により、切替スイッチ部6の指定によって、IF2のそれぞれ(の属性)を、任意にLANまたはWANに設定することができる。また、図7に示すようにIF(A)とIF(B)のように、複数のIF2をWANに設定することもできる。   Through the above control, each (attribute) of IF2 can be arbitrarily set to LAN or WAN by designation of the changeover switch unit 6. Further, as shown in FIG. 7, a plurality of IF2s can be set in the WAN, such as IF (A) and IF (B).

上記の第2の実施形態では、WAN〜LAN間のパケットはMII0を2回通ることになるため、帯域利用効率が悪い。このため、MII0でのデータ転送が全二重であったとしても、半二重相当の通信速度に低下してしまう。そこで、MII1もパケット転送に使用する構成を図8に示す。   In the second embodiment described above, since the packet between the WAN and the LAN passes through MII0 twice, bandwidth utilization efficiency is poor. For this reason, even if the data transfer in MII0 is full duplex, the communication speed is reduced to half duplex. Therefore, FIG. 8 shows a configuration in which MII1 is also used for packet transfer.

図8は本発明の第3の実施形態を示す。このルータ装置では、制御装置5は、MII1を有効にしてMAC(4)に接続する。また、PHY(4)を無効にする。さらに、MAC(4)をPVID=1に、MAC(5)をPVID=2に設定する。   FIG. 8 shows a third embodiment of the present invention. In this router device, the control device 5 enables MII1 and connects to the MAC (4). Also, PHY (4) is invalidated. Further, MAC (4) is set to PVID = 1, and MAC (5) is set to PVID = 2.

図8のルータ装置では、IF(A)とIF(B)がWANに設定され、IF(C)とIF(D)がLANに設定され、IF(E)が無効となっている。   In the router device of FIG. 8, IF (A) and IF (B) are set to WAN, IF (C) and IF (D) are set to LAN, and IF (E) is invalid.

パケットの流れは次のようになる。   The packet flow is as follows.

(LAN→WANのパケットの流れ)
図8において、IF(D)(LAN)→IF(A)(WAN)の通信を例とする。
(LAN → WAN packet flow)
In FIG. 8, IF (D) (LAN) → IF (A) (WAN) communication is taken as an example.

IF(D)からのパケットはPHY(3)→MAC(3)へ転送され、MAC(3)においてPVID=1が付加される。   The packet from IF (D) is transferred from PHY (3) to MAC (3), and PVID = 1 is added in MAC (3).

MAC(3)は、集線部32のMACアドレステーブルに従い、パケットのフォワーディングまたはフラッディングを行う。このとき、PVID=2であるMAC(0)には、PVIDが異なるためパケットが届かない。   MAC (3) performs forwarding or flooding of packets according to the MAC address table of the concentrator 32. At this time, the packet does not reach MAC (0) where PVID = 2 because the PVID is different.

MAC(4)がパケットを受け取り、PVID情報を削除し、MII1→制御装置5へと転送する。   MAC (4) receives the packet, deletes the PVID information, and transfers it to MII1 → control device 5.

制御装置5はルーティング処理を行い、PVID=2を付加して、MII0→MAC(5)へと転送する。   The control device 5 performs routing processing, adds PVID = 2, and transfers the data from MII0 to MAC (5).

パケットは、PVID=2であるMAC(0)のみへフォワーディングされ、MAC(0)はPVID情報を削除し、PHY(0)→IF(A)へと転送する。   The packet is forwarded only to MAC (0) where PVID = 2, and MAC (0) deletes the PVID information and transfers it to PHY (0) → IF (A).

(WAN→LANのパケットの流れ)
図8において、IF(A)(WAN)→IF(D)(LAN)の通信を例とする。
(WAN → LAN packet flow)
In FIG. 8, IF (A) (WAN) → IF (D) (LAN) communication is taken as an example.

IF(A)からのパケットは、PHY(0)→MAC(0)へと転送される。   The packet from IF (A) is transferred from PHY (0) to MAC (0).

MAC(0)は、パケットにPVID=2を付加して、集線部32に渡すが、パケットはPVID=2であるMAC(5)のみにフォワーディングされる。   MAC (0) adds PVID = 2 to the packet and passes it to the concentrator 32, but the packet is forwarded only to MAC (5) with PVID = 2.

MAC(5)は、パケットを受け取り、PVID情報を削除し、MII0→制御装置5へ転送する。   MAC (5) receives the packet, deletes the PVID information, and transfers it to MII0 → control device 5.

制御装置5は、ルーティング処理を行い、PVID=1を付加してMII1→MAC(4)へと転送する。   The control device 5 performs routing processing, adds PVID = 1, and transfers the data from MII1 to MAC (4).

MAC(4)は、集線部32のMACアドレステーブルに従い、パケットのフォワーディングまたはフラッディングを行う。このとき、PVID=2であるMAC(0)には、PVIDが異なるためパケットが届かない。   MAC (4) performs packet forwarding or flooding according to the MAC address table of the concentrator 32. At this time, the packet does not reach MAC (0) where PVID = 2 because the PVID is different.

MAC(3)がパケットを受け取り、PVID情報を削除し、PHY(3)→IF(D)へと転送する。   MAC (3) receives the packet, deletes the PVID information, and transfers it from PHY (3) to IF (D).

以上のルータ装置では、MII0にはWANパケット、MII1にはLANパケットのみが通る。これにより、スイッチングハブ部3と制御装置5間の帯域は図5、図7のルータ装置に比較して倍となり、帯域利用効率が低下するボトルネックを解消できる。   In the above router apparatus, only WAN packets pass through MII0 and only LAN packets pass through MII1. As a result, the bandwidth between the switching hub unit 3 and the control device 5 is doubled as compared with the router devices of FIGS. 5 and 7, and the bottleneck in which the bandwidth utilization efficiency is reduced can be eliminated.

図9は、本発明の第4の実施形態を示している。   FIG. 9 shows a fourth embodiment of the present invention.

このルータ装置は、制御装置5にMAC/BB(ベースバンド)チップを組み込み、外部ネットワーク機器接続部IFとしてワイヤレス(無線)チップ(WirelessRF)を設けたものである。MAC/BBチップは、IEEEで定義された802.11a/b/gの無線規格におけるMAC機能とモデム機能を実装している。すなわち、802.11a/b/g無線プロトコルを制御し、BBはモデムとして機能する。WirelessRFは、LANまたはWANに設定可能な無線モジュールである。WAN設定したときには、上位のルータと無線接続される。また、LAN設定したときには、無線アクセスポイントやPC等の端末装置と無線接続される。   In this router device, a MAC / BB (baseband) chip is incorporated in the control device 5, and a wireless (wireless) chip (WirelessRF) is provided as an external network device connection unit IF. The MAC / BB chip implements a MAC function and a modem function in the 802.11a / b / g wireless standard defined by IEEE. That is, it controls the 802.11a / b / g wireless protocol, and BB functions as a modem. WirelessRF is a wireless module that can be set to LAN or WAN. When the WAN is set, a wireless connection is established with an upper router. Further, when the LAN is set, the wireless connection is established with a terminal device such as a wireless access point or a PC.

IF2とWirelessRF間のパケットはMII0及びMII1を使用する。制御装置5は、WirelessRFのLANまたはWAN設定に応じて、ルーティング処理の他、MAC/BBへのパケット転送を制御する。また、制御装置5は、MAC/BBが受信したWirelessRFからのパケットの解析を行い、必要に応じてルーティング処理を行う。制御装置5とスイッチングハブ部3との通信は、図8と同様に、MII0(WANパケット)とMII1(LANパケット)を使用する。   Packets between IF2 and WirelessRF use MII0 and MII1. The control device 5 controls the packet transfer to the MAC / BB in addition to the routing process according to the wireless RF LAN or WAN setting. In addition, the control device 5 analyzes a packet from WirelessRF received by the MAC / BB, and performs a routing process as necessary. Communication between the control device 5 and the switching hub unit 3 uses MII0 (WAN packet) and MII1 (LAN packet) as in FIG.

図10は、本発明の第5の実施形態を示している。   FIG. 10 shows a fifth embodiment of the present invention.

このルータ装置は、制御装置5に汎用バスのPCIバスを制御するPCI HOSTを組み込み、PCIバスに外部ネットワーク機器接続部IFとしてWirelessModuleを接続している。この実施形態は、制御装置5がPCIバス等の汎用バスを備えているときに都合が良い。   In this router device, PCI HOST for controlling the PCI bus of the general-purpose bus is incorporated in the control device 5, and WirelessModule is connected to the PCI bus as an external network device connection unit IF. This embodiment is convenient when the control device 5 includes a general-purpose bus such as a PCI bus.

制御装置5の動作については、図9と同様である。   The operation of the control device 5 is the same as in FIG.

図11は、本発明の第6の実施形態を示している。   FIG. 11 shows a sixth embodiment of the present invention.

このルータ装置は、制御装置5が、MIIFを備えていて、このMIIFにIF(F)を接続している。制御装置5は、MIIFを使って、IF(F)をLANまたはWANに設定する。   In this router device, the control device 5 includes an MIIF, and an IF (F) is connected to the MIIF. The control device 5 sets IF (F) to LAN or WAN using MIIF.

図12は、本発明の第7の実施形態を示している。   FIG. 12 shows a seventh embodiment of the present invention.

このルータ装置は、IF2(IF(A)〜IF(E)と、PHY8(PHY(A)〜PHY(E))に加えて、PHY8のそれぞれの上位側入出力ポートが接続され、このポートをLAN側またはWAN側に切り替える第1の切替スイッチ部9と、第1の切替スイッチ部9の上位側に接続される2つのスイッチングハブ部3a、3bとを備えている。第1の切替スイッチ部9は、MII SW(A)〜MII SW(E)の5つのスイッチ部で構成されている。2つのスイッチングハブ部3a、3bは、それぞれ、図2に示すスイッチングハブ部3と同様にMAC31(MAC(0)〜MAC(5))と集線部32とを備えているが、PHY30は含まない。下位側(入力側)の入出力ポートは、スイッチングハブ部3aについては、MII(A)1〜MII(E)1、スイッチングハブ部3bについては、MII(A)2〜MII(E)2となっている。スイッチングハブ部3aはLAN用であり、スイッチングハブ部3bはWAN用である。LAN用のスイッチングハブ部3aのMAC(5)にはLAN用特定インターフェイスMII3が接続され、WAN用のスイッチングハブ部3bのMAC(5)にはWAN用特定インターフェイスMII4が接続されている。制御装置5は、ルーティング処理を行うとともに、第2の切替スイッチ部6で指定された設定内容に基づいて第1の切替スイッチ部9の切替処理を行う。   In this router device, in addition to IF2 (IF (A) to IF (E) and PHY8 (PHY (A) to PHY (E)), each higher-order input / output port of PHY8 is connected. A first changeover switch unit 9 for switching to the LAN side or the WAN side and two switching hub units 3a and 3b connected to the upper side of the first changeover switch unit 9 are provided. 9 includes five switch units MII SW (A) to MII SW (E), and each of the two switching hub units 3a and 3b is similar to the switching hub unit 3 shown in FIG. MAC (0) to MAC (5)) and the concentrator 32, but does not include the PHY 30. The input / output port on the lower side (input side) is MII (A) for the switching hub 3a. ˜MII (E) 1 and switching hub portion 3b are MII (A) 2 to MII (E) 2.Switching hub portion 3a is for LAN, and switching hub portion 3b is for WAN. The LAN specific interface MII3 is connected to the MAC (5) of the LAN switching hub 3a, and the WAN specific interface MII4 is connected to the MAC (5) of the WAN switching hub 3b. 5 performs a routing process and also performs a switching process of the first changeover switch unit 9 based on the setting contents designated by the second changeover switch unit 6.

図12に示す例では、MII SW(A)とMII SW(B)とが、WAN設定され、MII SW(C)〜MII SW(E)がLAN設定されている。したがって、LAN用のスイッチングハブ部3aは、IF(C)〜IF(E)についてハブ動作を行い、WAN用のスイッチングハブ部3bは、IF(A)〜IF(B)についてハブ動作を行う。   In the example shown in FIG. 12, MII SW (A) and MII SW (B) are set in WAN, and MII SW (C) to MII SW (E) are set in LAN. Accordingly, the switching hub unit 3a for LAN performs a hub operation for IF (C) to IF (E), and the switching hub unit 3b for WAN performs a hub operation for IF (A) to IF (B).

このルータ装置1では、LANパケットはLAN用のスイッチングハブ部3aだけで処理され、WANパケットはWAN用のスイッチングハブ部3bだけで処理される。また、LANパケットはMII3だけを通り、WANパケットはMII4だけを通る。このように、LAN側のスイッチングハブ部3aとWAN側のスイッチングハブ部3bを設けることにより、各スイッチングハブ部は帯域に十分なマージンを取ることができる。   In this router device 1, LAN packets are processed only by the LAN switching hub unit 3a, and WAN packets are processed only by the WAN switching hub unit 3b. The LAN packet passes only through MII3, and the WAN packet passes through only MII4. Thus, by providing the LAN-side switching hub portion 3a and the WAN-side switching hub portion 3b, each switching hub portion can take a sufficient margin in the band.

なお、外部ネットワーク機器接続部IFとして、IF2やWirelessRFに代えて、PLC(Power Line Communications)インターフェイスや、3G(3rd Generation)インターフェイスなどの他のインターフェイスを使用することも可能である。また、MIIに代えて、データリンクレイヤで定義される(現在または将来)他のインターフェイス規格を使用することも可能である。   In addition, it is also possible to use other interfaces, such as a PLC (Power Line Communications) interface and a 3G (3rd Generation) interface, as the external network device connection unit IF, instead of IF2 and WirelessRF. It is also possible to use other interface standards (current or future) defined in the data link layer instead of MII.

従来のルータ装置使用時の不都合を説明する図Diagram explaining the inconvenience when using a conventional router device 本発明の第1の実施形態のルータ装置の構成図Configuration diagram of the router device of the first embodiment of the present invention 第1の実施形態の動作を説明する図The figure explaining operation | movement of 1st Embodiment 第1の実施形態の動作を説明する図The figure explaining operation | movement of 1st Embodiment 本発明の第2の実施形態のルータ装置の構成図The block diagram of the router apparatus of the 2nd Embodiment of this invention 第2の実施形態のPVIDテーブルを示す図The figure which shows the PVID table of 2nd Embodiment 第2の実施形態の動作を説明する図The figure explaining operation of a 2nd embodiment 本発明の第3の実施形態のルータ装置の構成図The block diagram of the router apparatus of the 3rd Embodiment of this invention 本発明の第4の実施形態のルータ装置の構成図The block diagram of the router apparatus of the 4th Embodiment of this invention 本発明の第5の実施形態のルータ装置の構成図The block diagram of the router apparatus of the 5th Embodiment of this invention 本発明の第6の実施形態のルータ装置の構成図The block diagram of the router apparatus of the 6th Embodiment of this invention 本発明の第7の実施形態のルータ装置の構成図The block diagram of the router apparatus of the 7th Embodiment of this invention

符号の説明Explanation of symbols

1…ルータ装置
2−インターフェイスコネクタ
3−スイッチングハブ部
30−物理処理部
31−論理処理部
32−集線部
4−特定インターフェイス線
5−制御装置
6−切替スイッチ部
7−LED
DESCRIPTION OF SYMBOLS 1 ... Router apparatus 2-Interface connector 3-Switching hub part 30-Physical processing part 31-Logic processing part 32-Concentration part 4-Specific interface line 5-Control apparatus 6 Changeover switch part 7-LED

Claims (6)

N個の外部ネットワーク機器接続部IFと、
前記N個の外部ネットワーク機器接続部IFのそれぞれにOSI参照モデルの物理レイヤにおいて下位側ポートが接続される物理処理部PHYと、それぞれの物理処理部PHYの上位側ポートにOSI参照モデルのデータリンクレイヤにおいて下位側ポートが接続される論理処理部MACと、それぞれの論理処理部MACの上位側ポートを集線する集線部とを備えるスイッチングハブ部と、
前記スイッチングハブ部の第1の論理処理部MAC(X)(Xは任意の識別子)に接続される第1の特定インターフェイスと、前記スイッチングハブ部の第2の論理処理部MAC(Y)(Yは任意の識別子)の物理側に接続される第2の物理処理部PHY(Y)に接続される第2の特定インターフェイスとを含み、入出力パケットが流れる特定インターフェイス線と、
前記特定インターフェイス線に接続され、該特定インターフェイス線から入力する入力パケットのルーティング処理を含むパケット処理を行う制御部と、
少なくとも一つ以上の外部ネットワーク機器接続部IFの属性をLANまたはWANに設定する設定処理を指定する切替指定部と、を備え、
前記制御部は、前記切替指定部で指定された設定処理内容に基づいて、前記スイッチングハブ部の前記第2の論理処理部MAC(Y)と前記第2の特定インターフェイスとについて、選択的にその機能を有効又は無効にし、それによって前記第2の物理処理部PHY(Y)に接続される外部ネットワーク機器接続部IF(Y)の属性をLANまたはWANに設定する設定処理を行うことを特徴とする、ルータ装置。
N external network device connections IF,
The physical processing unit PHY to which the lower side port is connected in the physical layer of the OSI reference model to each of the N external network device connection units IF, and the data link of the OSI reference model to the upper side port of each physical processing unit PHY A switching hub unit comprising a logical processing unit MAC to which lower-order ports are connected in a layer, and a concentrating unit for concentrating upper-order ports of each logical processing unit MAC;
A first specific interface connected to the first logical processing unit MAC (X) (X is an arbitrary identifier) of the switching hub unit; and a second logical processing unit MAC (Y) (Y of the switching hub unit) Includes a second specific interface connected to the second physical processing unit PHY (Y) connected to the physical side of an arbitrary identifier), a specific interface line through which an input / output packet flows,
A controller that is connected to the specific interface line and performs packet processing including routing processing of input packets input from the specific interface line;
A switching designation unit for designating a setting process for setting the attribute of at least one external network device connection unit IF to LAN or WAN,
The control unit selectively selects the second logical processing unit MAC (Y) and the second specific interface of the switching hub unit based on the setting processing content designated by the switching designation unit. A setting process for setting the attribute of the external network device connection unit IF (Y) connected to the second physical processing unit PHY (Y) to LAN or WAN by enabling or disabling the function. A router device.
前記論理処理部MACは、その論理側入出力ポートについてLAN側を識別するポートID(L)かWAN側かを識別するポートID(W)を予め記憶するポートID記憶部を備え、このポートIDを使用して前記集線部をLANとし使用し、集線部を流れるパケットの行き先制御を行い、
前記制御部は、下記(1)〜(3)の制御を行うことを特徴とする請求項1記載のルータ装置。
(1)前記切替指定部の指定に基づいてポートIDを決定し、このポートIDを前記論理処理部MACのそれぞれのポートID記憶部に記憶する。前記第1の論理処理部MAC(X)については、ポートIDをポートID(L)とポートID(W)を含むものとして記憶する。
(2)前記第1の特定インターフェイスのみを使用する。
(3)前記第1の論理処理部MAC(X)から第1の特定インターフェイスを介して入力するパケットに対してルーティング処理などのパケット処理を行い、LAN側へ出力するパケットにはポートID(L)を、WAN側へ出力するパケットにはポートID(W)を付加して前記第1の特定インターフェイスを介して前記第1の論理処理部MAC(X)に出力する。
The logical processing unit MAC includes a port ID storage unit that stores in advance a port ID (L) for identifying the LAN side of the logical side input / output port or a port ID (W) for identifying the WAN side. And using the concentrator as a LAN to control the destination of packets flowing through the concentrator,
The router device according to claim 1, wherein the control unit performs the following controls (1) to (3).
(1) A port ID is determined based on the designation of the switching designation unit, and this port ID is stored in each port ID storage unit of the logical processing unit MAC. For the first logical processing unit MAC (X), the port ID is stored as including the port ID (L) and the port ID (W).
(2) Use only the first specific interface.
(3) Packet processing such as routing processing is performed on a packet input from the first logical processing unit MAC (X) via the first specific interface, and a port ID (L ) Is added to the packet to be output to the WAN side, and is output to the first logical processing unit MAC (X) via the first specific interface.
前記論理処理部MACは、その論理側入出力ポートについてLAN側を識別するポートID(L)かWAN側かを識別するポートID(W)を予め記憶するポートID記憶部を備え、このポートIDを使用して前記集線部をLANとし使用し、集線部を流れるパケットの行き先制御を行い、
前記制御部は、下記(4)〜(7)の制御を行うことを特徴とする請求項1記載のルータ装置。
(4)前記切替指定部の指定に基づいてポートIDを決定し、このポートIDを、前記論理処理部MACのそれぞれのポートID記憶部に記憶する。前記第1の論理処理部MAC(X)については、ポートIDをポートID(W)として記憶する。
(5)前記第2の特定インターフェイスを前記第2の論理処理部MAC(Y)に接続する。
(6)前記第1の論理処理部MAC(X)から前記第1の特定インターフェイスを介して入力するポートID(W)を含むパケットをルーティングした後、ポートID(L)を付加して前記第2の特定インターフェイスを介して前記第2の論理処理部MAC(Y)に出力する。
(7)前記第2の論理処理部MAC(Y)から前記第2の特定インターフェイスを介して入力するポートID(L)を含むパケットをルーティングした後、ポートID(W)を付加して前記第1の特定インターフェイスを介して前記第1の論理処理部MAC(X)に出力する。
The logical processing unit MAC includes a port ID storage unit that stores in advance a port ID (L) for identifying the LAN side of the logical side input / output port or a port ID (W) for identifying the WAN side. And using the concentrator as a LAN to control the destination of packets flowing through the concentrator,
The router device according to claim 1, wherein the control unit performs the following controls (4) to (7).
(4) A port ID is determined based on the designation of the switching designation unit, and this port ID is stored in each port ID storage unit of the logical processing unit MAC. For the first logical processing unit MAC (X), the port ID is stored as the port ID (W).
(5) Connect the second specific interface to the second logic processing unit MAC (Y).
(6) After routing a packet including the port ID (W) input from the first logical processing unit MAC (X) via the first specific interface, the port ID (L) is added to the first logical processing unit MAC (X). 2 to the second logical processing unit MAC (Y) via the two specific interfaces.
(7) After routing a packet including the port ID (L) input from the second logical processing unit MAC (Y) via the second specific interface, the port ID (W) is added to the second logical processing unit MAC (Y). The data is output to the first logical processing unit MAC (X) through one specific interface.
前記制御部は、LANまたはWANに設定可能な外部ネットワーク機器接続部IFを含む無線部を備えている、請求項1〜3のいずれかに記載のルータ装置。 The router device according to claim 1, wherein the control unit includes a wireless unit including an external network device connection unit IF that can be set to a LAN or a WAN. 前記無線部は、汎用バスを介して前記制御部に接続される請求項4記載のルータ装置。 The router device according to claim 4, wherein the wireless unit is connected to the control unit via a general-purpose bus. N個の外部ネットワーク機器接続部IFと、
前記N個の外部ネットワーク機器接続部IFのそれぞれにOSI参照モデルの物理レイヤにおいて下位側ポートが接続される物理処理部PHYと、それぞれの物理処理部PHYの上位側ポートをL側またはW側のいずれかに切り替える第1の切替指定部と、
前記第1の切替指定部のそれぞれのL側出力にOSI参照モデルのデータリンクレイヤにおいて下位側ポートが接続されるLAN用論理処理部MACと、それぞれのLAN用論理処理部MACの上位側ポートを集線するLAN用集線部とを備えるLAN用スイッチングハブ部と、
前記第1の切替指定部のそれぞれのW側出力にOSI参照モデルのデータリンクレイヤにおいて下位側ポートが接続されるWAN用論理処理部MACと、それぞれのWAN用論理処理部MACの上位側ポートを集線するWAN用集線部とを備えるWAN用スイッチングハブ部と、
前記LAN用スイッチングハブ部の第1のLAN用論理処理部MAC(X)(Xは任意の識別子)に接続されLANパケットが流れるLAN用特定インターフェイスと、前記WAN用スイッチングハブ部の第1のWAN用論理処理部MAC(X)に接続されWAN パケットが流れるWAN用特定インターフェイスとを含む特定インターフェイス線と、
前記特定インターフェイス線に接続され入力パケットのルーティング処理を含むパケット処理を行い、また、前記第1の切替指定部に対して切替信号を出力し、選択的に、前記N個の外部ネットワーク機器接続部IFの属性をLANまたはWANに設定する設定処理を行う制御部と、
前記制御部に接続対して、前記N個の外部ネットワーク機器接続部IFの設定処理を指定する第2の切替指定部と、
を備えてなるルータ装置。
N external network device connections IF,
A physical processing unit PHY to which a lower side port is connected in each of the physical layers of the OSI reference model to each of the N external network device connection units IF, and an upper side port of each physical processing unit PHY is set to the L side or the W side. A first switching designation section for switching to any one of;
The LAN logical processing unit MAC to which the lower side port is connected in the data link layer of the OSI reference model to each L side output of the first switching designation unit, and the upper side port of each LAN logical processing unit MAC A LAN switching hub portion including a LAN line concentrator for concentrating;
The WAN logical processing unit MAC to which the lower side port is connected in the data link layer of the OSI reference model to each W side output of the first switching designation unit, and the upper side port of each WAN logical processing unit MAC A WAN switching hub comprising a WAN concentrator for concentrating;
A specific interface for LAN through which a LAN packet flows, connected to the first LAN logical processing unit MAC (X) (X is an arbitrary identifier) of the LAN switching hub, and the first WAN of the WAN switching hub A specific interface line including a specific interface for the WAN connected to the logical processing unit MAC (X) for communication and through which the WAN packet flows;
Packet processing including routing processing of input packets connected to the specific interface line is performed, a switching signal is output to the first switching designating section, and selectively the N external network device connecting sections A control unit that performs a setting process for setting an IF attribute to LAN or WAN;
A second switching designating unit for designating a setting process of the N external network device connection units IF for connection to the control unit;
A router device comprising:
JP2008058175A 2008-03-07 2008-03-07 Router device Active JP5184922B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008058175A JP5184922B2 (en) 2008-03-07 2008-03-07 Router device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008058175A JP5184922B2 (en) 2008-03-07 2008-03-07 Router device

Publications (2)

Publication Number Publication Date
JP2009218712A true JP2009218712A (en) 2009-09-24
JP5184922B2 JP5184922B2 (en) 2013-04-17

Family

ID=41190187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008058175A Active JP5184922B2 (en) 2008-03-07 2008-03-07 Router device

Country Status (1)

Country Link
JP (1) JP5184922B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016165062A (en) * 2015-03-06 2016-09-08 オムロン株式会社 Radio apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344530A (en) * 2001-05-17 2002-11-29 Fujitsu Ltd Packet transferring device, semiconductor device, and packet transferring system
JP2004235722A (en) * 2003-01-28 2004-08-19 Nec Access Technica Ltd Automatic discriminating system of connection device attribute and broadband router corresponding to ppp authentication, which mounts the same
JP2005142907A (en) * 2003-11-07 2005-06-02 Buffalo Inc Access point, terminal, encryption key setting system, encryption key setting method and program
JP2006157609A (en) * 2004-11-30 2006-06-15 Toshiba Corp Communication control apparatus and communication control method
JP2006524014A (en) * 2003-04-15 2006-10-19 トムソン ライセンシング Method and apparatus for configuring a router port
JP2007295214A (en) * 2006-04-25 2007-11-08 I-O Data Device Inc Router device
JP2009044457A (en) * 2007-08-08 2009-02-26 Panasonic Corp Communication line control apparatus, and communication line control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002344530A (en) * 2001-05-17 2002-11-29 Fujitsu Ltd Packet transferring device, semiconductor device, and packet transferring system
JP2004235722A (en) * 2003-01-28 2004-08-19 Nec Access Technica Ltd Automatic discriminating system of connection device attribute and broadband router corresponding to ppp authentication, which mounts the same
JP2006524014A (en) * 2003-04-15 2006-10-19 トムソン ライセンシング Method and apparatus for configuring a router port
JP2005142907A (en) * 2003-11-07 2005-06-02 Buffalo Inc Access point, terminal, encryption key setting system, encryption key setting method and program
JP2006157609A (en) * 2004-11-30 2006-06-15 Toshiba Corp Communication control apparatus and communication control method
JP2007295214A (en) * 2006-04-25 2007-11-08 I-O Data Device Inc Router device
JP2009044457A (en) * 2007-08-08 2009-02-26 Panasonic Corp Communication line control apparatus, and communication line control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016165062A (en) * 2015-03-06 2016-09-08 オムロン株式会社 Radio apparatus
WO2016143590A1 (en) * 2015-03-06 2016-09-15 オムロン株式会社 Wireless device
US10419238B2 (en) 2015-03-06 2019-09-17 Omron Corporation Radio

Also Published As

Publication number Publication date
JP5184922B2 (en) 2013-04-17

Similar Documents

Publication Publication Date Title
US8059680B2 (en) Offload system, method, and computer program product for processing network communications associated with a plurality of ports
JP6046309B2 (en) Method and system for updating distributed resilient network interconnection (DRNI) status
EP2412129B1 (en) Redundant host connection in a routed network
CN105830406B (en) Method, apparatus and system for supporting flexible lookup of keywords in software defined networks
EP3240250B1 (en) Virtual router terminating an overlay tunnel in a storage area network
US7411915B1 (en) Automatically configuring switch ports with appropriate features
CN105450532B (en) Three-layer forwarding method in software defined network and device
US9143445B2 (en) Method and system for link aggregation across multiple switches
JP2019036976A (en) Method and system for supporting distributed relay control protocol (drcp) operations upon misconfiguration
CN105025387B (en) The method and system of IPTV intelligent terminal progress IPTV service and Internet service
KR20130060291A (en) Computer system and communication method in computer system
KR20120095405A (en) System and method for high-performance, low-power data center interconnect fabric
WO2004079993A1 (en) An ethernet switch and method of processing message therof
CN107820262B (en) Parameter configuration method, device and system
CN105515992A (en) Method and device for processing flow table items of VXLAN network
WO2013139159A1 (en) Method for forwarding packet in network and provider edge device
WO2012152186A1 (en) Multiport ethernet interface device and vpn service access method therefor
WO2007031000A1 (en) Virtual circuit exchanging method based on mac studying
JP5184922B2 (en) Router device
CN109728926A (en) Communication means and the network equipment
Cisco Configuring the Catalyst 8500 Software
Cisco Configuring the Catalyst 8500 Software
CN108737277A (en) A kind of message forwarding method and device
JP2005260415A (en) Network repeating device
CN108833284A (en) A kind of communication means and device of cloud platform and IDC network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110207

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120717

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120914

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: 20130108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130117

R150 Certificate of patent or registration of utility model

Ref document number: 5184922

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160125

Year of fee payment: 3

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

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250