CN103999494A - Wireless network system, wireless communication device and program of wireless communication device - Google Patents
Wireless network system, wireless communication device and program of wireless communication device Download PDFInfo
- Publication number
- CN103999494A CN103999494A CN201280061411.0A CN201280061411A CN103999494A CN 103999494 A CN103999494 A CN 103999494A CN 201280061411 A CN201280061411 A CN 201280061411A CN 103999494 A CN103999494 A CN 103999494A
- Authority
- CN
- China
- Prior art keywords
- mentioned
- mac address
- router
- wireless
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/52—Multiprotocol routers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
一种包括边缘路由器(11)和无线终端(12)的无线网络系统(10),接收从IPv6的默认路由器发送的路由器通告包,获取路由器通告包所包含的发送源MAC地址并且获取与IPv4的默认路由器的IPv4地址对应的MAC地址,将第一MAC地址与第二MAC地址进行比较,基于对IPv6的默认路由器与IPv4的默认路由器是否相同进行判断所得的结果,来进行边缘路由器(11)的设定。
A wireless network system (10) comprising an edge router (11) and a wireless terminal (12), receives a router advertisement packet sent from a default router of IPv6, obtains the sending source MAC address contained in the router advertisement packet and obtains the IP address corresponding to IPv4 The MAC address corresponding to the IPv4 address of the default router, the first MAC address is compared with the second MAC address, based on the result of judging whether the default router of IPv6 is the same as the default router of IPv4, the edge router (11) is carried out set up.
Description
技术领域technical field
本发明涉及一种包括无线母机和无线子机的无线网络系统、无线通信装置以及无线通信装置的程序。The invention relates to a wireless network system including a wireless main machine and a wireless slave machine, a wireless communication device and a program of the wireless communication device.
背景技术Background technique
已知作为6LoWPAN(IPv6over Low-Power Wireless Personal AreaNetworks:基于IPv6的低功耗无线个域网)的标准的下述非专利文献。6LoWPAN使得能够在IEEE802.15.4上利用IPv6。The following non-patent documents are known as the standard of 6LoWPAN (IPv6over Low-Power Wireless Personal Area Networks: IPv6-based low-power wireless personal area network). 6LoWPAN enables the utilization of IPv6 over IEEE802.15.4.
在上述的6LoWPAN中,提供了外部的服务器等与无线子机之间的多个无线通信方式。在将由安装了6LoWPAN的无线终端子机和无线母机组成的无线网络连接到家庭内网络时,与无线通信方式相应地进行无线母机的设定对用户来说是困难的。In the above-mentioned 6LoWPAN, a plurality of wireless communication methods between external servers and wireless slave devices are provided. When connecting a wireless network composed of a 6LoWPAN-installed wireless terminal sub-unit and a wireless main unit to a home network, it is difficult for the user to set the wireless main unit according to the wireless communication method.
因此,本发明是鉴于上述的实际情况而提出的,其目的在于削减用于无线网络连接的各种设定工时。Therefore, the present invention has been made in view of the above-mentioned actual situation, and an object of the present invention is to reduce various setting man-hours for wireless network connection.
非专利文献1:RFC4944“Transmission of IPv6Packets over IEEE802.15.4Networks(6LoWPAN)”(“基于IEEE802.15.4网络的IPv6包的传输(6LoWPAN)”)Non-Patent Document 1: RFC4944 "Transmission of IPv6 Packets over IEEE802.15.4Networks (6LoWPAN)" ("Transmission of IPv6 Packets over IEEE802.15.4 Networks (6LoWPAN)")
发明内容Contents of the invention
本发明的第一方式所涉及的无线网络系统包括无线母机和无线子机,该无线网络系统的特征在于,具有:第一MAC地址获取单元,其接收从IPv6的默认路由器发送的路由器通告包,获取路由器通告包所包含的发送源MAC地址;第二MAC地址获取单元,其获取与IPv4的默认路由器(Default Router)的IPv4地址对应的MAC地址;判断单元,其将由上述第一MAC地址获取单元获取到的第一MAC地址与由上述第二MAC地址获取单元获取到的第二MAC地址进行比较,判断上述IPv6的默认路由器与上述IPv4的默认路由器是否相同;以及设定单元,其基于上述判断单元的结果来进行上述无线母机的设定。The wireless network system according to the first aspect of the present invention includes a wireless master device and a wireless slave device, and the wireless network system is characterized in that it includes: a first MAC address acquisition unit that receives a Router Advertisement packet transmitted from an IPv6 default router, Obtain the sending source MAC address that router advertisement packet comprises; The second MAC address acquisition unit, it obtains the MAC address corresponding to the IPv4 address of the default router (Default Router) of IPv4; Judgment unit, it will be by above-mentioned first MAC address acquisition unit The obtained first MAC address is compared with the second MAC address obtained by the above-mentioned second MAC address obtaining unit, and it is judged whether the above-mentioned IPv6 default router is the same as the above-mentioned IPv4 default router; and a setting unit, based on the above-mentioned judgment The result of the unit is used to perform the settings of the above-mentioned wireless master unit.
相对于上述第一方式的无线网络系统,本发明的第二方式所涉及的无线网络系统的特征在于,在上述判断单元根据由上述第一MAC地址获取单元获取到的第一MAC地址与由上述第二MAC地址获取单元获取到的第二MAC地址相一致而判断为上述IPv6的默认路由器与上述IPv4的默认路由器相同的情况下,上述设定单元使上述无线母机以如下方式进行动作:对能够与该无线母机无线连接的无线子机进行通信设定来对上述无线子机所发送接收的包进行中继。With respect to the wireless network system of the above-mentioned first aspect, the wireless network system according to the second aspect of the present invention is characterized in that, in the determination unit, based on the first MAC address acquired by the first MAC address acquisition unit and the first MAC address obtained by the above-mentioned When the second MAC address acquired by the second MAC address acquisition unit matches the second MAC address and it is determined that the IPv6 default router is the same as the IPv4 default router, the setting unit makes the wireless master machine operate as follows: The wireless slave unit wirelessly connected to the wireless master unit performs communication settings to relay packets transmitted and received by the wireless slave unit.
相对于上述第一方式的无线网络系统,本发明的第三方式所涉及的无线网络系统的特征在于,在上述判断单元根据由上述第一MAC地址获取单元获取到的第一MAC地址与由上述第二MAC地址获取单元获取到的第二MAC地址不一致而判断为上述IPv6的默认路由器与上述IPv4的默认路由器不同的情况下,上述设定单元使上述无线母机以如下方式进行动作:不进行能够与该无线母机无线连接的无线子机的通信设定而对上述无线子机所发送接收的包进行中继。With respect to the wireless network system of the above-mentioned first aspect, the wireless network system according to the third aspect of the present invention is characterized in that, in the determination unit, based on the first MAC address acquired by the first MAC address acquisition unit and the first MAC address obtained by the above-mentioned When the second MAC address obtained by the second MAC address acquisition unit is inconsistent and it is determined that the IPv6 default router is different from the IPv4 default router, the setting unit makes the wireless master machine operate in the following manner: The communication setting of the wireless slave unit wirelessly connected to the wireless master unit relays packets transmitted and received by the wireless slave unit.
相对于上述第一方式的无线网络系统,本发明的第四方式所涉及的无线网络系统的特征在于,在上述判断单元判断为在发送了路由器请求包之后未接收到路由器通告包而仅有IPv4的连接性的情况下,上述设定单元使上述无线母机作为路由器进行动作,与IPv6overIPv4隧道路由器之间构成隧道。With respect to the wireless network system of the above-mentioned first aspect, the wireless network system according to the fourth aspect of the present invention is characterized in that, after the judging unit judges that no router advertisement packet is received after the router solicitation packet is transmitted, only IPv4 In the case of connectivity, the setting unit operates the wireless main machine as a router to form a tunnel with the IPv6overIPv4 tunnel router.
相对于上述第三方式的无线网络系统,本发明的第五方式所涉及的无线网络系统的特征在于,上述设定单元对上述无线母机进行设定,使其切断从上级网络向上述无线子机发送的ICMPv6包,代理上述无线子机对上述ICMPv6包的发送源进行应答。With respect to the wireless network system of the above-mentioned third aspect, the wireless network system according to the fifth aspect of the present invention is characterized in that the setting unit sets the wireless master device to cut off the communication from the upper network to the wireless slave device. For the sent ICMPv6 packet, the above-mentioned wireless sub-machine responds to the sending source of the above-mentioned ICMPv6 packet.
相对于上述第二方式的无线网络系统,本发明的第六方式所涉及的无线网络系统的特征在于,上述设定单元将对所接收到的路由器通告包的网络前缀进行变更所得的值设定为包括上述无线母机的无线网络的网络前缀。With respect to the wireless network system of the second aspect, the wireless network system according to the sixth aspect of the present invention is characterized in that the setting unit sets a value obtained by changing the network prefix of the received router advertisement packet. It is the network prefix of the wireless network including the above wireless master.
本发明的第七方式所涉及的无线通信装置与无线子机之间进行无线通信,该无线通信装置的特征在于,具有:第一MAC地址获取单元,其接收从IPv6的默认路由器发送的路由器通告包,获取路由器通告包所包含的发送源MAC地址;第二MAC地址获取单元,其获取与IPv4的默认路由器的IPv4地址对应的MAC地址;判断单元,其将由上述第一MAC地址获取单元获取到的第一MAC地址与由上述第二MAC地址获取单元获取到的第二MAC地址进行比较,判断上述IPv6的默认路由器与上述IPv4的默认路由器是否相同;以及设定单元,其基于上述判断单元的结果来进行自身的通信设定。A wireless communication device according to a seventh aspect of the present invention performs wireless communication with a wireless slave, and the wireless communication device includes a first MAC address acquisition unit that receives a router advertisement transmitted from an IPv6 default router. package, to obtain the sending source MAC address contained in the router advertisement packet; the second MAC address obtaining unit, which obtains the MAC address corresponding to the IPv4 address of the default router of IPv4; the judging unit, which will be obtained by the above-mentioned first MAC address obtaining unit The first MAC address of the first MAC address is compared with the second MAC address obtained by the second MAC address obtaining unit to determine whether the default router of the above-mentioned IPv6 is the same as the default router of the above-mentioned IPv4; and the setting unit, which is based on the above-mentioned judging unit As a result, make your own communication settings.
本发明的第八方式所涉及的无线通信装置的程序是与无线子机之间进行无线通信的无线通信装置的程序,该程序用于使上述无线通信装置的计算机作为以下单元发挥功能:第一MAC地址获取单元,其接收从IPv6的默认路由器发送的路由器通告包,获取路由器通告包所包含的发送源MAC地址;第二MAC地址获取单元,其获取与IPv4的默认路由器的IPv4地址对应的MAC地址;判断单元,其将由上述第一MAC地址获取单元获取到的第一MAC地址与由上述第二MAC地址获取单元获取到的第二MAC地址进行比较,判断上述IPv6的默认路由器与上述IPv4的默认路由器是否相同;以及设定单元,其基于上述判断单元的结果来进行自身的通信设定。A program for a wireless communication device according to an eighth aspect of the present invention is a program for a wireless communication device that performs wireless communication with a wireless slave device, and the program is for causing a computer of the wireless communication device to function as the following means: the first A MAC address obtaining unit, which receives the router advertisement packet sent from the default router of IPv6, obtains the sending source MAC address contained in the router advertisement packet; the second MAC address obtaining unit, which obtains the MAC corresponding to the IPv4 address of the default router of IPv4 address; a judging unit, which compares the first MAC address obtained by the first MAC address obtaining unit with the second MAC address obtained by the second MAC address obtaining unit, and judges the default router of the above-mentioned IPv6 and the above-mentioned IPv4 whether the default routers are the same; and a setting unit, which performs its own communication setting based on the result of the judging unit.
附图说明Description of drawings
图1是表示包括作为本发明的实施方式而示出的无线网络系统的系统结构的概要图。FIG. 1 is a schematic diagram showing a system configuration including a wireless network system shown as an embodiment of the present invention.
图2是表示IPv6地址的内容的图,(a)表示基本结构,(b)表示全局单播地址的格式,(c)表示子网络前缀的内容。Fig. 2 is a diagram showing the contents of an IPv6 address, (a) showing the basic structure, (b) showing the format of the global unicast address, and (c) showing the contents of the subnet prefix.
图3是说明作为本发明的实施方式而示出的无线网络系统中应用的前缀委派方式的概要图。FIG. 3 is a schematic diagram illustrating a prefix delegation method applied to a wireless network system shown as an embodiment of the present invention.
图4是说明作为本发明的实施方式而示出的无线网络系统中应用的其它前缀委派方式的概要图。FIG. 4 is a schematic diagram illustrating another prefix delegation method applied to the wireless network system shown as an embodiment of the present invention.
图5是说明从ISP边缘路由器委派的前缀的路径的概要图。FIG. 5 is a schematic diagram illustrating a route of a prefix delegated from an ISP edge router.
图6是说明从ISP边缘路由器委派的前缀的其它路径的概要图。Figure 6 is a schematic diagram illustrating alternative paths for prefixes delegated from an ISP edge router.
图7是表示在作为本发明的实施方式而示出的无线网络系统中边缘路由器作为路由器进行动作的情况下的系统结构的概要图。7 is a schematic diagram showing a system configuration when an edge router operates as a router in the wireless network system shown as an embodiment of the present invention.
图8是在作为本发明的实施方式而示出的无线网络系统中边缘路由器作为路由器进行动作的情况下的时序图。8 is a sequence diagram when an edge router operates as a router in the wireless network system shown as the embodiment of the present invention.
图9是表示在作为本发明的实施方式而示出的无线网络系统中边缘路由器作为桥进行动作的情况下的系统结构的概要图。9 is a schematic diagram showing a system configuration when an edge router operates as a bridge in the wireless network system shown as an embodiment of the present invention.
图10是在作为本发明的实施方式而示出的无线网络系统中边缘路由器作为桥进行动作的情况下的时序图。FIG. 10 is a sequence diagram when an edge router operates as a bridge in the wireless network system shown as the embodiment of the present invention.
图11是表示在作为本发明的实施方式而示出的无线网络系统中设定IPv6overIPv4隧道的系统结构的概要图。FIG. 11 is a schematic diagram showing a system configuration for setting up an IPv6overIPv4 tunnel in a wireless network system shown as an embodiment of the present invention.
图12是在作为本发明的实施方式而示出的无线网络系统中设定IPv6overIPv4隧道来进行动作时的时序图。Fig. 12 is a sequence diagram when an IPv6overIPv4 tunnel is set and operated in the wireless network system shown as the embodiment of the present invention.
具体实施方式Detailed ways
下面,参照附图来说明本发明的实施方式。Embodiments of the present invention will be described below with reference to the drawings.
作为本发明的实施方式而示出的无线网络系统10例如构成为如图1所示的结构。A wireless network system 10 shown as an embodiment of the present invention is configured, for example, as shown in FIG. 1 .
该无线网络系统10例如将6LoWPAN用作基础技术。无线网络系统10包括作为无线母机(无线通信装置)的边缘路由器11以及作为无线子机的无线终端12。在无线网络系统10中,边缘路由器11与一个或多个无线终端12之间进行无线通信。This wireless network system 10 uses, for example, 6LoWPAN as a basic technology. The wireless network system 10 includes an edge router 11 as a wireless master (wireless communication device) and a wireless terminal 12 as a wireless slave. In the wireless network system 10 , wireless communication is performed between an edge router 11 and one or more wireless terminals 12 .
无线网络系统10包含于用户宅内网络1中。用户宅内网络1包括无线网络系统10和家庭内BB(broadband:宽带)路由器2。家庭内BB路由器2是在家庭等中以光纤线路等高速线路与因特网连接时使用的路由器。家庭内BB路由器2例如具有以太网(注册商标)端口作为WAN(Wide Area Network:广域网)侧的端口。另外,家庭内BB路由器2在LAN(Local Area Network:局域网)(家庭内)侧具有以太网(Ethernet,注册商标)端口、串行端口等。在该无线网络系统10中,家庭内BB路由器2与边缘路由器11经由以太网(注册商标)线路、串行线路来进行信息的授受。The wireless network system 10 is included in the user's home network 1 . A user's home network 1 includes a wireless network system 10 and a home BB (broadband: broadband) router 2 . The home BB router 2 is a router used when connecting to the Internet in a home or the like through a high-speed line such as an optical fiber line. The home BB router 2 has, for example, an Ethernet (registered trademark) port as a port on the WAN (Wide Area Network: Wide Area Network) side. In addition, the in-home BB router 2 has an Ethernet (registered trademark) port, a serial port, and the like on the LAN (Local Area Network: local area network) (in-home) side. In this wireless network system 10, the home BB router 2 and the edge router 11 exchange information via an Ethernet (registered trademark) line or a serial line.
家庭内BB路由器2与作为WAN的IP网络NW相连接。IP网络NW中包括成为无线终端12的通信对象的设备。在本实施方式中,无线终端12的通信对象包括PC4和ISP(Internet Services Provider:互联网服务提供商)服务器6。PC4经由路由器3与IP网络NW相连接。ISP服务器6经由ISP边缘路由器5与IP网络NW相连接。The BB router 2 in the home is connected to the IP network NW which is a WAN. Devices to be communicated with by the wireless terminal 12 are included in the IP network NW. In this embodiment, the communication partners of the wireless terminal 12 include PC4 and ISP (Internet Services Provider: Internet Service Provider) server 6. PC4 is connected to IP network NW via router 3 . The ISP server 6 is connected to the IP network NW via the ISP edge router 5 .
无线网络系统10通常使作为无线母机的边缘路由器11作为IPv6(InternetProtocol Version6:互联网协议第六版)的路由器进行动作。作为无线子机的无线终端12发送路由器请求(RS,Router Solicitation)包。边缘路由器11针对RS包发送路由器通告(RA,Router Advertisement)包。无线终端12当接收到RA包时,生成128位长的IPv6全局单播地址。无线终端12将RA包所包含的IPv6的网络前缀(network prefix)与将自身的MAC(Media Access Control:介质访问控制)地址扩展为EUI-64形式所得的地址进行组合。由此,无线终端12生成128位长的IPv6全局单播地址。无线终端12将所生成的IPv6全局单播地址设定为自身的无线网络接口。该IPv6全局单播地址例如像图2的(a)所示那样,包含作为IPv6的网络前缀的子网络前缀(n位)和接口标识符。另外,如图2的(b),子网络前缀包含全局路由前缀和子网络标识符。子网络标识符是用于与其它无线网络系统10区分的码。并且,如图2的(c)所示那样定义全局路由前缀。此外,图2的(a)、(b)参照了http://www.nic.ad.jp/ja/newsletter/No32/090.html。图2的(c)参照了http://itpro.nikkeibp.co.jp/article/COLUMN/20070925/282722/。The wireless network system 10 normally operates the edge router 11 as a wireless master device as an IPv6 (Internet Protocol Version 6: Internet Protocol Version 6) router. The wireless terminal 12 as a wireless slave sends a router solicitation (RS, Router Solicitation) packet. The edge router 11 sends a Router Advertisement (RA, Router Advertisement) packet for the RS packet. When the wireless terminal 12 receives the RA packet, it generates a 128-bit long IPv6 global unicast address. The wireless terminal 12 combines the IPv6 network prefix (network prefix) included in the RA packet with the address obtained by extending its own MAC (Media Access Control: Media Access Control) address into the EUI-64 format. Thus, the wireless terminal 12 generates a 128-bit long IPv6 global unicast address. The wireless terminal 12 sets the generated IPv6 global unicast address as its own wireless network interface. This IPv6 global unicast address includes, for example, a subnetwork prefix (n bits) which is an IPv6 network prefix and an interface identifier as shown in (a) of FIG. 2 . In addition, as shown in (b) of FIG. 2 , the subnetwork prefix includes a global routing prefix and a subnetwork identifier. The subnet identifier is a code for distinguishing from other wireless network systems 10 . And, a global routing prefix is defined as shown in (c) of FIG. 2 . In addition, (a) and (b) of FIG. 2 refer to http://www.nic.ad.jp/ja/newsletter/No32/090.html. (c) of FIG. 2 refers to http://itpro.nikkeibp.co.jp/article/COLUMN/20070925/282722/.
在无线网络系统10中,由能够与边缘路由器11进行通信的所有无线终端12来进行与RA包相应的IPv6全局单播地址的设定。一般来说,在同一链路内分发64位的前缀作为RA包。因此,无线网络系统10被定义为具有64位长的网络地址的网络。In the wireless network system 10 , all the wireless terminals 12 capable of communicating with the edge router 11 perform setting of the IPv6 global unicast address corresponding to the RA packet. Generally, a 64-bit prefix is distributed within the same link as RA packets. Therefore, the wireless network system 10 is defined as a network having a 64-bit long network address.
在这种无线网络系统10中,在无线终端12要对PC4、ISP服务器6发送数据的情况下,无线终端12发送包含该数据的通信包。该通信包由边缘路由器11接收。边缘路由器11参照通信包的目的地地址,判断为是向IP网络NW的通信包,发送到家庭内BB路由器2。由此,无线终端12所生成的包经由家庭内BB路由器2、IP网络NW被发送到PC4、ISP服务器6。另一方面,从PC4、ISP服务器6向无线终端12发送的通信包经由家庭内BB路由器2被发送到边缘路由器11。边缘路由器11参照所接收到的通信包的目的地地址,判断为是发往作为自己的无线子机的无线终端12的通信包,并进行无线发送。由此,无线终端12能够接收从PC4、ISP服务器6发送的通信包。In such a wireless network system 10, when the wireless terminal 12 intends to transmit data to the PC 4 or the ISP server 6, the wireless terminal 12 transmits a communication packet including the data. This communication packet is received by the edge router 11 . The edge router 11 refers to the destination address of the communication packet, determines that it is a communication packet destined for the IP network NW, and sends it to the in-home BB router 2 . Thereby, the packet generated by the wireless terminal 12 is transmitted to the PC 4 and the ISP server 6 via the home BB router 2 and the IP network NW. On the other hand, the communication packets sent from the PC 4 and the ISP server 6 to the wireless terminal 12 are sent to the edge router 11 via the in-home BB router 2 . The edge router 11 refers to the destination address of the received communication packet, determines that it is a communication packet addressed to the wireless terminal 12 as its own wireless slave, and wirelessly transmits it. Thus, the wireless terminal 12 can receive the communication packets transmitted from the PC 4 and the ISP server 6 .
在主要的IPv6的网络服务中,用户宅内网络1内的无线终端12的前缀委派方式例如为图3或图4那样。在这些前缀委派方式中,从ISP边缘路由器5使用DHCPv6(Dynamic Host Configuration Protocol version6:动态主机配置协议第六版)的PD(Prefix Delegation:前缀代理)选项(DHCPv6-PD)。In the main IPv6 network service, the prefix delegation method of the wireless terminal 12 in the user's home network 1 is, for example, as shown in FIG. 3 or FIG. 4 . In these prefix delegation methods, the PD (Prefix Delegation: prefix proxy) option (DHCPv6-PD) of DHCPv6 (Dynamic Host Configuration Protocol version 6: Dynamic Host Configuration Protocol version 6) is used from the ISP edge router 5 .
在图3的前缀委派方式中,对家庭内BB路由器(以下还称为BBR)2委派48位~56位的前缀。并且,家庭内BB路由器2通过DHCP、PPPoE分配IPv4地址,作为家庭内LAN与WAN之间的NAT路由器进行动作。由此,家庭内BB路由器2作为包含用户宅内网络1中的IPv6默认路由器和IPv4默认路由器这双方的功能的IPv6路由器2A而发挥功能。IPv6路由器2A使得能够构建多个作为子网络的无线网络系统10。例如,对图3的电视12a、个人计算机12b发送RA包。此时,家庭内BB路由器2A使图2的(b)、(c)中示出的子网络标识符(ID)为不同的值。由此,IPv6的网络前缀成为不同的值,电视12a与个人计算机12b从属于不同的子网络。另外,家庭内BB路由器2A还能够向图1中示出的边缘路由器11发送RA包,来使其构建作为子网络的无线网络系统10。In the prefix delegation method in FIG. 3 , a prefix of 48 to 56 bits is delegated to the home BB router (hereinafter also referred to as BBR) 2 . And, the home BB router 2 assigns an IPv4 address by DHCP or PPPoE, and operates as a NAT router between the home LAN and WAN. Thereby, the home BB router 2 functions as the IPv6 router 2A including the functions of both the IPv6 default router and the IPv4 default router in the user's home network 1 . The IPv6 router 2A enables construction of a plurality of wireless network systems 10 as subnets. For example, RA packets are transmitted to the television 12a and the personal computer 12b in FIG. 3 . At this time, the home BB router 2A sets the subnet identifiers (ID) shown in (b) and (c) of FIG. 2 to different values. Thereby, the IPv6 network prefix becomes a different value, and the television 12a and the personal computer 12b belong to different subnets. In addition, the in-home BB router 2A can also transmit RA packets to the edge router 11 shown in FIG. 1 to make it construct the wireless network system 10 as a sub-network.
在图4的前缀委派方式是中,从ISP边缘路由器5直接对作为用户宅内网络1的设备的电视12a、个人计算机12b发送RA包。该RA包中包含IPv6的网络前缀(64位)。由此,由ISP边缘路由器5直接对电视12a、个人计算机12b分配IPv6全局单播地址。此外,在该前缀委派方式中,家庭内BB路由器2不是用户宅内网络1中的IPv6的默认路由器,但是其会作为包含IPv4的默认路由器的功能的IPv6桥2B而发挥功能。In the prefix delegation method shown in FIG. 4 , an RA packet is directly sent from the ISP edge router 5 to the television 12 a and the personal computer 12 b which are devices in the user's home network 1 . The RA packet includes an IPv6 network prefix (64 bits). Thus, the ISP edge router 5 directly assigns IPv6 global unicast addresses to the television 12a and the personal computer 12b. In addition, in this prefix delegation method, the home BB router 2 is not an IPv6 default router in the user's home network 1, but functions as an IPv6 bridge 2B including the function of an IPv4 default router.
在以图3中示出的前缀委派方式将使用6LoWPAN的无线网络系统10连接于用户宅内网络1的情况下,无线网络系统10如图5所示那样被配置于IPv6路由器2A的属下。在此,无线网络系统10的网络地址需要选择从ISP边缘路由器5委派的前缀中的不与IPv6路由器2A属下的其它子网络的网络地址重复的前缀。因此,边缘路由器11需要作为设定无线网络系统10的网络前缀、并对无线终端12设定IPv6全局单播地址的路由器而发挥功能。即,边缘路由器11使作为自身的边缘路由器11以如下方式进行动作:对能够与该边缘路由器11无线连接的无线终端12进行通信设定。该通信设定是对无线终端12的地址设定处理、中继时的MAC地址的改写处理等。边缘路由器11对进行了通信设定的无线终端12所发送接收的包进行中继。When the wireless network system 10 using 6LoWPAN is connected to the user's home network 1 by the prefix delegation method shown in FIG. 3 , the wireless network system 10 is placed under the IPv6 router 2A as shown in FIG. 5 . Here, the network address of the wireless network system 10 needs to select a prefix that does not overlap with the network addresses of other subnetworks under the IPv6 router 2A among the prefixes delegated from the ISP edge router 5 . Therefore, the edge router 11 needs to function as a router that sets the network prefix of the wireless network system 10 and sets an IPv6 global unicast address for the wireless terminal 12 . That is, the edge router 11 causes its own edge router 11 to operate so as to perform communication settings for the wireless terminal 12 that can be wirelessly connected to the edge router 11 . This communication setting is address setting processing for the wireless terminal 12, rewriting processing of the MAC address at the time of relaying, and the like. The edge router 11 relays packets transmitted and received by the wireless terminals 12 for which communication settings have been made.
在以图4中示出的前缀委派方式将无线网络系统10连接于用户宅内网络1的情况下,无线网络系统10如图6所示那样经由IPv6桥2B与ISP边缘路由器5连接。无线网络系统10经由IPv6桥2B接收从ISP边缘路由器5发送的RA包。该RA包通过组播被发送到边缘路由器11。如图6所示,一般来说RA包的网络前缀为64位长,以家庭内的子网络只有无线网络系统10为前提。因此,作为无线母机的边缘路由器11需要与家庭内BB路由器2同样地针对IPv6包作为桥而发挥功能。即,边缘路由器11使作为自身的边缘路由器11以如下方式进行动作:不对能够与该边缘路由器11无线连接的无线终端12进行通信设定而对无线终端12所发送接收的包进行中继。When the wireless network system 10 is connected to the user's home network 1 by the prefix delegation method shown in FIG. 4 , the wireless network system 10 is connected to the ISP edge router 5 via the IPv6 bridge 2B as shown in FIG. 6 . The wireless network system 10 receives the RA packet transmitted from the ISP edge router 5 via the IPv6 bridge 2B. This RA packet is sent to the edge router 11 by multicast. As shown in FIG. 6 , generally speaking, the network prefix of the RA packet is 64 bits long, and it is assumed that only the wireless network system 10 exists in the sub-network in the home. Therefore, the edge router 11 as a wireless master needs to function as a bridge for IPv6 packets similarly to the in-home BB router 2 . That is, the edge router 11 operates its own edge router 11 to relay packets transmitted and received by the wireless terminal 12 without setting up communication with the wireless terminal 12 wirelessly connectable to the edge router 11 .
即使存在这种前缀委派方式的不同,本实施方式的无线网络系统10也自动地进行边缘路由器11的设定,来对无线终端12设定IPv6全局单播地址。因此,无线网络系统10检测前缀委派方式,根据所检测出的该前缀委派方式来自动进行边缘路由器11的各种设定。下面说明该动作。Even if there is such a difference in the prefix delegation method, the wireless network system 10 according to the present embodiment automatically configures the edge router 11 to configure an IPv6 global unicast address for the wireless terminal 12 . Therefore, the wireless network system 10 detects the prefix delegation method, and automatically performs various settings of the edge router 11 according to the detected prefix delegation method. This operation will be described below.
首先,说明如图5所示那样从ISP边缘路由器5对家庭内BB路由器2委派前缀的前缀委派方式中的边缘路由器11的设定动作。参照图7和图8来说明该边缘路由器11的设定动作。First, the setting operation of the edge router 11 in the prefix delegation method in which the ISP edge router 5 delegates a prefix to the home BB router 2 as shown in FIG. 5 will be described. The setting operation of the edge router 11 will be described with reference to FIG. 7 and FIG. 8 .
如图7所示,家庭内BB路由器2作为IPv6路由器2A而发挥功能。在图8中,IPv6路由器2A记载为BBR。另外,设ISP边缘路由器5中包括DHCPv6服务器5a。As shown in FIG. 7 , the home BB router 2 functions as an IPv6 router 2A. In FIG. 8, the IPv6 router 2A is described as BBR. In addition, it is assumed that the ISP edge router 5 includes a DHCPv6 server 5a.
首先,如图8所示,ISP边缘路由器5与家庭内BB路由器2使用PPPoE(PPPover Ethernet:基于以太网的点对点协议(注册商标))来进行用户认证,建立通信链路的会话。First, as shown in FIG. 8, the ISP edge router 5 and the home BB router 2 use PPPoE (PPPover Ethernet: Ethernet-based Point-to-Point Protocol (registered trademark)) to perform user authentication and establish a communication link session.
在建立了该基于PPPoE的通信链路之后,家庭内BB路由器2转移到基于DHCPv6-PD的前缀委派的阶段。首先,家庭内BB路由器2对于PPP链路向以所有DHCP服务器为目的地的组播地址发送Solicit(请求)消息S1。After establishing this PPPoE-based communication link, the in-home BB router 2 moves to the stage of DHCPv6-PD-based prefix delegation. First, the in-home BB router 2 transmits a Solicit (request) message S1 to a multicast address destined for all DHCP servers for the PPP link.
DHCPv6服务器5a当接收到Solicit消息S1时,发送Advertise(通告)消息S2。由此,DHCPv6服务器5a向家庭内BB路由器2通知能够利用DHCP服务。When receiving the Solicit message S1, the DHCPv6 server 5a sends an Advertise message S2. Thus, the DHCPv6 server 5 a notifies the home BB router 2 that the DHCP service can be used.
接着,家庭内BB路由器2为了请求被委派的前缀,向DHCPv6服务器5a发送指定了PD选项的Request(请求)消息S3。DHCPv6服务器5a根据接收到Request消息S3,来对家庭内BB路由器2分配IPv6的网络前缀。此时,DHCPv6服务器5a对家庭内BB路由器2的用户静态地分配预先决定的前缀。或者,DHCPv6服务器5a动态地分配在接收到Request消息S3的时间点能够利用的前缀。该IPv6的网络前缀S4被DHCPv6服务器5a发送到家庭内BB路由器2。Next, the in-home BB router 2 transmits a Request (request) message S3 specifying a PD option to the DHCPv6 server 5a in order to request the delegated prefix. The DHCPv6 server 5a assigns the IPv6 network prefix to the BB router 2 in the home according to the received Request message S3. At this time, the DHCPv6 server 5 a statically assigns a predetermined prefix to the user of the home BB router 2 . Alternatively, the DHCPv6 server 5a dynamically allocates a prefix that can be used when the Request message S3 is received. This IPv6 network prefix S4 is sent to the in-home BB router 2 by the DHCPv6 server 5a.
在本例中,如图7所示,对家庭内BB路由器2的用户宅内网络1分配了2001:db8:100::/48。家庭内BB路由器2从2001:db8:100::/48中将2001:db8:100:1::/64作为用户宅内网络1来通告RA包。另外,家庭内BB路由器2分配2001:db8:100:1::1作为自身的用户宅内网络1侧的接口。In this example, as shown in FIG. 7 , 2001:db8:100::/48 is assigned to the user's home network 1 of the home BB router 2 . The BB router 2 in the home uses 2001:db8:100:1::/64 from 2001:db8:100::/48 as the user's home network 1 to advertise the RA packet. In addition, the BB router 2 in the home assigns 2001:db8:100:1::1 as the interface on the user's home network 1 side.
边缘路由器11当被连接到用户宅内网络1时,通过以所有路由器为对象的组播来发送RS包S5。对此,作为IPv6的默认路由器的家庭内BB路由器2发送包含2001:db8:100:1::/64这样的IPv6的网络前缀的RA包S6。该RA包S6被边缘路由器11所接收。边缘路由器11获取RA包S6所包含的发送源MAC地址作为第一MAC地址(第一MAC地址获取单元)。When the edge router 11 is connected to the user's home network 1, it transmits the RS packet S5 by multicast to all routers. In response, the home BB router 2 that is the IPv6 default router transmits an RA packet S6 including an IPv6 network prefix of 2001:db8:100:1::/64. The RA packet S6 is received by the edge router 11 . The edge router 11 acquires the source MAC address included in the RA packet S6 as the first MAC address (first MAC address acquisition means).
接着,家庭内BB路由器2使用DHCP来获取自身的IPv4地址和默认路由器的地址。首先,边缘路由器11发送DHCP的Discovery(发现)消息S7。与此相应地,边缘路由器11从作为默认路由器的家庭内BB路由器2接收DHCP的Offer(提供)消息S8。接着,边缘路由器11发送DHCP的Request消息S9。与此相应地,边缘路由器11能够从家庭内BB路由器2接收DHCP的Ack(应答)消息S10。在本实施例中,默认路由器是家庭内BB路由器2,边缘路由器11获取DHCP的Ack消息S10的发送源MAC地址作为第二MAC地址。由此,边缘路由器11能够获取与IPv4的默认路由器的IPv4地址对应的MAC地址(第二MAC地址获取单元)。Next, the BB router 2 in the home uses DHCP to obtain its own IPv4 address and the address of the default router. First, the edge router 11 sends a DHCP Discovery (discovery) message S7. Accordingly, the edge router 11 receives a DHCP Offer message S8 from the in-home BB router 2 serving as the default router. Next, the edge router 11 sends a DHCP Request message S9. Accordingly, the edge router 11 can receive the DHCP Ack (response) message S10 from the in-home BB router 2 . In this embodiment, the default router is the home BB router 2, and the edge router 11 obtains the source MAC address of the DHCP Ack message S10 as the second MAC address. Thereby, the edge router 11 can acquire the MAC address corresponding to the IPv4 address of the IPv4 default router (second MAC address acquisition means).
接着,边缘路由器11将从RA包S6获取到的第一MAC地址与从Ack消息S10获取到的第二MAC地址进行比较。根据第一MAC地址与第二MAC地址是否一致,边缘路由器11判断IPv6的默认路由器与IPv4的默认路由器是否相同(判断单元)。边缘路由器11根据其判断结果来自动设定自身应该作为IPv6路由器2A发挥功能、还是应该作为IPv6桥2B发挥功能(设定单元)。Next, the edge router 11 compares the first MAC address obtained from the RA packet S6 with the second MAC address obtained from the Ack message S10. According to whether the first MAC address is consistent with the second MAC address, the edge router 11 judges whether the IPv6 default router is the same as the IPv4 default router (judging unit). The edge router 11 automatically sets whether it should function as the IPv6 router 2A or should function as the IPv6 bridge 2B based on the judgment result (setting means).
由此,边缘路由器11能够简单地检测针对位于无线网络系统10的上级的用户宅内网络1的前缀委派方式。能够根据该前缀委派方式来如下那样利用于边缘路由器11的设定。Thus, the edge router 11 can easily detect the prefix delegation method for the user's home network 1 located at the upper level of the wireless network system 10 . This prefix delegation method can be used in the setting of the edge router 11 as follows.
第一MAC地址是RA包S6所包含的家庭内BB路由器2的MAC地址,第二MAC地址是Ack消息S10所包含的家庭内BB路由器2的MAC地址。因而,第一MAC地址与第二MAC地址相同,边缘路由器11能够判断为IPv6的默认路由器与IPv4的默认路由器相同。边缘路由器11判断为是以下的设定:从ISP边缘路由器5通过DHCP-PD对家庭内BB路由器2委派了前缀。由此,边缘路由器11使自身作为IPv6路由器2A进行动作。为此,边缘路由器11进行通信包的传输设定、将家庭内BB路由器2作为默认路由器的设定。The first MAC address is the MAC address of the home BB router 2 included in the RA packet S6, and the second MAC address is the MAC address of the home BB router 2 included in the Ack message S10. Therefore, the first MAC address is the same as the second MAC address, and the edge router 11 can determine that the IPv6 default router is the same as the IPv4 default router. The edge router 11 determines that the ISP edge router 5 has delegated a prefix to the in-home BB router 2 through DHCP-PD. As a result, the edge router 11 operates itself as the IPv6 router 2A. For this purpose, the edge router 11 performs setting of transfer of communication packets and setting of the in-home BB router 2 as a default router.
由此,边缘路由器11能够基于所判断出的前缀委派方式,将边缘路由器11自身的设定自动设定为路由器。Thereby, the edge router 11 can automatically set the setting of the edge router 11 itself as a router based on the determined prefix delegation method.
另外,期望的是,边缘路由器11将对从家庭内BB路由器2接收到的RA包S6的网络前缀进行变更所得的值设定为包括自身的无线网络系统10的网络前缀。边缘路由器11例如将使RA包S6的网络前缀增加1所得的值设定为无线网络系统10的网络前缀。具体地说,边缘路由器11对用户宅内网络1的前缀2001:db8:100:1::/64加1,来将2001:db8:100:2::/64设定为无线网络系统10的前缀。边缘路由器11将包含该2001:db8:100:2::/64的RA包发送到无线网络系统10的无线终端12。另外,边缘路由器11如图7那样将2001:db8:100:2::/64分配为无线网络系统10侧的接口。In addition, it is desirable that the edge router 11 sets a value obtained by changing the network prefix of the RA packet S6 received from the in-home BB router 2 as the network prefix of the wireless network system 10 including itself. The edge router 11 sets, for example, a value obtained by incrementing the network prefix of the RA packet S6 by 1 as the network prefix of the wireless network system 10 . Specifically, the edge router 11 adds 1 to the prefix 2001:db8:100:1::/64 of the user's home network 1 to set 2001:db8:100:2::/64 as the prefix of the wireless network system 10 . The edge router 11 sends the RA packet including the 2001:db8:100:2::/64 to the wireless terminal 12 of the wireless network system 10 . In addition, the edge router 11 assigns 2001:db8:100:2::/64 as an interface on the wireless network system 10 side as shown in FIG. 7 .
无线终端12设定包含2001:db8:100:2::/64作为IPv6的网络前缀的IPv6全局单播地址。该2001:db8:100:2::/64的无线网络系统10包含于委派给家庭内BB路由器2的IPv6的网络前缀(2001:db8:100::/48)的范围内。因此,无线终端12能够经由边缘路由器11和家庭内BB路由器2而与家庭外的IP网络NW进行通信。这样,边缘路由器11能够从边缘路由器11的上级网络的网络前缀自动地分配无线网络系统10的前缀。The wireless terminal 12 sets an IPv6 global unicast address including 2001:db8:100:2::/64 as an IPv6 network prefix. This 2001:db8:100:2::/64 wireless network system 10 is included in the range of the IPv6 network prefix (2001:db8:100::/48) assigned to the in-home BB router 2 . Therefore, the wireless terminal 12 can communicate with the IP network NW outside the home via the edge router 11 and the in-home BB router 2 . In this way, the edge router 11 can automatically assign the prefix of the wireless network system 10 from the network prefix of the upper network of the edge router 11 .
接着,说明如图6所示那样从ISP边缘路由器5对用户宅内网络1中的各设备委派前缀的前缀委派方式中的边缘路由器11的设定动作。参照图9和图10来说明该边缘路由器11的设定动作。Next, the setting operation of the edge router 11 in the prefix delegation method in which the ISP edge router 5 delegates a prefix to each device in the user's home network 1 as shown in FIG. 6 will be described. The setting operation of the edge router 11 will be described with reference to FIGS. 9 and 10 .
如图9所示,家庭内BB路由器2作为IPv6路由器2A而发挥功能。在图8中,IPv6路由器2A记载为BBR。另外,设ISP边缘路由器5中包括DHCPv6服务器5a。As shown in FIG. 9 , the home BB router 2 functions as an IPv6 router 2A. In FIG. 8, the IPv6 router 2A is described as BBR. In addition, it is assumed that the ISP edge router 5 includes a DHCPv6 server 5a.
首先,如图8所示,ISP边缘路由器5与家庭内BB路由器2使用PPPoE(PPPover Ethernet(注册商标))来进行用户认证,建立通信链路的会话。在该前缀委派方式中,家庭内BB路由器2作为仅中继IPv6包的桥进行动作。First, as shown in FIG. 8, the ISP edge router 5 and the home BB router 2 use PPPoE (PPPover Ethernet (registered trademark)) to perform user authentication and establish a communication link session. In this prefix delegation method, the in-home BB router 2 operates as a bridge that relays only IPv6 packets.
在建立了该基于PPPoE的通信链路之后,从用户宅内网络1发送的RS包被作为IPv6桥2B的家庭内BB路由器2发送到ISP边缘路由器5。与此相应地,ISP边缘路由器5将RA包发送到用户宅内网络1。After this PPPoE-based communication link is established, the RS packet transmitted from the user's in-house network 1 is transmitted to the ISP edge router 5 by the in-home BB router 2 serving as the IPv6 bridge 2B. Correspondingly, the ISP edge router 5 sends the RA packet to the user's home network 1 .
电视12a、个人计算机12b直接接收从ISP边缘路由器5发送的RA包。该RA包中包含作为IPv6的网络前缀的2001:db8:100:1::/64。边缘路由器11将所接收到的IPv6的网络前缀与将自身的MAC地址扩展为EUI-64形式所得的地址进行组合,来设定IPv6地址。The television 12a and the personal computer 12b directly receive the RA packet transmitted from the ISP edge router 5 . The RA packet contains 2001:db8:100:1::/64 as the IPv6 network prefix. The edge router 11 sets an IPv6 address by combining the received IPv6 network prefix and an address obtained by extending its own MAC address into the EUI-64 format.
同样地,边缘路由器11当被连接到用户宅内网络1时,通过以所有路由器为对象的组播来发送RS包S21。该RS包S21从作为IPv6的默认路由器的ISP边缘路由器5接收包含2001:db8:100:1::/64这样的前缀信息的RA包。边缘路由器11获取RA包S22所包含的发送源地址作为第一MAC地址(第一MAC地址获取单元)。Similarly, when the edge router 11 is connected to the user's in-house network 1, it transmits the RS packet S21 by multicast to all routers. This RS packet S21 receives an RA packet including prefix information of 2001:db8:100:1::/64 from the ISP edge router 5 which is the IPv6 default router. The edge router 11 acquires the source address contained in the RA packet S22 as the first MAC address (first MAC address acquisition means).
接着,家庭内BB路由器2使用DHCP来获取自身的IPv4地址和默认路由器的地址。首先,边缘路由器11发送DHCP的Discovery消息S23。与此相应地,边缘路由器11从作为默认路由器的家庭内BB路由器2接收DHCP的Offer消息S24。接着,边缘路由器11发送DHCP的Request消息S25。与此相应地,边缘路由器11能够从家庭内BB路由器2接收DHCP的Ack消息S26。在本实施例中,默认路由器是家庭内BB路由器2,边缘路由器11获取DHCP的Ack消息S26的发送源MAC地址作为第二MAC地址。由此,边缘路由器11能够获取与IPv4的默认路由器的IPv4地址对应的MAC地址(第二MAC地址获取单元)。Next, the BB router 2 in the home uses DHCP to obtain its own IPv4 address and the address of the default router. First, the edge router 11 sends a DHCP Discovery message S23. Correspondingly, the edge router 11 receives a DHCP Offer message S24 from the in-home BB router 2 as the default router. Next, the edge router 11 sends a DHCP Request message S25. Accordingly, the edge router 11 can receive the DHCP Ack message S26 from the in-home BB router 2 . In this embodiment, the default router is the home BB router 2, and the edge router 11 acquires the source MAC address of the DHCP Ack message S26 as the second MAC address. Thereby, the edge router 11 can acquire the MAC address corresponding to the IPv4 address of the IPv4 default router (second MAC address acquisition means).
接着,边缘路由器11将从RA包S22获取到的第一MAC地址与从Ack消息S26获取到的第二MAC地址进行比较。由此,边缘路由器11判断IPv6的默认路由器与IPv4的默认路由器是否相同(判断单元)。边缘路由器11根据其判断结果来自动设定自身应该作为IPv6路由器2A发挥功能、还是应该作为IPv6桥2B发挥功能(设定单元)。Next, the edge router 11 compares the first MAC address obtained from the RA packet S22 with the second MAC address obtained from the Ack message S26. Thus, the edge router 11 judges whether or not the IPv6 default router is the same as the IPv4 default router (judgment means). The edge router 11 automatically sets whether it should function as the IPv6 router 2A or should function as the IPv6 bridge 2B based on the judgment result (setting means).
由此,边缘路由器11能够简单地检测针对位于无线网络系统10的上级的用户宅内网络1的前缀委派方式。能够根据该前缀委派方式来如下那样利用于边缘路由器11的设定。Thus, the edge router 11 can easily detect the prefix delegation method for the user's home network 1 located at the upper level of the wireless network system 10 . This prefix delegation method can be used in the setting of the edge router 11 as follows.
第一MAC地址是RA包S22所包含的ISP边缘路由器5的MAC地址,第二MAC地址是Ack消息S26所包含的家庭内BB路由器2的MAC地址。因而,边缘路由器11中第一MAC地址与第二MAC地址不同,边缘路由器11能够判断为IPv6的默认路由器与IPv4的默认路由器不同。边缘路由器11判断为是以下设定:通过来自ISP边缘路由器5的RA包,对无线终端12等直接委派了前缀。由此,边缘路由器11使自身作为IPv6桥2B进行动作。为此,边缘路由器11设定成在有线侧与无线侧的接口之间对所有包进行透明传输。由此,边缘路由器11能够基于所判断出的前缀委派方式,将边缘路由器11自身的设定自动设定为桥。The first MAC address is the MAC address of the ISP edge router 5 included in the RA packet S22, and the second MAC address is the MAC address of the in-home BB router 2 included in the Ack message S26. Therefore, the first MAC address and the second MAC address in the edge router 11 are different, and the edge router 11 can determine that the default router for IPv6 is different from the default router for IPv4. The edge router 11 judges that the setting is that the prefix is directly delegated to the wireless terminal 12 and the like through the RA packet from the ISP edge router 5 . As a result, the edge router 11 operates itself as the IPv6 bridge 2B. For this reason, the edge router 11 is set to transparently transmit all packets between the interfaces on the wired side and the wireless side. Thereby, the edge router 11 can automatically set the setting of the edge router 11 itself as a bridge based on the determined prefix delegation method.
由此,如图9所示,在无线网络系统10中,分发与电视12a等同样的IPv6的网络前缀。As a result, as shown in FIG. 9 , in the wireless network system 10 , the same IPv6 network prefix as that of the television 12 a and the like is distributed.
并且,期望的是,边缘路由器11如图10那样将从上级网络向无线终端12发送的ICMPv6(Internet Control Message Protocol Version6:互联网控制信息协议第六版)包S31切断,代理无线终端12对ICMPv6包S31的发送源进行应答。作为该ICMPv6包S31,可以列举出从因特网等IP网络NW发往无线终端12的ECHO Request(回应请求)、Neighbor Solicitation(邻居请求)这样的包。在边缘路由器11接收到这种IPv6包S31的情况下,边缘路由器11代替无线终端12进行应答,将ICMPv6包S32返送到发送源。由此,边缘路由器11减少了无线网络系统10中的包量。由此,实现了无线终端12的消耗电力量的降低,能够期待无线终端12的电池寿命的增加。And, it is expected that the edge router 11 cuts off the ICMPv6 (Internet Control Message Protocol Version 6: Internet Control Message Protocol sixth edition) packet S31 sent from the upper-level network to the wireless terminal 12 as shown in FIG. The source of S31 responds. Examples of the ICMPv6 packet S31 include packets such as ECHO Request (Echo Request) and Neighbor Solicitation (Neighbor Solicitation) sent from an IP network NW such as the Internet to the wireless terminal 12. When the edge router 11 receives such an IPv6 packet S31, the edge router 11 responds instead of the wireless terminal 12, and returns the ICMPv6 packet S32 to the source. Thus, the edge router 11 reduces the amount of packets in the wireless network system 10 . As a result, the power consumption of the wireless terminal 12 can be reduced, and the battery life of the wireless terminal 12 can be expected to increase.
并且,在上述的实施方式中,在不存在IPv6的连接性的情况下,期望的是,如图11所示,在边缘路由器11与IPv6overIPv4(IPv6穿越IPv4)隧道路由器21之间构建IPv6overIPv4隧道来进行通信。And, in above-mentioned embodiment, under the situation that does not have the connectivity of IPv6, it is desirable that, as shown in Figure 11, construct IPv6overIPv4 tunnel between edge router 11 and IPv6overIPv4 (IPv6 traverses IPv4) tunnel router 21 to communicate.
设该边缘路由器11如图12所示那样将RS包S41发送到用户宅内网络1之后在预先设定的规定时间内没有应答而超时。在这种情况下,边缘路由器11判断为用户宅内网络1中的连接性仅为IPv4。与此相应地,边缘路由器11与IPv6overIPv4隧道路由器21之间建立IPv6overIPv4隧道的链路。Assume that the edge router 11 does not respond within a preset predetermined time after transmitting the RS packet S41 to the user's home network 1 as shown in FIG. 12 , and times out. In this case, the edge router 11 judges that the connectivity in the user's home network 1 is only IPv4. Correspondingly, an IPv6overIPv4 tunnel link is established between the edge router 11 and the IPv6overIPv4 tunnel router 21 .
在建立了该IPv6overIPv4隧道的链路之后,边缘路由器11再次发送RS包S42,接收作为对该RS包S41的应答的RA包S43。由此,边缘路由器11能够如图8、图10中说明的那样,通过接收RA包来获取第一MAC地址,通过DHCP来获取第二MAC地址。由此,边缘路由器11能够通过比较地址来判断前缀委派方式,从而设定自身是作为路由器进行动作、还是作为桥进行动作。After establishing the link of the IPv6overIPv4 tunnel, the edge router 11 sends the RS packet S42 again, and receives the RA packet S43 as a response to the RS packet S41. Thereby, the edge router 11 can obtain the first MAC address by receiving the RA packet, and obtain the second MAC address by DHCP, as described in FIGS. 8 and 10 . Thereby, the edge router 11 can determine the prefix delegation method by comparing the addresses, and thereby set itself to operate as a router or as a bridge.
这样,即使是仅具有IPv4的连接性的用户宅内网络1,边缘路由器11也能够基于地址比较的结果来自动地与ISP服务器6之间构成IPv6overIPv4隧道,从而进行通信。In this way, even in the user's home network 1 with only IPv4 connectivity, the edge router 11 can automatically form an IPv6overIPv4 tunnel with the ISP server 6 based on the result of address comparison to perform communication.
此外,上述的实施方式是本发明的一例。因此,本发明并不限定于上述的实施方式,即使是该实施方式以外的实施方式,只要是不脱离本发明所涉及的技术思想的范围,就能够根据设计等进行各种变更,这是理所当然的。In addition, the above-mentioned embodiment is an example of this invention. Therefore, the present invention is not limited to the above-mentioned embodiments, and it is a matter of course that various changes can be made in accordance with the design and the like as long as the embodiments do not deviate from the scope of the technical concept of the present invention. of.
即,上述的边缘路由器11的设定也可以由边缘路由器11内的程序来执行。例如,也可以通过由边缘路由器11内的计算机执行程序,来进行第一MAC地址、第二MAC地址的获取、基于地址比较的家庭内BB路由器2的判断、边缘路由器11的设定。That is, the above-mentioned setting of the edge router 11 may be executed by a program in the edge router 11 . For example, acquisition of the first MAC address and second MAC address, determination of the home BB router 2 based on address comparison, and setting of the edge router 11 may be performed by a computer in the edge router 11 executing a program.
另外,第一MAC地址、第二MAC地址的获取、基于地址比较的家庭内BB路由器2的判断、边缘路由器11的设定也可以由边缘路由器11以外的其它装置来进行。例如,也可以在用户宅内网络1内设置能够与边缘路由器11和家庭内BB路由器2进行通信的设定装置,来通过该设定装置自动地进行边缘路由器11的设定。In addition, acquisition of the first MAC address and the second MAC address, determination of the home BB router 2 based on address comparison, and setting of the edge router 11 may be performed by other devices than the edge router 11 . For example, a setting device capable of communicating with the edge router 11 and the home BB router 2 may be installed in the user's home network 1, and the setting of the edge router 11 may be automatically performed by the setting device.
在此引用日本特愿2011-275293号(申请日:2011年12月16日)的全部内容。The entire contents of Japanese Patent Application No. 2011-275293 (filing date: December 16, 2011 ) are incorporated herein.
产业上的可利用性Industrial availability
根据本发明,基于将IPv6的默认路由器的MAC地址与IPv4的默认路由器的MAC地址进行比较所得的结果来进行无线母机的设定,因此能够削减用于网络连接的各种设定工时。According to the present invention, since the wireless master device is set based on the result of comparing the MAC address of the IPv6 default router with the MAC address of the IPv4 default router, various setting man-hours for network connection can be reduced.
附图标记说明Explanation of reference signs
10:无线网络系统;11:边缘路由器(无线母机、第一MAC地址获取单元、第二MAC地址获取单元、判断单元、设定单元);12:无线终端(无线子机)。10: wireless network system; 11: edge router (wireless main machine, first MAC address acquisition unit, second MAC address acquisition unit, judgment unit, setting unit); 12: wireless terminal (wireless slave machine).
Claims (8)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011-275293 | 2011-12-16 | ||
JP2011275293A JP5857222B2 (en) | 2011-12-16 | 2011-12-16 | Wireless network system, wireless communication device, and program for wireless communication device |
PCT/JP2012/008019 WO2013088740A1 (en) | 2011-12-16 | 2012-12-14 | Wireless network system, wireless communication device, and program for wireless communication device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103999494A true CN103999494A (en) | 2014-08-20 |
Family
ID=48612211
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201280061411.0A Pending CN103999494A (en) | 2011-12-16 | 2012-12-14 | Wireless network system, wireless communication device and program of wireless communication device |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP5857222B2 (en) |
CN (1) | CN103999494A (en) |
WO (1) | WO2013088740A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5907239B2 (en) | 2014-01-31 | 2016-04-26 | 株式会社バッファロー | Network relay device, method for setting operation mode of packet relay processing unit included in network relay device, and computer program |
JP5967173B2 (en) | 2014-01-31 | 2016-08-10 | 株式会社バッファロー | Network relay device, method for setting operation mode of packet relay processing unit included in network relay device, and computer program |
JP6233433B2 (en) * | 2014-01-31 | 2017-11-22 | 株式会社バッファロー | Network relay device, method for setting operation mode of packet relay processing unit included in network relay device, and computer program |
CN106537844B (en) | 2014-06-12 | 2019-12-10 | 康维达无线有限责任公司 | Context aware neighbor discovery |
CN107707685B (en) * | 2017-09-25 | 2019-11-22 | 清华大学 | A wireless router access control method |
CN114073061A (en) * | 2019-07-05 | 2022-02-18 | 三菱电机株式会社 | Relays and Network Systems |
JP6990745B2 (en) * | 2020-06-10 | 2022-01-12 | エレコム株式会社 | IPv6 CE router with built-in interface setting program, interface setting method, and interface setting program for IPv6 CE router |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101053223A (en) * | 2004-10-29 | 2007-10-10 | 松下电器产业株式会社 | Method and label switch router for providing mobility to a mobile host in a mobile network employing multi-protocol label switching |
CN101374097A (en) * | 2007-08-23 | 2009-02-25 | 上海贝尔阿尔卡特股份有限公司 | Method and apparatus for controlling mobile node and heterogeneous network communication of communication network |
JP2011014964A (en) * | 2009-06-30 | 2011-01-20 | Fujitsu Ltd | Switch device, and method of controlling switch |
JP2011019001A (en) * | 2009-07-07 | 2011-01-27 | Nippon Telegr & Teleph Corp <Ntt> | Device, method, and program for visualizing fault position in ip network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5414492B2 (en) * | 2009-12-03 | 2014-02-12 | キヤノン株式会社 | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM |
-
2011
- 2011-12-16 JP JP2011275293A patent/JP5857222B2/en active Active
-
2012
- 2012-12-14 CN CN201280061411.0A patent/CN103999494A/en active Pending
- 2012-12-14 WO PCT/JP2012/008019 patent/WO2013088740A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101053223A (en) * | 2004-10-29 | 2007-10-10 | 松下电器产业株式会社 | Method and label switch router for providing mobility to a mobile host in a mobile network employing multi-protocol label switching |
CN101374097A (en) * | 2007-08-23 | 2009-02-25 | 上海贝尔阿尔卡特股份有限公司 | Method and apparatus for controlling mobile node and heterogeneous network communication of communication network |
JP2011014964A (en) * | 2009-06-30 | 2011-01-20 | Fujitsu Ltd | Switch device, and method of controlling switch |
JP2011019001A (en) * | 2009-07-07 | 2011-01-27 | Nippon Telegr & Teleph Corp <Ntt> | Device, method, and program for visualizing fault position in ip network |
Also Published As
Publication number | Publication date |
---|---|
JP5857222B2 (en) | 2016-02-10 |
JP2013126209A (en) | 2013-06-24 |
WO2013088740A1 (en) | 2013-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3427443B1 (en) | Building technology device communication system with iot-network devices | |
Nieminen et al. | IPv6 over BLUETOOTH (R) low energy | |
EP2708001B1 (en) | Label switched routing to connect low power network domains | |
Savolainen et al. | IPv6 addressing strategies for IoT | |
US7706374B2 (en) | Method for assigning IP address to terminal device and communication system | |
US9258699B2 (en) | Method for route transmission based on single IPv6 address prefix, and wireless device | |
EP2321936B1 (en) | Apparatus and method for dynamic host configuration protocol version 6 extensions for configuring hosts with multiple interfaces | |
JP5857222B2 (en) | Wireless network system, wireless communication device, and program for wireless communication device | |
JP4063024B2 (en) | Mobility management method using distributed MobileIP | |
US7764691B2 (en) | Allowing IPv4 clients to communicate using teredo addresses when both clients are behind a NAT | |
US20150319008A1 (en) | Managing multiple virtual area network memberships | |
WO2014010183A1 (en) | Gateway device, network system, and communication method | |
US8576814B2 (en) | Access point used in wireless LAN system | |
Nieminen et al. | RFC 7668: IPv6 over BLUETOOTH (R) Low Energy | |
US8140710B2 (en) | Home link setting method, home gateway device, and mobile terminal | |
US8923311B2 (en) | Communication system and method | |
CN101753419B (en) | Method for transmitting and forwarding data, equipment, and multiple-address space mobile network | |
JP3808471B2 (en) | Network and router apparatus and address notification method used therefor | |
Li et al. | A designing of mobility management mechanism in manet in disaster-rescue situations | |
WO2006043503A1 (en) | Communication system for mobile body | |
WO2013076995A1 (en) | Network system and security device | |
Akınlar | Multi-Link Support for IPv6 Networks | |
Templin et al. | MANET autoconfiguration | |
JP4879212B2 (en) | Mobile terminal, control device, and packet communication system | |
KR20100042513A (en) | Method of requesting manet prefix in mobile adhoc network system employing multi-link subnet model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20160113 Address after: Osaka Japan Applicant after: PANASONIC INTELLECTUAL PROPERTY MANAGEMENT Co.,Ltd. Address before: Osaka Japan Applicant before: Matsushita Electric Industrial Co.,Ltd. |
|
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140820 |