JP2007053681A - Device, method, and program for communication - Google Patents

Device, method, and program for communication Download PDF

Info

Publication number
JP2007053681A
JP2007053681A JP2005238752A JP2005238752A JP2007053681A JP 2007053681 A JP2007053681 A JP 2007053681A JP 2005238752 A JP2005238752 A JP 2005238752A JP 2005238752 A JP2005238752 A JP 2005238752A JP 2007053681 A JP2007053681 A JP 2007053681A
Authority
JP
Japan
Prior art keywords
setting
warning
communication
address
user
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
JP2005238752A
Other languages
Japanese (ja)
Other versions
JP4796353B2 (en
Inventor
Takayuki Uchida
貴之 内田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2005238752A priority Critical patent/JP4796353B2/en
Publication of JP2007053681A publication Critical patent/JP2007053681A/en
Application granted granted Critical
Publication of JP4796353B2 publication Critical patent/JP4796353B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication device, a communication method, and a communication program which automatically execute a suitable operation in an IPv6 communication. <P>SOLUTION: The communication device performing communication with the IPv6 is provided with a user setting hold means which holds setting by the user for operations at a time of communication, a discrimination means which discriminates an operation at the time of communication based on the contents held in the user setting hold means, and a setting control means which performs control of operations at the time of communication based on the discrimination of the discrimination means. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、IPv6を用いて通信を行う通信機器、IPv6アドレス設定方法、IPv6アドレス設定プログラムに関する。   The present invention relates to a communication device that performs communication using IPv6, an IPv6 address setting method, and an IPv6 address setting program.

近年IPv6に対応した通信機器が増えてきている。IPv6では機器毎に必ず一つリンクローカルアドレスが割り振られる為、ケーブルを接続した時点で、ユーザは何も設定する事無く直ぐに他機器と通信できる事を特徴としている。   In recent years, the number of communication devices compatible with IPv6 has increased. In IPv6, since one link local address is always assigned to each device, the user can immediately communicate with other devices without setting anything when the cable is connected.

上記リンクローカルアドレス以外に、IPv6アドレスにはステートレスアドレスがある。このアドレスは、ルータから配布されるRA(router advertisement)を元に生成されるものである。このステートレスアドレスは、有効期限があり、有効期限を超過すると、アドレスを使用することができなくなる。   In addition to the link local address, the IPv6 address includes a stateless address. This address is generated based on RA (router advertisement) distributed from the router. This stateless address has an expiration date, and when the expiration date is exceeded, the address cannot be used.

有効期限は、ルータから定期的に送信されるRAにより更新されるので、通常は有効期限を気にせずに使用できるようになっている。   Since the expiration date is updated by RA periodically transmitted from the router, the expiration date can be normally used without worrying about the expiration date.

しかしながら、ルータの電源が落ちたりすることで、ルータが正常に動作できない場合、アドレスが失効し、通信を継続できなくなる。その場合、例えば印刷するための画像データが送信中であっても使用できなくなるため、印刷することが不可能となる。   However, if the router cannot operate normally due to power off of the router, the address becomes invalid and communication cannot be continued. In this case, for example, the image data for printing cannot be used even during transmission, and printing is impossible.

このことは、例えば有効期限が著しく短いライフタイムのRAにより生成されたアドレスであれば、一層起こりえる問題である。   This is a more likely problem if, for example, the address is generated by RA having a lifetime that is extremely short.

さらに、ルータを騙りRAを送信する端末も存在し、このようなRAに元に生成されたアドレスは、セキュリティ上問題がある。   Furthermore, there are terminals that send RAs through a router, and addresses generated based on such RAs have security problems.

本発明はこのような問題点に鑑み、IPv6での通信における適切な動作を自動的に実行する通信機器、通信方法、通信プログラムを提供することを目的とする。   The present invention has been made in view of such a problem, and an object thereof is to provide a communication device, a communication method, and a communication program that automatically execute an appropriate operation in IPv6 communication.

上記課題を解決するために、本発明は、IPv6で通信を行なう通信機器において、通信時の動作に関するユーザによる設定を保持するユーザ設定保持手段と、前記ユーザ設定保持手段に保持された内容に基づき、通信時の動作を判定する判定手段と、前記判定手段の判定に基づき、通信時の動作の制御を行う設定制御手段とを有することを特徴とする。   In order to solve the above-described problems, the present invention is based on user settings holding means for holding settings by a user regarding operations at the time of communication and contents held in the user setting holding means in a communication device that performs communication using IPv6. And determining means for determining operation during communication, and setting control means for controlling operation during communication based on the determination by the determining means.

また、上記課題を解決するために、本発明は、前記設定は、ステートレスアドレスのライフタイム長であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the setting is a lifetime length of a stateless address.

また、上記課題を解決するために、本発明は、前記設定は、ルータ広告を送信するルータのIPアドレスであることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the setting is an IP address of a router that transmits a router advertisement.

また、上記課題を解決するために、本発明は、前記設定は、デフォルトゲートウェイのIPアドレスであることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the setting is an IP address of a default gateway.

また、上記課題を解決するために、本発明は、前記設定は、デフォルトゲートウェイになりうるルータのIPアドレスであることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the setting is an IP address of a router that can be a default gateway.

また、上記課題を解決するために、本発明は、前記設定は、前記設定制御手段が通信に関する警告をユーザに表示するかどうかの警告表示設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the setting is a warning display setting as to whether or not the setting control means displays a warning regarding communication to a user.

また、上記課題を解決するために、本発明は、前記警告表示設定は、IPアドレスが失効となることを警告する設定であることを特徴とする。   In order to solve the above-mentioned problem, the present invention is characterized in that the warning display setting is a setting for warning that an IP address becomes invalid.

また、上記課題を解決するために、本発明は、前記警告表示設定は、IPアドレスが失効となったことを警告する設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the warning display setting is a setting for warning that an IP address has expired.

また、上記課題を解決するために、本発明は、前記警告表示設定は、ユーザにより登録されていないルータからのルータ広告を受信したことを警告する設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the warning display setting is a setting for warning that a router advertisement has been received from a router not registered by the user.

また、上記課題を解決するために、本発明は、前記警告表示設定は、IPアドレスが重複したことを警告する設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the warning display setting is a setting for warning that IP addresses are duplicated.

また、上記課題を解決するために、本発明は、前記警告表示設定は、デフォルトゲートウェイが変更されたことを警告する設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the warning display setting is a setting for warning that the default gateway has been changed.

また、上記課題を解決するために、本発明は、前記警告表示設定は、ルータ広告で提供されたライフタイム長が所定の値より短いことを警告する設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the warning display setting is a setting for warning that the lifetime length provided by the router advertisement is shorter than a predetermined value.

また、上記課題を解決するために、本発明は、IPv6で通信を行なう通信機器での通信方法であって、通信時の動作に関するユーザによる設定が行なわれる設定段階と、前記設定段階で設定された内容を保持するユーザ設定保持段階と、前記ユーザ設定保持段階に保持された内容に基づき、通信時の動作を判定する判定段階と、前記判定段階の判定に基づき、通信時の動作の制御を行う設定制御段階とを有することを特徴とする。   In order to solve the above-described problem, the present invention is a communication method in a communication device that performs communication using IPv6, and is set in a setting stage in which settings are made by a user regarding operations during communication, and is set in the setting stage. A user setting holding stage for holding the content, a determination stage for determining an operation at the time of communication based on the contents held at the user setting holding stage, and a control of the operation at the time of communication based on the determination at the determination stage. And a setting control stage to perform.

また、上記課題を解決するために、本発明は、前記設定は、ステートレスアドレスのライフタイム長であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the setting is a lifetime length of a stateless address.

また、上記課題を解決するために、本発明は、前記設定は、ルータ広告を送信するルータのIPアドレスであることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the setting is an IP address of a router that transmits a router advertisement.

また、上記課題を解決するために、本発明は、前記設定は、デフォルトゲートウェイのIPアドレスであることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the setting is an IP address of a default gateway.

また、上記課題を解決するために、本発明は、前記設定は、デフォルトゲートウェイになりうるルータのIPアドレスであることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the setting is an IP address of a router that can be a default gateway.

また、上記課題を解決するために、本発明は、前記設定は、前記設定制御段階が通信に関する警告をユーザに表示するかどうかの警告表示設定であることを特徴とする。   In order to solve the above-mentioned problem, the present invention is characterized in that the setting is a warning display setting as to whether or not the setting control stage displays a warning related to communication.

また、上記課題を解決するために、本発明は、前記警告表示設定は、IPアドレスが失効となることを警告する設定であることを特徴とする。   In order to solve the above-mentioned problem, the present invention is characterized in that the warning display setting is a setting for warning that an IP address becomes invalid.

また、上記課題を解決するために、本発明は、前記警告表示設定は、IPアドレスが失効となったことを警告する設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the warning display setting is a setting for warning that an IP address has expired.

また、上記課題を解決するために、本発明は、前記警告表示設定は、ユーザにより登録されていないルータからのルータ広告を受信したことを警告する設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the warning display setting is a setting for warning that a router advertisement has been received from a router not registered by the user.

また、上記課題を解決するために、本発明は、前記警告表示設定は、IPアドレスが重複したことを警告する設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the warning display setting is a setting for warning that IP addresses are duplicated.

また、上記課題を解決するために、本発明は、前記警告表示設定は、デフォルトゲートウェイが変更されたことを警告する設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the warning display setting is a setting for warning that the default gateway has been changed.

また、上記課題を解決するために、本発明は、前記警告表示設定は、ルータ広告で提供されたライフタイム長が所定の値より短いことを警告する設定であることを特徴とする。   In order to solve the above problem, the present invention is characterized in that the warning display setting is a setting for warning that the lifetime length provided by the router advertisement is shorter than a predetermined value.

また、上記課題を解決するために、本発明は、請求項13から24のいずれか1項に記載の通信方法をコンピュータで実行させるための通信プログラム。   Moreover, in order to solve the said subject, this invention is a communication program for performing the communication method of any one of Claim 13 to 24 by a computer.

本発明によれば、IPv6での通信における適切な動作を自動的に実行する通信機器、通信方法、通信プログラムを提供できる。   According to the present invention, it is possible to provide a communication device, a communication method, and a communication program that automatically execute appropriate operations in IPv6 communication.

以下、本発明の実施の形態について図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、IPv6通信が行われるネットワーク機器が接続された構成を示す図である。図1には、2つのルータ1、2と、複数のIPv6対応機器(以下、通信機器と記す)と、それらを接続するネットワーク6とが示されている。   FIG. 1 is a diagram illustrating a configuration in which network devices that perform IPv6 communication are connected. FIG. 1 shows two routers 1 and 2, a plurality of IPv6 compatible devices (hereinafter referred to as communication devices), and a network 6 connecting them.

IPv6において、通信機器は複数のIPv6アドレスを保有するという特徴をもっている。代表的なものに、通信機器に必ず設定されるリンクローカルアドレス、ルータから配布されるルータ広告(以下、RAと記す)を元に生成されるステートレスアドレスがある。   In IPv6, a communication device has a feature of holding a plurality of IPv6 addresses. Typical examples include a link local address that is always set in a communication device and a stateless address that is generated based on a router advertisement (hereinafter referred to as RA) distributed from a router.

通常、IPv6に対応した通信機器は、リンクローカルアドレスの他にステートレスアドレスを所持する事が多い。何故なら、リンクローカルアドレスは同一ネットワークの通信機器としか通信する事ができないからである。ルータを超えた通信機器と通信する際にはグローバルアドレスが必要であり、そのグローバルアドレスに該当するのがステートレスアドレスである。   Usually, communication devices that support IPv6 often have stateless addresses in addition to link local addresses. This is because the link local address can communicate only with communication devices on the same network. When communicating with a communication device beyond the router, a global address is required, and a stateless address corresponds to the global address.

図1において、ルータ1は、プレフィックス「2001:1::/64」と「2002:1::/64」とを提供する。「2001:1::/64」は、通信機器5に提供され、「2002:1::/64」は通信機器3に提供されている。   In FIG. 1, the router 1 provides prefixes “2001: 1 :: / 64” and “2002: 1 :: / 64”. “2001: 1 :: / 64” is provided to the communication device 5, and “2002: 1 :: / 64” is provided to the communication device 3.

そのため、通信機器5のステートレスアドレスは、「2001:1::1111:22FF:FE33:5555」となっている。また、通信機器3のステートレスアドレスは、「2002:1::1111:22FF:FE33:7777」となっている。   Therefore, the stateless address of the communication device 5 is “2001: 1 :: 1111: 22FF: FE33: 5555”. The stateless address of the communication device 3 is “2002: 1 :: 1111: 22FF: FE33: 7777”.

また、ルータ2は、プレフィックス「2003:1::/64」と「2004:1::/64」とを提供する。「2003:1::/64」は、通信機器3に提供され、「2004:1::/64」は、通信機器4に提供されている。   The router 2 provides the prefixes “2003: 1 :: / 64” and “2004: 1 :: / 64”. “2003: 1 :: / 64” is provided to the communication device 3, and “2004: 1 :: / 64” is provided to the communication device 4.

そのため、通信機器3のステートレスアドレスは、「2002:1::1111:22FF:FE33:7777」と「2003:1::1111:22FF:FE33:7777」となっている。また、通信機器4のステートレスアドレスは、「2004:1::1111:22FF:FE33:2222」となっている。   Therefore, the stateless address of the communication device 3 is “2002: 1 :: 1111: 22FF: FE33: 7777” and “2003: 1 :: 1111: 22FF: FE33: 7777”. Further, the stateless address of the communication device 4 is “2004: 1 :: 1111: 22FF: FE33: 2222”.

これらのステートレスアドレスには、IPv4アドレスとは異なりライフタイムが存在し、ライフタイムが切れた時点でアドレスが失効するという特徴を持っている。具体的には、ルータが配布するプレフィックスには、preferred lifetimeとvalid lifetimeの2種類のライフタイムが設定されている。   Unlike the IPv4 address, these stateless addresses have a lifetime, and the address expires when the lifetime expires. Specifically, two types of lifetimes, preferred lifetime and valid lifetime, are set in the prefix distributed by the router.

preferred lifetimeの有効期限が切れると新たに通信を行う際に使用するのは推奨されず、valid lifetimeの有効期限が切れるとアドレスは失効してしまう。これにより、通信中にvalid lifetimeの有効期限が切れて突然通信できなくなってしまう事も発生しうる。   If the preferred lifetime expires, it is not recommended to use for new communications, and if the valid lifetime expires, the address will expire. As a result, the valid lifetime of the valid lifetime may expire during communication and sudden communication becomes impossible.

次に、図2を用いて通信機器のソフトウェアモジュール構成について説明する。図2には、アプリケーション10と、ネットワーク制御部11と、OS12とが示されている。ネットワーク制御部11は、ユーザ設定保持テーブル13と、ユーザオプション判定部14と、ネットワーク設定制御部15と、ネットワーク情報監視部16とを含む。また、OS12は、ネットワークプロトコル17と、ネットワーク通信ドライバ18とを含む。   Next, the software module configuration of the communication device will be described with reference to FIG. FIG. 2 shows an application 10, a network control unit 11, and an OS 12. The network control unit 11 includes a user setting holding table 13, a user option determination unit 14, a network setting control unit 15, and a network information monitoring unit 16. The OS 12 includes a network protocol 17 and a network communication driver 18.

アプリケーション10は、設定をユーザが行うためのものである。ユーザはこのアプリケーション10を用いて後述する設定を行う。ユーザ設定保持テーブル13は、通信時の動作に関するユーザによる設定を保持する。ユーザオプション判定部14は、ユーザ設定保持テーブル13に保持された内容に基づき、通信時の動作を判定する。ネットワーク設定制御部15は、ユーザオプション判定部14の判定に基づき、通信時の動作の制御を行う。   The application 10 is used by the user for setting. The user uses this application 10 to make settings described later. The user setting holding table 13 holds user settings related to operations during communication. The user option determination unit 14 determines an operation during communication based on the content held in the user setting holding table 13. The network setting control unit 15 controls the operation during communication based on the determination of the user option determination unit 14.

例えば、ネットワーク設定制御部15は、ユーザがpreferred lifetimeの有効期限が切れた時点で通知して欲しい旨設定した場合、OSからpreferred lifetimeの有効期限が切れた時点での情報をユーザに表示する。ネットワーク情報監視部16は、ルータなどから送信される情報を監視する。   For example, when the user sets a notification to be notified when the preferred lifetime expires, the network setting control unit 15 displays information from the OS at the time when the preferred lifetime expires to the user. The network information monitoring unit 16 monitors information transmitted from a router or the like.

これらのアプリケーション10と、ネットワーク制御部11と、OS12を含む通信プログラムは、着脱自在な記録媒体から通信装置に読み込まれるか、あるいはROMなどの記録装置に保持され、CPUによりRAMなどを用いて実行される。   The communication program including the application 10, the network control unit 11, and the OS 12 is read into a communication device from a detachable recording medium or held in a recording device such as a ROM and executed by the CPU using a RAM or the like. Is done.

なお、以上説明したユーザ設定保持テーブル13は、ユーザ設定保持手段に対応する。ユーザオプション判定部14は、判定手段に対応する。ネットワーク設定制御部15は、設定制御手段に対応する。   The user setting holding table 13 described above corresponds to user setting holding means. The user option determination unit 14 corresponds to a determination unit. The network setting control unit 15 corresponds to setting control means.

次に、図3のフローチャートを用いて、設定に関する処理を説明する。ステップS101は、IPv6自動設定機能を利用するかどうかの判断である。IPv6自動設定機能をユーザが利用しない場合は処理が終了する。この場合、ルータからのRAを受信せず、リンクローカルアドレスのみ生成され、ルータを超えた通信はできない。   Next, processing related to setting will be described using the flowchart of FIG. Step S101 is a determination of whether to use the IPv6 automatic setting function. If the user does not use the IPv6 automatic setting function, the process ends. In this case, the RA from the router is not received, only the link local address is generated, and communication beyond the router is not possible.

IPv6自動設定機能を利用する場合、ステップS102で、IPv6自動設定機能は有効とされる。次のステップS103は、セキュリティモードを選択するかどうかの判断である。セキュリティモードを選択しない場合、処理は終了する。   When the IPv6 automatic setting function is used, the IPv6 automatic setting function is validated in step S102. The next step S103 is a determination as to whether to select a security mode. If no security mode is selected, the process ends.

セキュリティモードがユーザ任意と判断されると、ステップS104を経て、ステップS108で、ステートレスアドレスのライフタイム長を指定するかどうかの判断が行なわれる。ユーザが指定しない場合、ステップS109で、デフォルト値が指定される。指定する場合、ステップS110で、ユーザがライフタイム長を任意に指定する。   If it is determined that the security mode is arbitrary by the user, it is determined whether or not the lifetime length of the stateless address is designated in step S108 through step S104. If not specified by the user, a default value is specified in step S109. In the case of designating, the user arbitrarily designates the lifetime length in step S110.

次のステップS111で、RA配布先ルータアドレスを設定するかどうかの判断が行なわれる。この設定は、設定されたRA配布先ルータアドレスから送信されるRAのみでアドレスを生成する設定である。設定しない場合、ステップS112で、デフォルト値である全ルータが設定される。設定する場合、ステップS113で、ユーザがRA配布先ルータアドレスを任意に設定する。   In the next step S111, it is determined whether or not to set the RA distribution destination router address. This setting is a setting for generating an address only by RA transmitted from the set RA distribution destination router address. If not, all routers that are default values are set in step S112. When setting, in step S113, the user arbitrarily sets the RA distribution destination router address.

次のステップS114で、デフォルトゲートウェイアドレスを自動設定するかどうかの判断が行なわれる。設定する場合、ステップS115で、自動設定が有効に設定される。設定しない場合、ステップS116で、自動設定が無効とされ、ステップS121に処理が進む。   In the next step S114, it is determined whether or not to automatically set a default gateway address. In the case of setting, automatic setting is enabled in step S115. If not set, the automatic setting is invalidated in step S116, and the process proceeds to step S121.

次のステップS117で、デフォルトゲートウェイになりうるルータのアドレスを指定するかどうかの判断が行なわれる。指定しない場合、ステップS118で、デフォルト値である全ルータが指定される。指定する場合、ステップS119で、ユーザがルータを任意に指定する。   In the next step S117, it is determined whether or not an address of a router that can be a default gateway is designated. If not specified, all routers that are default values are specified in step S118. If so, in step S119, the user arbitrarily designates a router.

ステップS103の説明に戻る。ステップS103では上述したユーザ任意が選択される以外に、ステップS105、106、107でセキュリティモード高中低を選択することができる。   Returning to the description of step S103. In step S103, in addition to selecting the user as described above, it is possible to select security mode high, medium, and low in steps S105, 106, and 107.

セキュリティモード高中低とは、上述した項目を予めセキュリティレベルに応じて値が自動的に設定されているものである。例えば「セキュリティモード高」を選択すると、「ステートレスアドレスのライフタイム長の限定」、「RA配布先ルータの限定」が設定される。   The security mode high, medium and low is a value in which the above items are automatically set in advance according to the security level. For example, when “high security mode” is selected, “limit of lifetime length of stateless address” and “limit of RA distribution destination router” are set.

次のステップS121で、警告表示を行なうかどうか判断される。行なわない場合、ステップS123警告表示が無効とされ、処理は終了する。行なう場合、ステップS122でセキュリティ表示が有効とされ、ステップS124で、警告表示優先度を設定するかどうか判断される。警告表示優先度を設定する場合、ステップS125で、デフォルト値が設定され、処理は終了する。警告表示優先度を設定しない場合、ステップS126で、ユーザが任意に設定し、処理は終了する。   In the next step S121, it is determined whether or not to display a warning. If not, the warning display in step S123 is invalidated and the process ends. If so, security display is enabled in step S122, and it is determined in step S124 whether or not to set a warning display priority. When the warning display priority is set, a default value is set in step S125, and the process ends. If the warning display priority is not set, the user arbitrarily sets it in step S126, and the process ends.

この警告表示の設定処理について、図4のフローチャートを用いて説明する。ステップS201は、ステートレスアドレスの有効時間に関する警告を行なうかどうかの判断である。警告を行なわない場合、ステップS211に処理が進む。警告を行う場合、ステップS202で、preferred lifetimeとvalid lifetimeのいずれを設定するかの判断が行なわれる。   This warning display setting process will be described with reference to the flowchart of FIG. Step S201 is to determine whether or not to issue a warning regarding the valid time of the stateless address. If no warning is given, the process proceeds to step S211. When warning is performed, in step S202, it is determined whether to set a preferred lifetime or a valid lifetime.

preferred lifetimeの場合、ステップS203で、preferred lifetimeの失効時設定が行われる。valid lifetimeの場合、ステップS204で、valid lifetimeの失効時設定が行われる。   In the case of the preferred lifetime, the preferred lifetime is set to expire in step S203. In the case of valid lifetime, the valid lifetime is set at the expiration in step S204.

次のステップS205で、失効前に警告を行なうかどうか判断される。警告を行う場合、ステップS206で有効が設定される。警告を行わない場合、ステップS207で無効が設定される。   In the next step S205, it is determined whether to issue a warning before expiration. If a warning is to be issued, validity is set in step S206. If no warning is given, invalidity is set in step S207.

ステップS208で、失効時に警告を行なうかどうか判断される。警告を行う場合、ステップS209で有効が設定される。警告を行わない場合、ステップS210で無効が設定される。   In step S208, it is determined whether or not to issue a warning at the time of expiration. When warning is performed, “valid” is set in step S209. If no warning is given, invalidity is set in step S210.

次のステップS211は、未登録のルータからのRA受信した場合に警告を行うかどうかの判断がされる。警告を行う場合、ステップS212で有効が設定される。警告を行わない場合、ステップS213で無効が設定される。   In the next step S211, it is determined whether or not to issue a warning when an RA is received from an unregistered router. If a warning is to be issued, validity is set in step S212. If no warning is given, invalidity is set in step S213.

次のステップS214は、アドレスが重複した場合に警告を行うかどうかの判断がされる。警告を行う場合、ステップS215から220で、いずれのアドレスに対する警告を行なうのかが設定され、ステップS221へ処理は進む。ステップS215から220に示されるアドレスは、IPv6における種々のアドレスである。警告を行わない場合、ステップS213で無効が設定され、ステップS221へ処理が進む。   In the next step S214, it is determined whether or not to issue a warning when addresses overlap. In the case of performing warning, it is set in which address to perform warning in steps S215 to 220, and the process proceeds to step S221. The addresses shown in steps S215 to 220 are various addresses in IPv6. If no warning is given, invalidity is set in step S213, and the process proceeds to step S221.

ステップS221で、デフォルトゲートウェイ変更時に警告を行なうかどうか判断される。警告を行う場合、ステップS222で有効が設定される。警告を行わない場合、ステップS223で無効が設定される。   In step S221, it is determined whether to issue a warning when the default gateway is changed. If a warning is to be issued, validity is set in step S222. If no warning is given, invalidity is set in step S223.

次のステップS224で、RAのライフタイム時間に対する警告出力についての設定が判断される。このRAのライフタイム時間に対する警告とは、ライフタイムが所定の時間より短いRAを受信した場合に発生する警告である。そして、その警告を出力する時間の長さを設定しない場合、ステップS225で上記所定の時間がデフォルト値とした設定が行われる。時間の長さを設定する場合、ステップS226では上記所定の時間がユーザにより設定される。   In the next step S224, a setting for warning output for the lifetime time of RA is determined. The warning about the lifetime time of RA is a warning generated when an RA having a lifetime shorter than a predetermined time is received. If the length of time for outputting the warning is not set, the predetermined time is set as a default value in step S225. When setting the length of time, the predetermined time is set by the user in step S226.

上述した処理において、ステートレスアドレスの有効期限の警告では、preferred lifetime, valid lifetimeの有効期限が切れる前、切れた時点にそれぞれ警告メッセージをユーザに通知するかどうかを選択する事ができる。これにより、ユーザは自分が使用しているステートレスアドレスが使用できなくなる時間を把握する事ができる。   In the above-described processing, in the warning of the expiration date of the stateless address, it is possible to select whether or not to notify the user of a warning message when the preferred lifetime and valid lifetime expire, respectively. As a result, the user can grasp the time during which the stateless address used by the user cannot be used.

また、未登録ルータからのRA受信が有効であれば、未登録ルータからのRAを受信した際にユーザに通知される。これにより、自分の所属しているネットワーク上にルータが追加された、またはルータになりすまして不正にRAを送っている機器が自分所属しているネットワーク上に存在している事を把握する事ができる。   If RA reception from an unregistered router is valid, the user is notified when an RA from an unregistered router is received. This makes it possible to grasp that a router has been added to the network to which the user belongs, or that a device impersonating the router and sending the RA illegally exists on the network to which the user belongs. it can.

デフォルトゲートウェイ変更時の動作について説明する。通信機器に設定されるデフォルトゲートウェイは一つのみであるが、IPv6ではデフォルトゲートウェイになりうるルータをデフォルトルータリストに保持している。現在設定されているデフォルトゲートウェイの到達性が確認できなくなった場合、OS内部で現在設定されているデフォルトゲートウェイをデフォルトルータリストの中から選び設定する。つまり、デフォルトゲートウェイが変更される事は、自ネットワークのルータやネットワーク構成に異常があったものと考えられる。上記状態がユーザに通知される事により、ユーザは自ネットワークの状態を把握する事ができる。   The operation when changing the default gateway will be described. Although there is only one default gateway set in the communication device, in IPv6, a router that can be the default gateway is held in the default router list. When the reachability of the currently set default gateway cannot be confirmed, the default gateway currently set in the OS is selected from the default router list and set. In other words, changing the default gateway is considered to be an abnormality in the router and network configuration of the own network. By notifying the user of the above state, the user can grasp the state of the own network.

RAのライフタイム時間による警告出力では、ルータから受信したRAの長さがある一定時間未満であれば、警告を表示するものである。これにより、なりすまし等により、ライフタイムの短いアドレスが生成される事を防ぐ事ができる。   In the warning output based on the RA lifetime time, a warning is displayed if the RA length received from the router is less than a certain time. Thereby, it is possible to prevent an address having a short lifetime from being generated due to impersonation or the like.

なお、図3、4で説明したフローチャートでの設定内容は、上記フローチャートに行われるユーザ設定保持段階でユーザ設定保持テーブル13に保持される。そして、ユーザ設定保持テーブル13に保持された内容に基づき、通信時の動作を判定する判定段階を経て、この判定段階の判定に基づき、通信時の動作の制御を行う設定制御段階が実行される。   3 and 4 is held in the user setting holding table 13 in the user setting holding stage performed in the flowchart. Based on the content held in the user setting holding table 13, a setting control step for controlling the operation at the time of communication is executed based on the determination at the time of the communication through the determination step for determining the operation at the time of communication. .

以上説明した警告などは、通信機器が有するオペレーションパネルに表示される。図5にオペレーションパネル表示例を示す。   The warnings described above are displayed on the operation panel of the communication device. FIG. 5 shows an operation panel display example.

表示例20は、preferred lifetimeの失効前警告表示画面である。preferred lifetimeが失効する日時とそのアドレスとが表示される。   Display example 20 is a warning display screen before expiration of preferred lifetime. The date and time when the preferred lifetime expires and its address are displayed.

表示例21は、preferred lifetimeの失効時警告表示画面である。preferred lifetimeが失効した日時とそのアドレスとが表示される。   The display example 21 is a warning display screen when a preferred lifetime expires. The date and time when the preferred lifetime expires and its address are displayed.

表示例22は、valid lifetimeの失効前警告表示画面である。valid lifetimeが失効する日時とそのアドレスとが表示される。   Display example 22 is a warning display screen before expiration of valid lifetime. The date and time when the valid lifetime expires and its address are displayed.

表示例23は、valid lifetimeの失効時警告表示画面である。valid lifetimeが失効した日時とそのアドレスとが表示される。   The display example 23 is a warning display screen when the valid lifetime expires. The date and time when the valid lifetime expires and its address are displayed.

表示例24は、アドレスの重複時警告表示画面である。重複したアドレスの種類(図ではステートレスアドレス)とアドレスが表示される。   Display example 24 is a warning display screen when addresses overlap. The duplicate address type (stateless address in the figure) and address are displayed.

表示例25は、デフォルトゲートウェイ変更時警告画面である。変更されたデフォルトゲートウェイのアドレスが表示される。   The display example 25 is a warning screen when changing the default gateway. The changed default gateway address is displayed.

表示例26は、RAのライフタイム時間警告表示画面である。ライフタイム時間と、RAを送信した機器のアドレスと、プレフィックスとが表示される。   Display example 26 is an RA lifetime time warning display screen. The lifetime time, the address of the device that transmitted the RA, and the prefix are displayed.

以上が表示例であるが、警告が一度に複数発生した場合、ユーザが設定した表示優先度(もしくは機器が推奨している表示優先度)によって、警告表示を変更する。   The above is a display example. When a plurality of warnings occur at once, the warning display is changed according to the display priority set by the user (or the display priority recommended by the device).

なお、一度に表示できなかった警告メッセージや過去の表示メッセージは機器内部に保持され、ユーザが参照したい時にいつでも参照する事が可能である。これにより、ユーザは自機器や自ネットワーク内で発生した異常状態を常に把握する事ができる。   Note that warning messages and past display messages that could not be displayed at one time are held inside the device, and can be referred to whenever the user wants to refer. Thereby, the user can always grasp the abnormal state that has occurred in the own device or the own network.

通信が行われるネットワーク機器が接続された構成を示す図である。It is a figure which shows the structure by which the network apparatus with which communication is performed was connected. ソフトウェアモジュール構成を示す図である。It is a figure which shows a software module structure. 設定に関する処理を示すフローチャートである。It is a flowchart which shows the process regarding a setting. 警告表示の設定処理を示すフローチャートである。It is a flowchart which shows the warning display setting process. 表示例を示す図である。It is a figure which shows the example of a display.

符号の説明Explanation of symbols

1、2 ルータ
3、4、5 通信機器
6 ネットワーク
10 アプリケーション
11 ネットワーク制御部
12 OS
13 ユーザ設定保持テーブル
14 ユーザオプション判定部
15 ネットワーク設定制御部
16 ネットワーク情報監視部
17 ネットワークプロトコル
18 ネットワーク通信ドライバ
20、21、22、23、24、25、26 表示例
1, 2 router 3, 4, 5 communication device 6 network 10 application 11 network control unit 12 OS
13 User setting holding table 14 User option determining unit 15 Network setting control unit 16 Network information monitoring unit 17 Network protocol 18 Network communication driver 20, 21, 22, 23, 24, 25, 26 Display example

Claims (25)

IPv6で通信を行なう通信機器において、
通信時の動作に関するユーザによる設定を保持するユーザ設定保持手段と、
前記ユーザ設定保持手段に保持された内容に基づき、通信時の動作を判定する判定手段と、
前記判定手段の判定に基づき、通信時の動作の制御を行う設定制御手段と
を有することを特徴とする通信機器。
In a communication device that communicates with IPv6,
User setting holding means for holding user settings relating to operations during communication;
Determination means for determining an operation during communication based on the contents held in the user setting holding means;
A communication device comprising: setting control means for controlling operation during communication based on the determination by the determination means.
前記設定は、ステートレスアドレスのライフタイム長であることを特徴とする請求項1に記載の通信機器。 The communication apparatus according to claim 1, wherein the setting is a lifetime length of a stateless address. 前記設定は、ルータ広告を送信するルータのIPアドレスであることを特徴とする請求項1または2に記載の通信機器。 The communication device according to claim 1, wherein the setting is an IP address of a router that transmits a router advertisement. 前記設定は、デフォルトゲートウェイのIPアドレスであることを特徴とする請求項1から3のいずれか1項に記載の通信機器。 The communication device according to any one of claims 1 to 3, wherein the setting is an IP address of a default gateway. 前記設定は、デフォルトゲートウェイになりうるルータのIPアドレスであることを特徴とする請求項1から4のいずれか1項に記載の通信機器。 The communication apparatus according to claim 1, wherein the setting is an IP address of a router that can be a default gateway. 前記設定は、前記設定制御手段が通信に関する警告をユーザに表示するかどうかの警告表示設定であることを特徴とする請求項1から5のいずれか1項に記載の通信機器。 6. The communication apparatus according to claim 1, wherein the setting is a warning display setting as to whether or not the setting control unit displays a warning regarding communication to a user. 前記警告表示設定は、IPアドレスが失効となることを警告する設定であることを特徴とする請求項6に記載の通信機器。 The communication device according to claim 6, wherein the warning display setting is a setting for warning that an IP address becomes invalid. 前記警告表示設定は、IPアドレスが失効となったことを警告する設定であることを特徴とする請求項6または7に記載の通信機器。 The communication device according to claim 6 or 7, wherein the warning display setting is a setting for warning that an IP address has expired. 前記警告表示設定は、ユーザにより登録されていないルータからのルータ広告を受信したことを警告する設定であることを特徴とする請求項6から8のいずれか1項に記載の通信機器。 The communication device according to any one of claims 6 to 8, wherein the warning display setting is a setting for warning that a router advertisement has been received from a router that is not registered by a user. 前記警告表示設定は、IPアドレスが重複したことを警告する設定であることを特徴とする請求項6から9のいずれか1項に記載の通信機器。 The communication device according to any one of claims 6 to 9, wherein the warning display setting is a setting for warning that an IP address is duplicated. 前記警告表示設定は、デフォルトゲートウェイが変更されたことを警告する設定であることを特徴とする請求項6から10のいずれか1項に記載の通信機器。 The communication device according to any one of claims 6 to 10, wherein the warning display setting is a setting for warning that a default gateway has been changed. 前記警告表示設定は、ルータ広告で提供されたライフタイム長が所定の値より短いことを警告する設定であることを特徴とする請求項6から11のいずれか1項に記載の通信機器。 The communication device according to any one of claims 6 to 11, wherein the warning display setting is a setting for warning that the lifetime length provided by the router advertisement is shorter than a predetermined value. IPv6で通信を行なう通信機器での通信方法であって、
通信時の動作に関するユーザによる設定が行なわれる設定段階と、
前記設定段階で設定された内容を保持するユーザ設定保持段階と、
前記ユーザ設定保持段階に保持された内容に基づき、通信時の動作を判定する判定段階と、
前記判定段階の判定に基づき、通信時の動作の制御を行う設定制御段階と
を有することを特徴とする通信方法。
A communication method in a communication device that performs communication using IPv6,
A setting stage in which the user performs settings related to the operation during communication;
A user setting holding step for holding the contents set in the setting step;
A determination step of determining an operation during communication based on the content held in the user setting holding step;
And a setting control step for controlling operation during communication based on the determination in the determination step.
前記設定は、ステートレスアドレスのライフタイム長であることを特徴とする請求項13に記載の通信方法。 The communication method according to claim 13, wherein the setting is a lifetime length of a stateless address. 前記設定は、ルータ広告を送信するルータのIPアドレスであることを特徴とする請求項13または14に記載の通信方法。 15. The communication method according to claim 13, wherein the setting is an IP address of a router that transmits a router advertisement. 前記設定は、デフォルトゲートウェイのIPアドレスであることを特徴とする請求項13から15のいずれか1項に記載の通信方法。 The communication method according to any one of claims 13 to 15, wherein the setting is an IP address of a default gateway. 前記設定は、デフォルトゲートウェイになりうるルータのIPアドレスであることを特徴とする請求項13から16のいずれか1項に記載の通信方法。 The communication method according to claim 13, wherein the setting is an IP address of a router that can be a default gateway. 前記設定は、前記設定制御段階が通信に関する警告をユーザに表示するかどうかの警告表示設定であることを特徴とする請求項13から17のいずれか1項に記載の通信方法。 The communication method according to any one of claims 13 to 17, wherein the setting is a warning display setting as to whether or not the setting control stage displays a warning regarding communication to a user. 前記警告表示設定は、IPアドレスが失効となることを警告する設定であることを特徴とする請求項18に記載の通信方法。 The communication method according to claim 18, wherein the warning display setting is a setting for warning that an IP address becomes invalid. 前記警告表示設定は、IPアドレスが失効となったことを警告する設定であることを特徴とする請求項18または19に記載の通信方法。 The communication method according to claim 18 or 19, wherein the warning display setting is a setting for warning that an IP address has expired. 前記警告表示設定は、ユーザにより登録されていないルータからのルータ広告を受信したことを警告する設定であることを特徴とする請求項18から20のいずれか1項に記載の通信方法。 21. The communication method according to claim 18, wherein the warning display setting is a setting for warning that a router advertisement has been received from a router not registered by a user. 前記警告表示設定は、IPアドレスが重複したことを警告する設定であることを特徴とする請求項18から21のいずれか1項に記載の通信方法。 The communication method according to any one of claims 18 to 21, wherein the warning display setting is a setting for warning that an IP address is duplicated. 前記警告表示設定は、デフォルトゲートウェイが変更されたことを警告する設定であることを特徴とする請求項18から22のいずれか1項に記載の通信方法。 23. The communication method according to claim 18, wherein the warning display setting is a setting for warning that a default gateway has been changed. 前記警告表示設定は、ルータ広告で提供されたライフタイム長が所定の値より短いことを警告する設定であることを特徴とする請求項18から23のいずれか1項に記載の通信方法。 The communication method according to any one of claims 18 to 23, wherein the warning display setting is a setting for warning that the lifetime length provided by the router advertisement is shorter than a predetermined value. 請求項13から24のいずれか1項に記載の通信方法をコンピュータで実行させるための通信プログラム。 A communication program for causing a computer to execute the communication method according to any one of claims 13 to 24.
JP2005238752A 2005-08-19 2005-08-19 Communication device, communication method, communication program Expired - Fee Related JP4796353B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005238752A JP4796353B2 (en) 2005-08-19 2005-08-19 Communication device, communication method, communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005238752A JP4796353B2 (en) 2005-08-19 2005-08-19 Communication device, communication method, communication program

Publications (2)

Publication Number Publication Date
JP2007053681A true JP2007053681A (en) 2007-03-01
JP4796353B2 JP4796353B2 (en) 2011-10-19

Family

ID=37917808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005238752A Expired - Fee Related JP4796353B2 (en) 2005-08-19 2005-08-19 Communication device, communication method, communication program

Country Status (1)

Country Link
JP (1) JP4796353B2 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0730564A (en) * 1993-07-12 1995-01-31 Hitachi Ltd Network system and method and device for detecting duplicate protocol address of network system
JPH11112514A (en) * 1997-10-06 1999-04-23 Toshiba Corp Network address monitor
JP2001197125A (en) * 2000-01-13 2001-07-19 Nec Shizuoka Ltd Web page reading system
JP2002094558A (en) * 2000-09-14 2002-03-29 Toshiba Corp Packet transfer method, mobile terminal and router device
JP2003218954A (en) * 2001-11-09 2003-07-31 Docomo Communications Laboratories Usa Inc Secure network access method
JP2004241831A (en) * 2003-02-03 2004-08-26 Rbec Corp Network management system
JP2004364109A (en) * 2003-06-06 2004-12-24 Canon Inc Temporary address communication apparatus, program, recording medium and method
JP2005027123A (en) * 2003-07-03 2005-01-27 Toyota Motor Corp Home agent device and home agent selection method for mobile terminal communication
JP2005064570A (en) * 2003-08-12 2005-03-10 Hitachi Ltd Network system and internetwork apparatus
JP2005080242A (en) * 2003-09-03 2005-03-24 Nippon Telegr & Teleph Corp <Ntt> Method of providing ip interface information, providing apparatus thereof, providing program thereof and access authenticating apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0730564A (en) * 1993-07-12 1995-01-31 Hitachi Ltd Network system and method and device for detecting duplicate protocol address of network system
JPH11112514A (en) * 1997-10-06 1999-04-23 Toshiba Corp Network address monitor
JP2001197125A (en) * 2000-01-13 2001-07-19 Nec Shizuoka Ltd Web page reading system
JP2002094558A (en) * 2000-09-14 2002-03-29 Toshiba Corp Packet transfer method, mobile terminal and router device
JP2003218954A (en) * 2001-11-09 2003-07-31 Docomo Communications Laboratories Usa Inc Secure network access method
JP2004241831A (en) * 2003-02-03 2004-08-26 Rbec Corp Network management system
JP2004364109A (en) * 2003-06-06 2004-12-24 Canon Inc Temporary address communication apparatus, program, recording medium and method
JP2005027123A (en) * 2003-07-03 2005-01-27 Toyota Motor Corp Home agent device and home agent selection method for mobile terminal communication
JP2005064570A (en) * 2003-08-12 2005-03-10 Hitachi Ltd Network system and internetwork apparatus
JP2005080242A (en) * 2003-09-03 2005-03-24 Nippon Telegr & Teleph Corp <Ntt> Method of providing ip interface information, providing apparatus thereof, providing program thereof and access authenticating apparatus

Also Published As

Publication number Publication date
JP4796353B2 (en) 2011-10-19

Similar Documents

Publication Publication Date Title
JP5312308B2 (en) Information processing apparatus and control method having a plurality of communication interfaces
EP3637697A1 (en) Method for determining path computation element and communications device
JP6253751B1 (en) Printing apparatus and printing apparatus control method
JP4251646B2 (en) Bridge device, bridge device control method, and control program
JP4796353B2 (en) Communication device, communication method, communication program
JP2007281801A (en) Information processor, control method of computer, and program
CN106789662B (en) Route announcement method and device
JP2007104396A (en) Unjust connection preventing system, method, and program
JP2003264556A (en) Device and program for setting address
JP2008236317A (en) Automatic setting system, basic system network device, connection terminal, automatic setting method and program
JP5831314B2 (en) Communication relay device, communication relay system, communication relay device control method, and communication relay program
CN109429041B (en) Image capturing apparatus, client apparatus, method, and storage medium
JP2006211698A (en) Ip address setting apparatus, ip address setting method, and network system
JP2011044923A (en) Method for automatically setting transmission range of multicast packet
JP2005286681A (en) Relay equipment
JP2006211347A (en) Radio communication system
JP4643476B2 (en) Network equipment
JP5057077B2 (en) Router device, communication system, and unauthorized route confirmation method used therefor
JP5413940B2 (en) Thin client network, thin client, unauthorized connection prevention device, operation method thereof, and recording medium
JP2006246161A (en) Communication controller
JP2006141008A (en) Access multiplexer system for performing stateless auto-configuration process
JP6530645B2 (en) Client device, server device and control method thereof, communication system
JP2012039416A (en) Information processing device, and search method and search program with the same
CN116076059A (en) Electronic equipment
JP2005291772A (en) Electronic equipment and its control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100604

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101012

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101206

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110308

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110608

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20110615

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110729

R150 Certificate of patent or registration of utility model

Ref document number: 4796353

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees