WO2017163651A1 - Communication device and address setting method therefor - Google Patents

Communication device and address setting method therefor Download PDF

Info

Publication number
WO2017163651A1
WO2017163651A1 PCT/JP2017/004792 JP2017004792W WO2017163651A1 WO 2017163651 A1 WO2017163651 A1 WO 2017163651A1 JP 2017004792 W JP2017004792 W JP 2017004792W WO 2017163651 A1 WO2017163651 A1 WO 2017163651A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
bridge
global
unique local
ipv6
Prior art date
Application number
PCT/JP2017/004792
Other languages
French (fr)
Japanese (ja)
Inventor
西村 知恒
Original Assignee
日本電気株式会社
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 日本電気株式会社 filed Critical 日本電気株式会社
Publication of WO2017163651A1 publication Critical patent/WO2017163651A1/en

Links

Images

Definitions

  • the present invention relates to a communication device and an address setting method thereof, and more particularly, to a communication device for setting an address of Internet Protocol Version 6 (IPv6) and an address setting method thereof.
  • IPv6 Internet Protocol Version 6
  • IPv6 Internet Protocol Version 6
  • Patent Documents 1 and 2 disclose general techniques related to IPv6.
  • IPv6 global address setting work is complicated.
  • the network address (subnet prefix) of the global address may not be determined when the communication device is installed. This is because the network engineer has to go to the installation location again in order to set the address in the communication device.
  • the present invention has been made to solve such problems, and an object of the present invention is to provide a communication device and an address setting method for facilitating the setting operation of the communication device.
  • the communication device is: When an IPv6 global address is not set in the bridge, an IPv6 unique local address is generated, and an address setting unit configured to set the generated unique local address as the global address in the bridge is provided.
  • the communication device address setting method includes: When an IPv6 global address is not set in the bridge, a unique local address of IPv6 is generated, The generated unique local address is set in the bridge as the global address.
  • FIG. 1 is a block diagram showing a configuration of a communication device 10 according to the first exemplary embodiment of the present invention.
  • the communication device 10 is a device that performs wired or wireless communication based on IPv6.
  • the communication device 10 includes an address setting unit 11 and a bridge 12.
  • the bridge 12 associates an interface between the network layer (L3) and the data link layer (L2).
  • L3 network layer
  • L2 data link layer
  • the address setting unit 11 generates an IPv6 unique local address 13 when an IPv6 global address is not set in the bridge 12, and sets the generated unique local address 13 as a global address in the bridge 12.
  • a link local address is an address that is valid only on the same link.
  • the global address is a unique address based on a network address (prefix, global identifier) assigned in advance to a router or the like.
  • the unique local address 13 has a part of the global identifier as a random value and is an address that can be freely assigned locally.
  • FIG. 2 is a flowchart showing the flow of the address setting process according to the first embodiment of the present invention.
  • the address setting unit 11 determines whether an IPv6 global address is set in the bridge 12 (S11). When it is determined that the global address is not set in the bridge 12, the address setting unit 11 generates the IPv6 unique local address 13 (S12). Then, the address setting unit 11 sets the generated unique local address 13 as a global address in the bridge 12 (S13).
  • FIG. 3 is a block diagram showing an overall configuration of the communication system 1000 according to the second embodiment of the present invention.
  • the communication system 1000 is a system for performing communication using IPv4 and IPv6. In particular, the communication system 1000 performs management such as monitoring of subordinate communication devices by IPv6.
  • the communication system 1000 includes NE (Network Element) 100 and 200, a local PC 300, routers 400 and 600, a network 500, a remote PC 700, and an NMS (Network Management System) 800.
  • the NEs 100 and 200 are examples of the communication device 10 described above, and are at least a wireless communication device, a wireless base station, or the like that performs communication using IPv6.
  • NE 200 is installed at a remote location from NE 100.
  • NE100 and NE200 are assumed to be separated from 30 km to 50 km.
  • the distance between NE100 and NE200 is not limited to this. That is, the NE 100 and the NE 200 are places where the operator cannot easily reach even if they are close to each other.
  • the installation location of NE 200 may be a dangerous location such as a pole on the roof of a building.
  • the NE 100, the local PC 300, and the router 400 are communicably connected.
  • the local PC 300 is a computer terminal for performing various settings by making a local connection to the NE 100 and a remote connection to the NE 200.
  • the routers 400 and 600 route at least IPv6 communication, and may convert between IPv4 and IPv6.
  • the routers 400 and 600 are connected via the network 500.
  • the network 500 is a communication network based on at least IPv6.
  • the router 600, the remote PC 700, and the NMS 800 are communicably connected.
  • the remote PC 700 is a computer terminal for performing remote access to the NEs 100 and 200 and changing various settings.
  • the NMS 800 is an information system that monitors subordinate NEs by IPv6 communication. For example, the NMS 800 monitors about 10,000 NEs, but is not limited thereto.
  • EMS Event Management System
  • NMS 800 and EMS may be used in combination.
  • FIG. 4 is a block diagram showing a configuration of the communication apparatus according to the second embodiment of the present invention.
  • FIG. 4 shows the NE 100, but the NE 200 has the same configuration, and therefore the NE 200 is not shown or described.
  • the NE 100 includes an IP (Internet Protocol) unit 110, an address processing unit 150, a soft bridge 140, an LCT (Local Craft Terminal) port 111, an NMS port 112, a MODEM (Modulator Modulator) port 113, and an L2IF (Layer 2 InterFace) 121 to 123. , L3IF (Layer 3 InterFace) 131 to 133, and address management DB160.
  • IP Internet Protocol
  • LCT Local Craft Terminal
  • NMS port 112 a MODEM (Modulator Modulator) port 113
  • L2IF Layer 2 InterFace
  • L3IF Layer 3 InterFace
  • the types and numbers of the LCT port 111, the NMS port 112, the MODEM port 113, the L2IFs 121 to 123, and the L3IFs 131 to 133 are not limited to these.
  • the LCT port 111 is a port for local connection with the local PC 300 or the like.
  • the NMS port 112 is a port connected to perform monitoring communication by the NMS 800 or the like via the network.
  • the MODEM port 113 is a port in the data line termination device. Note that a GBE (Giga Bit Ethernet (registered trademark)) port, which is a port for connecting to the outside of the local PC 300, the router 400, or the like via Ethernet (registered trademark), may be provided separately.
  • GBE Giga Bit Ethernet (registered trademark)
  • L2IF 121 to 123 are data link layer interfaces.
  • L2IFs 121 to 123 are MAC addresses of the LCT port 111, the NMS port 112, and the MODEM port 113, respectively.
  • the L3IFs 131 to 133 are network layer interfaces. Specifically, the L3IFs 131 to 133 are IPv6 addresses.
  • the L3IFs 131 and 132 are link local addresses (LLA), and the L3IF133 is a unique local address or a global address. Further, it is assumed that the L3IF 131 and the L2IF 121 are associated with each other.
  • the soft bridge 140 is an example of the bridge 12 described above.
  • the soft bridge 140 is a bridge realized by software in which the same IP address of IPv6 is set in association with a plurality of physical ports. Further, the soft bridge 140 can set a plurality of IPv6 addresses in association with each physical port.
  • the soft bridge 140 can set the combination of the L3IF 132 and the L3IF 133 and the combination of the L2IFs 122 and 123 in association with each other.
  • the address management DB 160 is an example of an address management storage unit, and is a database that holds IP addresses set in the L3IFs 131 to 133.
  • the address management DB 160 is, for example, a storage area in a volatile storage device, but may be a storage area in a nonvolatile storage device.
  • the address management DB 160 holds a global address set in the L3IF 132 or 133.
  • the address management DB 160 can hold a plurality of global addresses.
  • the address management DB 160 holds at least the primary address 161.
  • the primary address 161 indicates a global address that the NE 100 uses preferentially in communication outside the link. Further, the address management DB 160 may hold a link local address.
  • the IP unit 110 and the address processing unit 150 are an example of the address setting unit 11 described above.
  • the IP unit 110 generates a unique local address using a fixed network address.
  • the fixed network address is, for example, “FD01: AAAAA :: / 64” or the like, and has a range defined by the IPv6 standard as the network address of the unique local address.
  • the IP unit 110 generates a link local address when the NE 100 is activated and sets the link local address in the L3IF 131 and the L3IF 132.
  • the IP unit 110 generates a unique local address after initialization of the address setting of the soft bridge 140, and sets the generated unique local address as a global address in the soft bridge 140.
  • “setting a unique local address as a global address” means that the IP unit 110 sets a unique local address in the L3IF 132 or 133 and registers the generated unique local address in the primary address 161 in the address management DB 160 or It means updating.
  • the IPv6 global address can be automatically set at the time of startup, various settings of the NE 100 and 200 can be performed immediately without waiting for RA reception from the router 400.
  • the address processing unit 150 transmits an RS (Router Solicitation) from the soft bridge 140 after the unique local address is set in the soft bridge 140. Further, when the soft bridge 140 receives the RA from the router, the address processing unit 150 stops RS transmission, generates a global address based on the network address and the MAC address included in the RA packet, and transmits the global address to the soft bridge 140. Set. For example, the address processing unit 150 generates a global address based on the network address included in the RA and the MAC address set in the L2IF 122 or 123, and sets the global address in the L3IF 132 or 133. At this time, the address processing unit 150 registers the generated global address in the primary address 161 of the address management DB 160.
  • RS Raster Solicitation
  • the IP unit 110 deletes the unique local address set in the soft bridge 140 after receiving the RA. That is, the IP unit 110 deletes the unique local address registered in the primary address 161 of the address management DB 160. In this way, by deleting the unique local address uniquely generated by the NE when an official global address is set, it is possible to eliminate unexpected communication due to an unmanaged address (unique local address) of the NMS 800.
  • the IP unit 110, the address processing unit 150, and the soft bridge 140 can be realized as a part of an OS (Operating System) executed on a CPU (Central Processing Unit) in the NE 100, for example.
  • OS Operating System
  • CPU Central Processing Unit
  • FIG. 5 is a flowchart showing a flow of address setting processing at the time of starting the communication apparatus according to the second embodiment of the present invention.
  • the communication apparatus is described as NE200.
  • the NE 200 is activated (S101).
  • S101 the value of the primary address 161 in the address management DB 160 of the NE 200 has been initialized.
  • the NE 200 is set to be capable of L2 level wireless connection with the NE 100 by the setting operation. For example, frequency adjustment or the like.
  • the NE 200 generates a link local address for the LCT port (S102). For example, the IP unit 110 generates a link local address “FE80 :: 1: AAAAA / 64”. Then, the NE 200 sets the generated link local address to the LCT port (S103). For example, the IP unit 110 sets the link local address “FE80 :: 1: AAAA / 64” in the L3IF 131.
  • the NE 200 independently of steps S102 and S103, the NE 200 generates a link local address for bridge (S104). For example, the IP unit 110 reads the MAC address from the L2IF 122 of the soft bridge 140 and generates a link local address “FE80 :: xxxx: xxxx: xxxx” in the EUI-64 format. Then, the NE 200 sets the generated link local address in the bridge (S105). For example, the IP unit 110 sets the link local address “FE80 :: xxxx: xxxx: xxxx” in the L3IF 132.
  • the NE 200 determines whether or not the bridge address setting has been initialized (S106). That is, the NE 200 refers to the primary address 161 of the address management DB 160 and determines whether or not an IPv6 global address is set for the bridge. For example, when the NE 200 is activated for the first time from the factory default state, the IPv6 global address is not set in the bridge. Or, even if the IPv6 global address has already been set, if it has expired at the time of activation, it is determined that it has not been set. Therefore, when it is determined that the global address is not set for the bridge, the NE 200 acquires the MAC address of the bridge (S107). For example, the IP unit 110 reads the MAC address from the L2IF 122 of the soft bridge 140. In step S107, the IP unit 110 may read the MAC address of the L2IF 123 or the MAC address assigned as the NE 200 device.
  • the NE 200 generates a unique local address from the MAC address (S108).
  • the IP unit 110 sets the network address to “FD01: AAA :: / 64”, generates an interface identifier in the EUI-64 format from the read MAC address, and generates a unique local address “FD01: AAAAA :: xxxx: xxxx”. : Xxxx: xxxx ".
  • the NE 200 sets the generated unique local address as a global address in the bridge (S109).
  • the IP unit 110 sets the unique local address “FD01: AAAAA :: xxxx: xxxx: xxxx: xxxx” in the L3IF 133.
  • step S106 it is determined that a global address is set in the bridge, and the generation and setting of the unique local address in steps S107 to S109 are not performed. This is because an existing global address can be used in this case.
  • FIG. 6 is a sequence diagram showing a flow of remote access to the NE 200 according to the second embodiment of the present invention. Here, a flow from the local PC 300 to remote access to the NE 200 via the NE 100 will be described.
  • the NE 200 is installed at a predetermined installation location (S201) and activated (S202).
  • the NE 100 is also installed at another installation location (S204) and activated (S205).
  • NE 100 and NE 200 are set to be capable of L2 level wireless connection with each other by manual setting by the installer at each installation location.
  • the NEs 200 and 100 execute the address setting process (S203 and S206) shown in FIG. 5, respectively, and the link local address is set in the LCT port, the link local address and the unique local address as the global address are set in the bridge. .
  • the local PC 300 connects to the LCT port of the NE 100 (S207). Then, the local PC 300 performs local access to the link local address of the LCT port of the NE 100 (S208). Thereby, various settings can be performed from the local PC 300 to the NE 100. On the other hand, at this time, the local PC 300 and the NE 200 are not connected. However, as described above, the NE 100 and the NE 200 can perform L2 level wireless connection.
  • the NEs 100 and 200 notify each other of their primary addresses 161 by LLDP (Link Layer Discovery). Therefore, the NE 100 acquires a unique local address as a primary address of the NE 200 by LLDP from the NE 200. Similarly, NE 200 also acquires a unique local address as a primary address of NE 100 by LLDP from NE 100. Subsequently, the local PC 300 performs remote access to the unique local address of the NE 200 via the NE 100 (S210). That is, the local PC 300 accesses the NE 200 by wireless communication via the NE 100. Thereby, various settings can be made from the local PC 300 to the NE 200. Here, the various settings are, for example, settings for increasing the transmission efficiency of user data.
  • FIG. 7 is a sequence diagram showing a flow of global address setting processing according to the second embodiment of the present invention.
  • the process of FIG. 7 is applicable to either NE 100 or 200 according to the second embodiment of the present invention.
  • the IP unit 110 generates a unique local address (S111), and sets the generated unique local address in the soft bridge 140 (S112). In addition, the IP unit 110 registers the generated unique local address in the primary address 161 of the address management DB 160.
  • the soft bridge 140 starts RS transmission to the router 400 according to the setting of the unique local address (S113, S114). For example, the soft bridge 140 transmits the RS at a cycle of 10 seconds until the RA is received. Thereafter, the soft bridge 140 receives the RA from the router 400 (S115).
  • the RA packet includes the network address assigned to the router 400 and information on the default GW.
  • the address processing unit 150 stops RS transmission in response to the reception of the RA in the soft bridge 140, generates a global address based on the network address included in the RA, and sets the global address in the soft bridge 140 (S116). At this time, the address processing unit 150 also sets a default GW in the soft bridge 140.
  • the IP unit 110 detects the generation of a global address by the IPv6 monitoring process (S117). Then, the IP unit 110 deletes the unique local address (S118). That is, in steps S116 to S118, the address processing unit 150 registers the generated unique local address in the address management DB 160. In addition, the IP unit 110 deletes the unique local address registered in the primary address 161 of the address management DB 160. As a result, the primary address 161 of the address management DB 160 becomes the global address registered in step S116. Thereafter, the soft bridge 140 continues to receive RA from the router 400 (S119), thereby updating the expiration date of the set global address and holding the global address.
  • FIG. 8 is a sequence diagram showing a flow of monitoring setting to the communication apparatus according to the second embodiment of the present invention.
  • FIG. 8 shows a flow after the remote access of FIG. 6 described above.
  • the router 400 transmits the RA to the NEs 100 and 200 as in step S115 in FIG. 7 (S211 and S212). Thereby, as described above, the setting is changed from the unique local address to the global address in each of the NEs 100 and 200. Then, the router 400 connects to the NMS port of the NE 100 (S213).
  • the remote PC 700 performs remote access to the global address of the NE 100 (S214). That is, the remote PC 700 accesses the NE 100 via the router 600, the network 500, and the router 400.
  • the remote PC 700 performs remote access to the global address of the NE 200 (S215). That is, the remote PC 700 accesses the NE 200 via the router 600, the network 500, the router 400, and the NE 100.
  • a unique address can be automatically set as an IPv6 global address before the RA reception from the router 400 to the NE 200 installed in a remote place. Therefore, it is not necessary for the network engineer to visit the installation location for setting the IPv6 global address, and the ease of installation of the communication device is improved.
  • the link local address is automatically set individually, but IPv6 communication with the outside of the same link cannot be performed using the link local address.
  • NEs 100 and 200 usually need to receive RA (Router-Advertisement) from a router in order to set a global address. That is, the NEs 100 and 200 cannot acquire a global address until communication with a router compatible with IPv6 becomes possible.
  • RA Raster-Advertisement
  • the IPv6 network address of the router may be undecided.
  • L2 level user data communication between the NE 100 and the NE 200 can be started separately from the IPv6 setting. Therefore, the NEs 100 and 200 generate a unique local address by themselves and set it as the global address in the bridge 12 when the global address is not set in the bridge 12. As a result, access by IPv6 communication can be performed using a unique local address of IPv6 without communication with a router compatible with IPv6. For example, since IPv6 communication between the NE 100 and the NE 200 is possible, remote access from the local PC 300 to the NE 200 can be realized using local access to the NE 100. Therefore, various setting operations in the NE 200 can be performed remotely. Therefore, it is not necessary for the network engineer to visit the communication device installed at a remote place again after installation, and the setting operation of the communication device can be facilitated.
  • the third embodiment of the present invention is another example of the first embodiment described above.
  • the third embodiment can also be realized by adding a function to the second embodiment described above.
  • the NE 100 or 200 deletes the setting of the global address when the state where the RA cannot be received continues for a certain time or more. In this case, various settings for the NE 200 cannot be performed. Therefore, the address setting unit according to the third embodiment generates a unique local address after deleting the global address set in the bridge, and sets the generated unique local address as a global address in the bridge. As a result, even after a state where RA cannot be received continues for a certain period of time or longer, for example, necessary setting processing can be performed by remote access from the local PC 300. Therefore, it is not necessary for the network engineer to go to the installation location of the NE 200, and the setting work can be facilitated. Note that the configuration of the communication apparatus according to the third embodiment is the same as that of FIG. 4 described above, and thus illustration and detailed description thereof are omitted.
  • FIG. 9 is a flowchart showing the flow of address setting processing during operation of the communication apparatus according to the third embodiment of the present invention.
  • the IP unit 110 acquires the MAC address of the soft bridge 140 (S107). Then, the IP unit 110 determines whether or not one or more IPv6 global addresses are set in the soft bridge 140 (S110). At this time, when one or more IPv6 global addresses are set in the soft bridge 140, the generation and setting of the unique local addresses in steps S108 and S109 are not performed.
  • step S110 if it is determined in step S110 that no IPv6 global address is set in the soft bridge 140, the IP unit 110 generates and sets a unique local address in steps S108 and S109 described above.
  • FIG. 10 is a sequence diagram showing the flow of global address setting processing according to the third embodiment of the present invention. Note that FIG. 10 may be, for example, the continuation of FIG. 7 described above.
  • the soft bridge 140 receives the RA from the router 400 (S301). Thereby, as described above, the expiration date of the global address set in the soft bridge 140 is updated, and the global address is held. Thereafter, it is assumed that the reception of RA from the router 400 has been stopped for a certain period of time for some reason.
  • the address processing unit 150 deletes the global address for the soft bridge 140 due to expiration of the expiration date (S302).
  • the address processing unit 150 deletes the primary address 161 in the address management DB 160.
  • the IP unit 110 detects deletion of the global address of the soft bridge 140 by the IPv6 monitoring process (S303).
  • the IP unit 110 detects the deletion of the primary address 161 in the address management DB 160 or detects the deletion of the global address by a notification from the address processing unit 150 or the soft bridge 140.
  • the IP unit 110 generates a unique local address as described above (S304).
  • the IP unit 110 sets the generated unique local address as a global address in the soft bridge 140 (S305).
  • the IP unit 110 registers the generated unique local address in the primary address 161 in the address management DB 160. Thereby, for example, necessary setting processing can be performed on the NE 200 by remote access from the local PC 300.
  • the fourth embodiment of the present invention is a modification of the above-described second or third embodiment.
  • three L3IFs can be set in the soft bridge 140, that is, three addresses can be registered in the address management DB 160, and a plurality of network addresses are set in the RA. explain.
  • FIGS. 11 and 12 are sequence diagrams showing a flow of address setting processing at the time of RA reception in which a plurality of network addresses according to the fourth embodiment of the present invention are set.
  • the IP unit 110 sets a unique local address (ULA) “FD01: AAAAA :: xxxx: xxxx: xxxx: xxxx” for the soft bridge 140 (S401).
  • UAA unique local address
  • the link local address (LLA) “FE80 :: xxxx: xxxx: xxxx: xxxx” is already set as the IP address setting state (registered contents of the address management DB 160) of the soft bridge 140, and (ULA) “ FD01: AAA :: xxxx: xxxx: xxxx: xxxx ”is added (S402).
  • the primary address 161 is ULA.
  • the soft bridge 140 transmits an RS (S403).
  • the soft bridge 140 receives the RA from the router 400 (S404).
  • the RA in step S404 includes two network addresses “2001: 1111 :: / 64” and “2001: 2222 :: / 64” and default GW information (not shown).
  • the address processing unit 150 stops the RS transmission in response to the reception of the RA in the soft bridge 140, and generates the global address (GA) “2001: 1111 :: xxxx: xxxx: xxxx: xxxx”. That is, the address processing unit 150 selects any one of the two network addresses included in the RA, and generates a global address based on the selected network address. Further, the address processing unit 150 generates an address of the default GW address. Then, the address processing unit 150 sets the global address and the default GW address in the soft bridge 140 (S405). In addition, the address processing unit 150 registers the generated global address and default GW address in the address management DB 160.
  • GA global address
  • the IP unit 110 detects global address generation (S406). Then, the IP unit 110 deletes the unique local address “FD01: AAA :: xxxx: xxxx: xxxx” (S407). As a result, the setting state of the IP address of the soft bridge 140 becomes (LLA) “FE80 :: xxxx: xxxx: xxxx: xxxx” and (GA) “2001: 1111 :: xxxx: xxxx: xxxx: xxxx” ( S408). This can be said to be a registration state of the address management DB 160. Further, the primary address 161 at this time is GA.
  • the soft bridge 140 receives the RA from the router 400 (S409).
  • the RA in step S409 includes the same two network addresses and default GW information as in step S404.
  • the address processing unit 150 selects the previously unselected one of the two network addresses included in the RA, and the global address (GA) based on the selected network address. “2001: 2222 :: xxxx: xxxx: xxxx: xxxx” is generated. Further, the address processing unit 150 generates a default GW address. The address processing unit 150 sets the global address and the default GW address in the soft bridge 140 (S410). In addition, the address processing unit 150 registers the generated global address and default GW address in the address management DB 160.
  • the setting state of the IP address of the soft bridge 140 is (LLA) “FE80 :: xxxx: xxxx: xxxx: xxxx”, (GA) “2001: 1111 :: xxxx: xxxx: xxxx: xxxx” and (GA ) "2001: 2222 :: xxxx: xxxx: xxxx: xxxx" (S411).
  • the generation and deletion of the IPv6 address and the default GW address in the fourth embodiment can be summarized as follows. (1) When there are two or more global addresses set in the soft bridge 140 and one of them is a unique local address, the following is performed. (A) Delete the unique local address. (B) When the primary address 161 in the address management DB 160 is different from the global address set in the soft bridge 140, the set global address is registered in the address management DB 160.
  • the communication device can be applied not only to wireless communication but also to wired communication.
  • the example between two NEs has been described.
  • the present invention can also be applied to each NE.
  • the present invention has been described as a hardware configuration, but the present invention is not limited to this.
  • the present invention can also realize arbitrary processing by causing a CPU (Central Processing Unit) to execute a computer program.
  • a CPU Central Processing Unit
  • Non-transitory computer readable media include various types of tangible storage media (tangible storage medium).
  • Examples of non-transitory computer-readable media include magnetic recording media (eg flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (eg magneto-optical discs), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, DVD (Digital Versatile Disc), BD (Blu-ray (registered trademark) Disc), semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM ( Random Access Memory)).
  • magnetic recording media eg flexible disks, magnetic tapes, hard disk drives
  • magneto-optical recording media eg magneto-optical discs
  • CD-ROMs Read Only Memory
  • CD-Rs Compact Only Memory
  • CD-R / W Digital Versatile Disc
  • DVD Digital Versatile Disc
  • BD Blu-ray (registered trademark) Disc
  • the program may also be supplied to the computer by various types of temporary computer-readable media.
  • Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves.
  • the temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.

Abstract

The purpose of the present invention is to facilitate the work of setting an IPv6 global address for a communication device. A communication device (10) according to the present invention is provided with: a bridge (12) which associates L2IF and L3IF (IPv6 addresses); and an address setting unit (11) which, when no IPv6 global address has been set to the bridge (12), generates an IPv6 unique local address (13) and sets the generated unique local address (13) as a global address to the bridge (12).

Description

通信装置及びそのアドレス設定方法Communication apparatus and address setting method thereof
 本発明は、通信装置及びそのアドレス設定方法に関し、特に、Internet Protocol Version 6(IPv6)のアドレス設定を行う通信装置及びそのアドレス設定方法に関する。 The present invention relates to a communication device and an address setting method thereof, and more particularly, to a communication device for setting an address of Internet Protocol Version 6 (IPv6) and an address setting method thereof.
 通信ネットワークのインフラ整備のために遠隔地に通信ネットワークの中継を行う基地局等の通信装置が設置される。近年の通信ネットワークでは、通信装置間の管理通信にInternet Protocol Version 6(IPv6)が利用されている。ここで、特許文献1及び2には、IPv6に関する一般的な技術が開示されている。 Communication equipment such as a base station that relays the communication network will be installed at a remote location in order to improve the infrastructure of the communication network. In recent communication networks, Internet Protocol Version 6 (IPv6) is used for management communication between communication devices. Here, Patent Documents 1 and 2 disclose general techniques related to IPv6.
特開2006-108802号公報JP 2006-108802 A 米国特許出願公開第2015/0257190号明細書US Patent Application Publication No. 2015/0257190
 上述したように通信装置は、遠隔地に設置されることが多いため、IPv6のグローバルアドレスの設定作業が煩雑であるという問題点がある。例えば、IPv6のグローバルアドレスが通信装置の管理通信用に用いられる場合には、通信装置の設置時には、グローバルアドレスのネットワークアドレス(サブネットプレフィックス)が確定していないことがあり、設置後に決定されたグローバルアドレスを通信装置に設定作業を行うために、ネットワークエンジニアが再度、設置場所へ赴かなければならないためである。 As described above, since communication devices are often installed at remote locations, there is a problem in that IPv6 global address setting work is complicated. For example, when an IPv6 global address is used for management communication of a communication device, the network address (subnet prefix) of the global address may not be determined when the communication device is installed. This is because the network engineer has to go to the installation location again in order to set the address in the communication device.
 本発明は、このような問題点を解決するためになされたものであり、通信装置の設定作業を容易にするための通信装置及びそのアドレス設定方法を提供することを目的とする。 The present invention has been made to solve such problems, and an object of the present invention is to provide a communication device and an address setting method for facilitating the setting operation of the communication device.
 本発明の第1の態様にかかる通信装置は、
 ブリッジにIPv6のグローバルアドレスが設定されていない場合に、当該IPv6のユニークローカルアドレスを生成し、当該ブリッジに当該生成したユニークローカルアドレスを前記グローバルアドレスとして設定するアドレス設定部
 を備える。
The communication device according to the first aspect of the present invention is:
When an IPv6 global address is not set in the bridge, an IPv6 unique local address is generated, and an address setting unit configured to set the generated unique local address as the global address in the bridge is provided.
 本発明の第2の態様にかかる通信装置のアドレス設定方法は、
 ブリッジにIPv6のグローバルアドレスが設定されていない場合に、前記IPv6のユニークローカルアドレスを生成し、
 前記ブリッジに前記生成したユニークローカルアドレスを前記グローバルアドレスとして設定する。
The communication device address setting method according to the second aspect of the present invention includes:
When an IPv6 global address is not set in the bridge, a unique local address of IPv6 is generated,
The generated unique local address is set in the bridge as the global address.
 本発明により、通信装置の設定作業を容易にするための通信装置及びそのアドレス設定方法を提供することができる。 According to the present invention, it is possible to provide a communication device and its address setting method for facilitating communication device setting work.
本発明の実施の形態1にかかる通信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the communication apparatus concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかるアドレス設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the address setting process concerning Embodiment 1 of this invention. 本発明の実施の形態2にかかる通信システムの全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the communication system concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかる通信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the communication apparatus concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかる通信装置の起動時のアドレス設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the address setting process at the time of starting of the communication apparatus concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかる通信装置へのリモートアクセスの流れを示すシーケンス図である。It is a sequence diagram which shows the flow of the remote access to the communication apparatus concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかるグローバルアドレス設定処理の流れを示すシーケンス図である。It is a sequence diagram which shows the flow of the global address setting process concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかる通信装置への監視設定の流れを示すシーケンス図である。It is a sequence diagram which shows the flow of the monitoring setting to the communication apparatus concerning Embodiment 2 of this invention. 本発明の実施の形態3にかかる通信装置の稼働中のアドレス設定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the address setting process in operation of the communication apparatus concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかるグローバルアドレス設定処理の流れを示すシーケンス図である。It is a sequence diagram which shows the flow of the global address setting process concerning Embodiment 3 of this invention. 本発明の実施の形態4にかかる複数のネットワークアドレスが設定されたRA受信時のアドレス設定処理の流れを示すシーケンス図である。It is a sequence diagram which shows the flow of the address setting process at the time of RA reception by which the some network address concerning Embodiment 4 of this invention was set. 本発明の実施の形態4にかかる複数のネットワークアドレスが設定されたRA受信時のアドレス設定処理の流れを示すシーケンス図である。It is a sequence diagram which shows the flow of the address setting process at the time of RA reception by which the some network address concerning Embodiment 4 of this invention was set.
 以下では、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。各図面において、同一要素には同一の符号が付されており、説明の明確化のため、必要に応じて重複説明は省略する。 Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In the drawings, the same elements are denoted by the same reference numerals, and redundant description will be omitted as necessary for the sake of clarity.
<実施の形態1>
 図1は、本発明の実施の形態1にかかる通信装置10の構成を示すブロック図である。通信装置10は、IPv6に基づく有線又は無線の通信を行う装置である。通信装置10は、アドレス設定部11と、ブリッジ12とを備える。ブリッジ12は、ネットワーク層(L3)とデータリンク層(L2)とのインタフェースを対応付けるものである。ここでは、ブリッジ12は、L3インタフェースとしてIPv6のグローバルアドレスが設定可能であるものとする。
<Embodiment 1>
FIG. 1 is a block diagram showing a configuration of a communication device 10 according to the first exemplary embodiment of the present invention. The communication device 10 is a device that performs wired or wireless communication based on IPv6. The communication device 10 includes an address setting unit 11 and a bridge 12. The bridge 12 associates an interface between the network layer (L3) and the data link layer (L2). Here, it is assumed that the bridge 12 can set an IPv6 global address as the L3 interface.
 アドレス設定部11は、ブリッジ12にIPv6のグローバルアドレスが設定されていない場合に、IPv6のユニークローカルアドレス13を生成し、ブリッジ12に、当該生成したユニークローカルアドレス13をグローバルアドレスとして設定する。 The address setting unit 11 generates an IPv6 unique local address 13 when an IPv6 global address is not set in the bridge 12, and sets the generated unique local address 13 as a global address in the bridge 12.
 ここで、IPv6では、リンクローカルアドレス、グローバルアドレス、ユニークローカルアドレス等が規定されている。リンクローカルアドレスは、同一リンク上でのみ有効なアドレスである。グローバルアドレスは、ルータ等に予め割り当てられたネットワークアドレス(プレフィックス、グローバル識別子)に基づく一意なアドレスである。そして、ユニークローカルアドレス13は、グローバル識別子の一部をランダムな値とするものであり、ローカルで自由に採番することができるアドレスである。 Here, in IPv6, a link local address, a global address, a unique local address, etc. are defined. A link local address is an address that is valid only on the same link. The global address is a unique address based on a network address (prefix, global identifier) assigned in advance to a router or the like. The unique local address 13 has a part of the global identifier as a random value and is an address that can be freely assigned locally.
 図2は、本発明の実施の形態1にかかるアドレス設定処理の流れを示すフローチャートである。まず、アドレス設定部11は、ブリッジ12にIPv6のグローバルアドレスが設定されているか否かを判定する(S11)。ブリッジ12にグローバルアドレスが設定されていないと判定した場合に、アドレス設定部11は、IPv6のユニークローカルアドレス13を生成する(S12)。そして、アドレス設定部11は、ブリッジ12に、生成したユニークローカルアドレス13をグローバルアドレスとして設定する(S13)。 FIG. 2 is a flowchart showing the flow of the address setting process according to the first embodiment of the present invention. First, the address setting unit 11 determines whether an IPv6 global address is set in the bridge 12 (S11). When it is determined that the global address is not set in the bridge 12, the address setting unit 11 generates the IPv6 unique local address 13 (S12). Then, the address setting unit 11 sets the generated unique local address 13 as a global address in the bridge 12 (S13).
 このように本実施の形態1により、設置した通信装置10にIPv6のグローバルアドレスが未設定の場合に、自動的にユニークローカルアドレスをグローバルアドレスとして設定することで、正式なグローバルアドレスの設定を待たずにリモートアクセスが可能となる。そのため、設置後にネットワークエンジニアが再度通信装置10の設置場所へ赴く必要がなく、通信装置の設定作業を容易にすることができる。 As described above, according to the first embodiment, when an IPv6 global address is not set in the installed communication apparatus 10, a unique local address is automatically set as a global address, thereby waiting for a formal global address setting. Remote access is possible. Therefore, it is not necessary for the network engineer to go to the installation place of the communication device 10 again after installation, and the setting operation of the communication device can be facilitated.
<実施の形態2>
 本発明の実施の形態2は、上述した実施の形態1の一実施例である。
 図3は、本発明の実施の形態2にかかる通信システム1000の全体構成を示すブロック図である。通信システム1000は、IPv4及びIPv6による通信を行うためのシステムである。特に、通信システム1000は、IPv6により配下の通信装置の監視等の管理を行うものである。通信システム1000は、NE(Network Element)100及び200と、ローカルPC300と、ルータ400及び600と、ネットワーク500と、リモートPC700と、NMS(Network Management System)800とを含む。
<Embodiment 2>
The second embodiment of the present invention is an example of the first embodiment described above.
FIG. 3 is a block diagram showing an overall configuration of the communication system 1000 according to the second embodiment of the present invention. The communication system 1000 is a system for performing communication using IPv4 and IPv6. In particular, the communication system 1000 performs management such as monitoring of subordinate communication devices by IPv6. The communication system 1000 includes NE (Network Element) 100 and 200, a local PC 300, routers 400 and 600, a network 500, a remote PC 700, and an NMS (Network Management System) 800.
 NE100及び200は、上述した通信装置10の一例であり、少なくともIPv6による通信を行う無線通信装置、無線基地局等である。ここで、NE200は、NE100から遠隔地に設置されている。例えば、NE100とNE200とは、30kmから50km離れているものとする。但し、NE100とNE200との距離はこれに限定されない。つまり、NE100とNE200とは、距離的に近くとも、作業者が容易に赴くことができない場所であるものとする。例えば、NE200の設置場所が、ビルの屋上のポール等の危険な場所であってもよい。 The NEs 100 and 200 are examples of the communication device 10 described above, and are at least a wireless communication device, a wireless base station, or the like that performs communication using IPv6. Here, NE 200 is installed at a remote location from NE 100. For example, NE100 and NE200 are assumed to be separated from 30 km to 50 km. However, the distance between NE100 and NE200 is not limited to this. That is, the NE 100 and the NE 200 are places where the operator cannot easily reach even if they are close to each other. For example, the installation location of NE 200 may be a dangerous location such as a pole on the roof of a building.
 NE100とローカルPC300とルータ400とは、通信可能に接続されている。ローカルPC300は、NE100に対してローカル接続し、また、NE200に対してリモート接続して、各種設定を行うためのコンピュータ端末である。ルータ400及び600は、少なくともIPv6の通信をルーティングするものであり、IPv4とIPv6の変換を行うものであってもよい。また、ルータ400及び600は、ネットワーク500を介して接続されている。ネットワーク500は、少なくともIPv6による通信網である。 The NE 100, the local PC 300, and the router 400 are communicably connected. The local PC 300 is a computer terminal for performing various settings by making a local connection to the NE 100 and a remote connection to the NE 200. The routers 400 and 600 route at least IPv6 communication, and may convert between IPv4 and IPv6. The routers 400 and 600 are connected via the network 500. The network 500 is a communication network based on at least IPv6.
 ルータ600とリモートPC700とNMS800とは、通信可能に接続されている。リモートPC700は、NE100及び200に対してリモートアクセスを行い、各種設定変更を行うためのコンピュータ端末である。NMS800は、IPv6通信により配下のNEの監視を行う情報システムである。NMS800は、例えば、1万台程度のNEを監視するが、これに限定されない。尚、NMS800の代わりにEMS(Element Management System)を用いても良く、また、NMS800とEMSを併用してもよい。 The router 600, the remote PC 700, and the NMS 800 are communicably connected. The remote PC 700 is a computer terminal for performing remote access to the NEs 100 and 200 and changing various settings. The NMS 800 is an information system that monitors subordinate NEs by IPv6 communication. For example, the NMS 800 monitors about 10,000 NEs, but is not limited thereto. Note that EMS (Element Management System) may be used instead of NMS 800, and NMS 800 and EMS may be used in combination.
 図4は、本発明の実施の形態2にかかる通信装置の構成を示すブロック図である。図4ではNE100について示すが、NE200の構成も同等であるため、NE200の図示及び説明は省略する。 FIG. 4 is a block diagram showing a configuration of the communication apparatus according to the second embodiment of the present invention. FIG. 4 shows the NE 100, but the NE 200 has the same configuration, and therefore the NE 200 is not shown or described.
 NE100は、IP(Internet Protocol)部110、アドレス処理部150、ソフトブリッジ140、LCT(Local Craft Terminal)ポート111、NMSポート112、MODEM(Modulator Demodulator)ポート113、L2IF(Layer 2 InterFace)121~123、L3IF(Layer 3 InterFace)131~133、アドレス管理DB160を備える。尚、LCTポート111、NMSポート112及びMODEMポート113、L2IF121~123、L3IF131~133の種類や数はこれらに限定されない。 The NE 100 includes an IP (Internet Protocol) unit 110, an address processing unit 150, a soft bridge 140, an LCT (Local Craft Terminal) port 111, an NMS port 112, a MODEM (Modulator Modulator) port 113, and an L2IF (Layer 2 InterFace) 121 to 123. , L3IF (Layer 3 InterFace) 131 to 133, and address management DB160. The types and numbers of the LCT port 111, the NMS port 112, the MODEM port 113, the L2IFs 121 to 123, and the L3IFs 131 to 133 are not limited to these.
 LCTポート111は、ローカルPC300等とローカル接続するためのポートである。NMSポート112は、ネットワーク経由でNMS800等による監視通信を行うために接続されるポートである。MODEMポート113は、データ回線終端装置におけるポートである。尚、ローカルPC300やルータ400等の外部とEthernet(登録商標)により接続するためのポートであるGBE(Giga Bit Ethernet(登録商標))ポートを別途、備えていても良い。 The LCT port 111 is a port for local connection with the local PC 300 or the like. The NMS port 112 is a port connected to perform monitoring communication by the NMS 800 or the like via the network. The MODEM port 113 is a port in the data line termination device. Note that a GBE (Giga Bit Ethernet (registered trademark)) port, which is a port for connecting to the outside of the local PC 300, the router 400, or the like via Ethernet (registered trademark), may be provided separately.
 L2IF121~123は、データリンク層のインタフェースである。L2IF121~123は、それぞれ、LCTポート111、NMSポート112及びMODEMポート113のMACアドレスである。L3IF131~133は、ネットワーク層のインタフェースである。具体的には、L3IF131~133は、IPv6のアドレスである。本実施の形態では、L3IF131及び132はリンクローカルアドレス(LLA)であり、L3IF133は、ユニークローカルアドレス又はグローバルアドレスとする。また、L3IF131とL2IF121とは対応付けられているものとする。 L2IF 121 to 123 are data link layer interfaces. L2IFs 121 to 123 are MAC addresses of the LCT port 111, the NMS port 112, and the MODEM port 113, respectively. The L3IFs 131 to 133 are network layer interfaces. Specifically, the L3IFs 131 to 133 are IPv6 addresses. In this embodiment, the L3IFs 131 and 132 are link local addresses (LLA), and the L3IF133 is a unique local address or a global address. Further, it is assumed that the L3IF 131 and the L2IF 121 are associated with each other.
 ソフトブリッジ(Soft Bridge)140は、上述したブリッジ12の一例である。ソフトブリッジ140は、複数の物理ポートに対してIPv6の同一のIPアドレスが対応付けて設定されている、ソフトウェアで実現されたブリッジである。また、ソフトブリッジ140は、複数のIPv6のアドレスをまとめて、各物理ポートに対応付けて設定可能である。そして、ソフトブリッジ140は、L3IF132及びL3IF133の組合せと、L2IF122及び123の組合せとを対応付けて設定できるものとする。 The soft bridge 140 is an example of the bridge 12 described above. The soft bridge 140 is a bridge realized by software in which the same IP address of IPv6 is set in association with a plurality of physical ports. Further, the soft bridge 140 can set a plurality of IPv6 addresses in association with each physical port. The soft bridge 140 can set the combination of the L3IF 132 and the L3IF 133 and the combination of the L2IFs 122 and 123 in association with each other.
 アドレス管理DB160は、アドレス管理記憶部の一例であり、L3IF131~133に設定されたIPアドレスを保持するデータベースである。アドレス管理DB160は、例えば、揮発性記憶装置内の記憶領域であるが、不揮発性記憶装置内の記憶領域であってもよい。アドレス管理DB160は、特に、L3IF132又は133に設定されたグローバルアドレスを保持する。アドレス管理DB160は、複数のグローバルアドレスを保持することができる。但し、アドレス管理DB160は、少なくともプライマリアドレス161を保持する。プライマリアドレス161とは、NE100がリンク外との通信において優先的に使用するグローバルアドレスを示す。また、また、アドレス管理DB160は、リンクローカルアドレスを保持してもよい。 The address management DB 160 is an example of an address management storage unit, and is a database that holds IP addresses set in the L3IFs 131 to 133. The address management DB 160 is, for example, a storage area in a volatile storage device, but may be a storage area in a nonvolatile storage device. In particular, the address management DB 160 holds a global address set in the L3IF 132 or 133. The address management DB 160 can hold a plurality of global addresses. However, the address management DB 160 holds at least the primary address 161. The primary address 161 indicates a global address that the NE 100 uses preferentially in communication outside the link. Further, the address management DB 160 may hold a link local address.
 IP部110及びアドレス処理部150は、上述したアドレス設定部11の一例である。IP部110は、固定のネットワークアドレスを用いてユニークローカルアドレスを生成する。固定のネットワークアドレスとは、例えば、「FD01:AAAA::/64」等であり、ユニークローカルアドレスのネットワークアドレスとしてIPv6規格で定められた範囲のものとする。尚、IP部110は、NE100の起動時にリンクローカルアドレスを生成し、L3IF131及びL3IF132に設定する。 The IP unit 110 and the address processing unit 150 are an example of the address setting unit 11 described above. The IP unit 110 generates a unique local address using a fixed network address. The fixed network address is, for example, “FD01: AAAAA :: / 64” or the like, and has a range defined by the IPv6 standard as the network address of the unique local address. The IP unit 110 generates a link local address when the NE 100 is activated and sets the link local address in the L3IF 131 and the L3IF 132.
 また、IP部110は、ソフトブリッジ140のアドレス設定の初期化後に、ユニークローカルアドレスを生成し、ソフトブリッジ140に、生成したユニークローカルアドレスをグローバルアドレスとして設定する。ここで、「ユニークローカルアドレスをグローバルアドレスとして設定する」とは、IP部110がL3IF132又は133にユニークローカルアドレスを設定すると共に、アドレス管理DB160内のプライマリアドレス161に生成したユニークローカルアドレスを登録又は更新することをいう。これにより、起動時に自動的にIPv6のグローバルアドレスを設定することができるため、ルータ400からのRA受信を待たずに、即時にNE100や200の各種設定を行うことができる。 In addition, the IP unit 110 generates a unique local address after initialization of the address setting of the soft bridge 140, and sets the generated unique local address as a global address in the soft bridge 140. Here, “setting a unique local address as a global address” means that the IP unit 110 sets a unique local address in the L3IF 132 or 133 and registers the generated unique local address in the primary address 161 in the address management DB 160 or It means updating. As a result, since the IPv6 global address can be automatically set at the time of startup, various settings of the NE 100 and 200 can be performed immediately without waiting for RA reception from the router 400.
 また、アドレス処理部150は、ソフトブリッジ140に、ユニークローカルアドレスが設定された後に、ソフトブリッジ140からRS(Router Solicitation)を送信する。また、アドレス処理部150は、ソフトブリッジ140がルータからRAを受信した場合に、RS送信を停止し、RAパケットに含まれるネットワークアドレスとMACアドレスに基づいてグローバルアドレスを生成し、ソフトブリッジ140に設定する。例えば、アドレス処理部150は、RAに含まれるネットワークアドレス及びL2IF122又は123に設定されたMACアドレスに基づいてグローバルアドレスを生成し、L3IF132又は133に設定する。このとき、アドレス処理部150は、アドレス管理DB160のプライマリアドレス161に生成したグローバルアドレスを登録する。これにより、ルータからRAを受信でき次第、速やかに正式なグローバルアドレスを設定できる。さらに、IP部110は、RAの受信後に、ソフトブリッジ140に設定したユニークローカルアドレスを削除する。つまり、IP部110は、アドレス管理DB160のプライマリアドレス161に登録されたユニークローカルアドレスを削除する。このように、正式なグローバルアドレスが設定された場合にNEが独自に生成したユニークローカルアドレスを削除することで、NMS800の管理外のアドレス(ユニークローカルアドレス)による想定外の通信を排除できる。 Further, the address processing unit 150 transmits an RS (Router Solicitation) from the soft bridge 140 after the unique local address is set in the soft bridge 140. Further, when the soft bridge 140 receives the RA from the router, the address processing unit 150 stops RS transmission, generates a global address based on the network address and the MAC address included in the RA packet, and transmits the global address to the soft bridge 140. Set. For example, the address processing unit 150 generates a global address based on the network address included in the RA and the MAC address set in the L2IF 122 or 123, and sets the global address in the L3IF 132 or 133. At this time, the address processing unit 150 registers the generated global address in the primary address 161 of the address management DB 160. As a result, as soon as the RA is received from the router, a formal global address can be quickly set. Furthermore, the IP unit 110 deletes the unique local address set in the soft bridge 140 after receiving the RA. That is, the IP unit 110 deletes the unique local address registered in the primary address 161 of the address management DB 160. In this way, by deleting the unique local address uniquely generated by the NE when an official global address is set, it is possible to eliminate unexpected communication due to an unmanaged address (unique local address) of the NMS 800.
 尚、IP部110、アドレス処理部150及びソフトブリッジ140は、例えば、NE100内のCPU(Central Processing Unit)上で実行されるOS(Operating System)等の一部として実現可能である。 The IP unit 110, the address processing unit 150, and the soft bridge 140 can be realized as a part of an OS (Operating System) executed on a CPU (Central Processing Unit) in the NE 100, for example.
 図5は、本発明の実施の形態2にかかる通信装置の起動時のアドレス設定処理の流れを示すフローチャートである。ここでは、通信装置をNE200として説明する。まず、NE200が設置場所に設置され、電源がONにされたことで、NE200が起動する(S101)。このとき、NE200が有するアドレス管理DB160内のプライマリアドレス161の値は、初期化されているものとする。そして、NE200は、設定作業によりNE100との間でL2レベルの無線接続が可能に設定されるものとする。例えば、周波数の調整等である。 FIG. 5 is a flowchart showing a flow of address setting processing at the time of starting the communication apparatus according to the second embodiment of the present invention. Here, the communication apparatus is described as NE200. First, when the NE 200 is installed at the installation location and the power is turned on, the NE 200 is activated (S101). At this time, it is assumed that the value of the primary address 161 in the address management DB 160 of the NE 200 has been initialized. The NE 200 is set to be capable of L2 level wireless connection with the NE 100 by the setting operation. For example, frequency adjustment or the like.
 続いて、NE200は、LCTポート用のリンクローカルアドレスを生成する(S102)。例えば、IP部110は、「FE80::1:AAAA/64」というリンクローカルアドレスを生成する。そして、NE200は、生成したリンクローカルアドレスを、LCTポートに設定する(S103)。例えば、IP部110は、リンクローカルアドレス「FE80::1:AAAA/64」をL3IF131に設定する。 Subsequently, the NE 200 generates a link local address for the LCT port (S102). For example, the IP unit 110 generates a link local address “FE80 :: 1: AAAAA / 64”. Then, the NE 200 sets the generated link local address to the LCT port (S103). For example, the IP unit 110 sets the link local address “FE80 :: 1: AAAA / 64” in the L3IF 131.
 また、ステップS102及びS103とは独立に、NE200は、ブリッジ用のリンクローカルアドレスを生成する(S104)。例えば、IP部110は、ソフトブリッジ140のL2IF122からMACアドレスを読み込み、EUI-64形式のリンクローカルアドレス「FE80::xxxx:xxxx:xxxx:xxxx」を生成する。そして、NE200は、生成したリンクローカルアドレスをブリッジに設定する(S105)。例えば、IP部110は、リンクローカルアドレス「FE80::xxxx:xxxx:xxxx:xxxx」をL3IF132に設定する。 Also, independently of steps S102 and S103, the NE 200 generates a link local address for bridge (S104). For example, the IP unit 110 reads the MAC address from the L2IF 122 of the soft bridge 140 and generates a link local address “FE80 :: xxxx: xxxx: xxxx: xxxx” in the EUI-64 format. Then, the NE 200 sets the generated link local address in the bridge (S105). For example, the IP unit 110 sets the link local address “FE80 :: xxxx: xxxx: xxxx: xxxx” in the L3IF 132.
 また、ステップS102からS105とは独立に、NE200は、ブリッジのアドレス設定が初期化されているか否かを判定する(S106)。すなわち、NE200は、アドレス管理DB160のプライマリアドレス161を参照し、ブリッジにIPv6のグローバルアドレスが設定されているか否かを判定する。例えば、NE200が工場出荷時の状態から初めて起動された場合には、ブリッジにIPv6のグローバルアドレスが未設定である。または、既にIPv6のグローバルアドレスが設定済みであっても起動時に有効期限を過ぎている場合には、未設定と判定される。そこで、ブリッジにグローバルアドレスが設定されていないと判定した場合に、NE200は、ブリッジのMACアドレスを取得する(S107)。例えば、IP部110は、ソフトブリッジ140のL2IF122からMACアドレスを読み込む。尚、ステップS107において、IP部110は、L2IF123のMACアドレスや、NE200の装置として割り当てられたMACアドレスを読み込んでも構わない。 Also, independently of steps S102 to S105, the NE 200 determines whether or not the bridge address setting has been initialized (S106). That is, the NE 200 refers to the primary address 161 of the address management DB 160 and determines whether or not an IPv6 global address is set for the bridge. For example, when the NE 200 is activated for the first time from the factory default state, the IPv6 global address is not set in the bridge. Or, even if the IPv6 global address has already been set, if it has expired at the time of activation, it is determined that it has not been set. Therefore, when it is determined that the global address is not set for the bridge, the NE 200 acquires the MAC address of the bridge (S107). For example, the IP unit 110 reads the MAC address from the L2IF 122 of the soft bridge 140. In step S107, the IP unit 110 may read the MAC address of the L2IF 123 or the MAC address assigned as the NE 200 device.
 そして、NE200は、MACアドレスからユニークローカルアドレスを生成する(S108)。例えば、IP部110は、ネットワークアドレスを「FD01:AAAA::/64」とし、読み込んだMACアドレスからEUI-64形式のインタフェース識別子を生成して、ユニークローカルアドレス「FD01:AAAA::xxxx:xxxx:xxxx:xxxx」を生成する。 Then, the NE 200 generates a unique local address from the MAC address (S108). For example, the IP unit 110 sets the network address to “FD01: AAA :: / 64”, generates an interface identifier in the EUI-64 format from the read MAC address, and generates a unique local address “FD01: AAAAA :: xxxx: xxxx”. : Xxxx: xxxx ".
 その後、NE200は、生成したユニークローカルアドレスをグローバルアドレスとしてブリッジに設定する(S109)。例えば、IP部110は、ユニークローカルアドレス「FD01:AAAA::xxxx:xxxx:xxxx:xxxx」をL3IF133に設定する。 Thereafter, the NE 200 sets the generated unique local address as a global address in the bridge (S109). For example, the IP unit 110 sets the unique local address “FD01: AAAAA :: xxxx: xxxx: xxxx: xxxx” in the L3IF 133.
 これにより、以後、NE200に設定されたユニークローカルアドレスを用いて、ローカルPC300からNE200に対するリモートアクセスが可能となり、正式なグローバルアドレスの設定前に、各種設定が可能となる。 This enables remote access to the NE 200 from the local PC 300 using the unique local address set in the NE 200, and various settings can be made before the official global address is set.
 尚、アドレス管理DB160が不揮発性記憶装置内の記憶領域であり、ステップS101による起動前に既にIPv6のグローバルアドレスが設定済みで、かつ、当該グローバルアドレスの有効期限内である場合には、ステップS106において、ブリッジにグローバルアドレスが設定されていると判定され、ステップS107からS109のユニークローカルアドレスの生成及び設定を行わない。この場合、既存のグローバルアドレスを用いることが可能なためである。 If the address management DB 160 is a storage area in the non-volatile storage device, and the IPv6 global address has already been set before the activation in step S101 and the validity period of the global address is within the valid period, step S106 In step S107, it is determined that a global address is set in the bridge, and the generation and setting of the unique local address in steps S107 to S109 are not performed. This is because an existing global address can be used in this case.
 図6は、本発明の実施の形態2にかかるNE200へのリモートアクセスの流れを示すシーケンス図である。ここでは、ローカルPC300からNE100を介してNE200へリモートアクセスを行うまでの流れを説明する。 FIG. 6 is a sequence diagram showing a flow of remote access to the NE 200 according to the second embodiment of the present invention. Here, a flow from the local PC 300 to remote access to the NE 200 via the NE 100 will be described.
 まず、NE200が所定の設置場所に設置され(S201)、起動する(S202)。また、NE100についても他の設置場所に設置され(S204)、起動する(S205)。ここで、NE100とNE200とは、各設置場所において設置者の手動設定により、互いにL2レベルの無線接続が可能に設定されるものとする。 First, the NE 200 is installed at a predetermined installation location (S201) and activated (S202). The NE 100 is also installed at another installation location (S204) and activated (S205). Here, NE 100 and NE 200 are set to be capable of L2 level wireless connection with each other by manual setting by the installer at each installation location.
 続いて、NE200及び100は、それぞれ図5に示したアドレス設定処理(S203及びS206)が実行され、LCTポートにリンクローカルアドレス、ブリッジにリンクローカルアドレス及びグローバルアドレスとしてのユニークローカルアドレスが設定される。 Subsequently, the NEs 200 and 100 execute the address setting process (S203 and S206) shown in FIG. 5, respectively, and the link local address is set in the LCT port, the link local address and the unique local address as the global address are set in the bridge. .
 その後、ローカルPC300は、NE100のLCTポートに対して接続を行う(S207)。そして、ローカルPC300は、NE100のLCTポートのリンクローカルアドレスに対してローカルアクセスを行う(S208)。これにより、ローカルPC300からNE100に対して各種設定を行うことができる。一方、この時点では、ローカルPC300とNE200とは接続されていない。但し、上述の通り、NE100とNE200とは、L2レベルの無線接続が可能となっている。 Thereafter, the local PC 300 connects to the LCT port of the NE 100 (S207). Then, the local PC 300 performs local access to the link local address of the LCT port of the NE 100 (S208). Thereby, various settings can be performed from the local PC 300 to the NE 100. On the other hand, at this time, the local PC 300 and the NE 200 are not connected. However, as described above, the NE 100 and the NE 200 can perform L2 level wireless connection.
 これと並行して、NE100及び200のそれぞれは、LLDP(Link Layer Discovery Protocol)により自身のプライマリアドレス161を互いに通知し合う。そのため、NE100は、NE200からのLLDPによりNE200のプライマリアドレスとしてのユニークローカルアドレスを取得する。同様に、NE200もNE100からのLLDPによりNE100のプライマリアドレスとしてのユニークローカルアドレスを取得する。続いて、ローカルPC300は、NE100を介してNE200のユニークローカルアドレスに対してリモートアクセスを行う(S210)。つまり、ローカルPC300は、NE100を介した無線通信により、NE200へアクセスを行う。これにより、ローカルPC300からNE200に対して各種設定を行うことができる。ここで、各種設定とは、例えば、ユーザデータの伝送効率を上げるための設定等である。 In parallel with this, the NEs 100 and 200 notify each other of their primary addresses 161 by LLDP (Link Layer Discovery). Therefore, the NE 100 acquires a unique local address as a primary address of the NE 200 by LLDP from the NE 200. Similarly, NE 200 also acquires a unique local address as a primary address of NE 100 by LLDP from NE 100. Subsequently, the local PC 300 performs remote access to the unique local address of the NE 200 via the NE 100 (S210). That is, the local PC 300 accesses the NE 200 by wireless communication via the NE 100. Thereby, various settings can be made from the local PC 300 to the NE 200. Here, the various settings are, for example, settings for increasing the transmission efficiency of user data.
 図7は、本発明の実施の形態2にかかるグローバルアドレス設定処理の流れを示すシーケンス図である。図7の処理は、本発明の実施の形態2にかかるNE100又は200のいずれに対しても適用可能である。また、NE100とNE200の間は、既に互いにL2レベルの無線接続が可能に設定済みとする。 FIG. 7 is a sequence diagram showing a flow of global address setting processing according to the second embodiment of the present invention. The process of FIG. 7 is applicable to either NE 100 or 200 according to the second embodiment of the present invention. In addition, it is assumed that the NE 100 and the NE 200 have already been set to be capable of L2 level wireless connection.
 まず、IP部110は、図5のステップS107からS109に示したように、ユニークローカルアドレスを生成し(S111)、生成したユニークローカルアドレスをソフトブリッジ140に設定する(S112)。併せて、IP部110は、アドレス管理DB160のプライマリアドレス161に、生成したユニークローカルアドレスを登録する。 First, as shown in steps S107 to S109 in FIG. 5, the IP unit 110 generates a unique local address (S111), and sets the generated unique local address in the soft bridge 140 (S112). In addition, the IP unit 110 registers the generated unique local address in the primary address 161 of the address management DB 160.
 次に、ソフトブリッジ140は、ユニークローカルアドレスの設定に応じて、ルータ400に対してRSの送信を開始する(S113、S114)。例えば、ソフトブリッジ140は、RAを受信するまで、10秒周期でRSを送信する。その後、ソフトブリッジ140は、ルータ400からRAを受信する(S115)。ここで、RAのパケットには、ルータ400に割り当てられたネットワークアドレスやデフォルトGWの情報が含まれる。 Next, the soft bridge 140 starts RS transmission to the router 400 according to the setting of the unique local address (S113, S114). For example, the soft bridge 140 transmits the RS at a cycle of 10 seconds until the RA is received. Thereafter, the soft bridge 140 receives the RA from the router 400 (S115). Here, the RA packet includes the network address assigned to the router 400 and information on the default GW.
 アドレス処理部150は、ソフトブリッジ140におけるRAの受信に応じて、RSの送信を停止し、RAに含まれるネットワークアドレスに基づいてグローバルアドレスを生成し、ソフトブリッジ140に設定する(S116)。また、この時、アドレス処理部150は、ソフトブリッジ140に、デフォルトGWの設定も行う。 The address processing unit 150 stops RS transmission in response to the reception of the RA in the soft bridge 140, generates a global address based on the network address included in the RA, and sets the global address in the soft bridge 140 (S116). At this time, the address processing unit 150 also sets a default GW in the soft bridge 140.
 また、IP部110は、IPv6監視プロセスによりグローバルアドレスの生成を検出する(S117)。そして、IP部110は、ユニークローカルアドレスの削除を行う(S118)。すなわち、ステップS116~S118において、アドレス処理部150は、アドレス管理DB160に、生成したユニークローカルアドレスを登録する。また、IP部110は、アドレス管理DB160のプライマリアドレス161に登録されたユニークローカルアドレスを削除する。その結果、アドレス管理DB160のプライマリアドレス161は、ステップS116で登録したグローバルアドレスとなる。以後、ソフトブリッジ140は、ルータ400からRAを受信し続ける(S119)ことにより、設定したグローバルアドレスの有効期限を更新し、当該グローバルアドレスを保持する。 In addition, the IP unit 110 detects the generation of a global address by the IPv6 monitoring process (S117). Then, the IP unit 110 deletes the unique local address (S118). That is, in steps S116 to S118, the address processing unit 150 registers the generated unique local address in the address management DB 160. In addition, the IP unit 110 deletes the unique local address registered in the primary address 161 of the address management DB 160. As a result, the primary address 161 of the address management DB 160 becomes the global address registered in step S116. Thereafter, the soft bridge 140 continues to receive RA from the router 400 (S119), thereby updating the expiration date of the set global address and holding the global address.
 図8は、本発明の実施の形態2にかかる通信装置への監視設定の流れを示すシーケンス図である。図8は、上述した図6のリモートアクセス後の流れを示す。 FIG. 8 is a sequence diagram showing a flow of monitoring setting to the communication apparatus according to the second embodiment of the present invention. FIG. 8 shows a flow after the remote access of FIG. 6 described above.
 ルータ400は、図7のステップS115等のように、RAをNE100及び200へ送信する(S211及びS212)。これにより、上述したように、NE100及び200のそれぞれにおいて、ユニークローカルアドレスからグローバルアドレスへ設定変更される。そして、ルータ400は、NE100のNMSポートに接続する(S213)。 The router 400 transmits the RA to the NEs 100 and 200 as in step S115 in FIG. 7 (S211 and S212). Thereby, as described above, the setting is changed from the unique local address to the global address in each of the NEs 100 and 200. Then, the router 400 connects to the NMS port of the NE 100 (S213).
 そして、リモートPC700は、NE100のグローバルアドレスに対してリモートアクセスを行う(S214)。すなわち、リモートPC700は、ルータ600、ネットワーク500、ルータ400を介してNE100へアクセスする。 Then, the remote PC 700 performs remote access to the global address of the NE 100 (S214). That is, the remote PC 700 accesses the NE 100 via the router 600, the network 500, and the router 400.
 また、リモートPC700は、NE200のグローバルアドレスに対してリモートアクセスを行う(S215)。すなわち、リモートPC700は、ルータ600、ネットワーク500、ルータ400、NE100を介してNE200へアクセスする。 Further, the remote PC 700 performs remote access to the global address of the NE 200 (S215). That is, the remote PC 700 accesses the NE 200 via the router 600, the network 500, the router 400, and the NE 100.
 以上のことから、本実施の形態では、遠隔地に設置されたNE200に対してルータ400からのRA受信前に、IPv6のグローバルアドレスとしてユニークアドレスを自動的に設定することができる。そのため、IPv6のグローバルアドレスの設定のために設置場所へネットワークエンジニアが訪問する必要がなく、通信装置の設置容易性が向上する。 From the above, in this embodiment, a unique address can be automatically set as an IPv6 global address before the RA reception from the router 400 to the NE 200 installed in a remote place. Therefore, it is not necessary for the network engineer to visit the installation location for setting the IPv6 global address, and the ease of installation of the communication device is improved.
 ここで、NE100及び200には、リンクローカルアドレスについては個別に自動的に設定されるが、リンクローカルアドレスを用いて同一リンク外とのIPv6通信を行うことができない。また、NE100及び200は、グローバルアドレスを設定するには、通常、ルータからRA(Router Advertisement)を受信する必要がある。つまり、IPv6に対応したルータと通信可能となるまでは、NE100及び200は、グローバルアドレスを取得することができない。また、NE100及び200の設置時には、ルータのIPv6のネットワークアドレスが未決定の場合もある。 Here, in the NEs 100 and 200, the link local address is automatically set individually, but IPv6 communication with the outside of the same link cannot be performed using the link local address. Further, NEs 100 and 200 usually need to receive RA (Router-Advertisement) from a router in order to set a global address. That is, the NEs 100 and 200 cannot acquire a global address until communication with a router compatible with IPv6 becomes possible. In addition, when the NEs 100 and 200 are installed, the IPv6 network address of the router may be undecided.
 しかしながら、例えば、NE100とNE200の間のL2レベルのユーザデータ通信については、IPv6の設定とは別に開始可能である。そのため、NE100及び200は、ブリッジ12にグローバルアドレスが設定されていない場合に、自身でユニークローカルアドレスを生成してグローバルアドレスとしてブリッジ12に設定する。これにより、IPv6に対応したルータとの通信によらず、IPv6のユニークローカルアドレスを用いてIPv6通信によるアクセスができる。例えば、NE100とNE200とのIPv6通信が可能となることから、NE100へのローカルアクセスを用いて、ローカルPC300からNE200へのリモートアクセスが実現できる。それ故、リモートでNE200における各種設定作業が可能となる。そのため、遠隔地に設置された通信装置へ、設置後に再度ネットワークエンジニアが赴く必要がなくなり、通信装置の設定作業を容易にすることができる。 However, for example, L2 level user data communication between the NE 100 and the NE 200 can be started separately from the IPv6 setting. Therefore, the NEs 100 and 200 generate a unique local address by themselves and set it as the global address in the bridge 12 when the global address is not set in the bridge 12. As a result, access by IPv6 communication can be performed using a unique local address of IPv6 without communication with a router compatible with IPv6. For example, since IPv6 communication between the NE 100 and the NE 200 is possible, remote access from the local PC 300 to the NE 200 can be realized using local access to the NE 100. Therefore, various setting operations in the NE 200 can be performed remotely. Therefore, it is not necessary for the network engineer to visit the communication device installed at a remote place again after installation, and the setting operation of the communication device can be facilitated.
<実施の形態3>
 本発明の実施の形態3は、上述した実施の形態1の他の実施例である。尚、本実施の形態3は、上述した実施の形態2に機能を追加することでも実現可能である。
<Embodiment 3>
The third embodiment of the present invention is another example of the first embodiment described above. The third embodiment can also be realized by adding a function to the second embodiment described above.
 IPv6のグローバルアドレスは、上述したように、有効期限が設定されているため、NE100又は200は、RAの受信ができない状態が一定時間以上続くと、グローバルアドレスの設定を削除する。この場合、NE200に対する各種設定を行うことができなくなる。そこで、本実施の形態3にかかるアドレス設定部は、ブリッジに設定されたグローバルアドレスの削除後に、ユニークローカルアドレスを生成し、ブリッジに当該生成したユニークローカルアドレスをグローバルアドレスとして設定するものである。これにより、RAの受信ができない状態が一定時間以上続いた後であっても、例えば、ローカルPC300からのリモートアクセスにより必要な設定処理を行うことができる。そのため、NE200の設置場所へネットワークエンジニアが赴く必要がなく、設定作業を容易にすることができる。尚、本実施の形態3にかかる通信装置の構成は、上述した図4と同等であるため、図示及び詳細な説明を省略する。 As described above, since the expiration date is set for the global address of IPv6, the NE 100 or 200 deletes the setting of the global address when the state where the RA cannot be received continues for a certain time or more. In this case, various settings for the NE 200 cannot be performed. Therefore, the address setting unit according to the third embodiment generates a unique local address after deleting the global address set in the bridge, and sets the generated unique local address as a global address in the bridge. As a result, even after a state where RA cannot be received continues for a certain period of time or longer, for example, necessary setting processing can be performed by remote access from the local PC 300. Therefore, it is not necessary for the network engineer to go to the installation location of the NE 200, and the setting work can be facilitated. Note that the configuration of the communication apparatus according to the third embodiment is the same as that of FIG. 4 described above, and thus illustration and detailed description thereof are omitted.
 図9は、本発明の実施の形態3にかかる通信装置の稼働中のアドレス設定処理の流れを示すフローチャートである。まず、IP部110は、ソフトブリッジ140のMACアドレスを取得する(S107)。そして、IP部110は、ソフトブリッジ140に1つ以上のIPv6のグローバルアドレスが設定されているか否かを判定する(S110)。このとき、ソフトブリッジ140に1つ以上のIPv6のグローバルアドレスが設定されている場合には、ステップS108及びS109のユニークローカルアドレスの生成及び設定を行わない。 FIG. 9 is a flowchart showing the flow of address setting processing during operation of the communication apparatus according to the third embodiment of the present invention. First, the IP unit 110 acquires the MAC address of the soft bridge 140 (S107). Then, the IP unit 110 determines whether or not one or more IPv6 global addresses are set in the soft bridge 140 (S110). At this time, when one or more IPv6 global addresses are set in the soft bridge 140, the generation and setting of the unique local addresses in steps S108 and S109 are not performed.
 一方、ステップS110において、ソフトブリッジ140にIPv6のグローバルアドレスが1つも設定されていないと判定された場合、IP部110は、上述したステップS108及びS109によるユニークローカルアドレスの生成及び設定を行う。 On the other hand, if it is determined in step S110 that no IPv6 global address is set in the soft bridge 140, the IP unit 110 generates and sets a unique local address in steps S108 and S109 described above.
 図10は、本発明の実施の形態3にかかるグローバルアドレス設定処理の流れを示すシーケンス図である。尚、図10は、例えば、上述した図7の続きの処理であってもよい。 FIG. 10 is a sequence diagram showing the flow of global address setting processing according to the third embodiment of the present invention. Note that FIG. 10 may be, for example, the continuation of FIG. 7 described above.
 まず、ソフトブリッジ140は、ルータ400からのRAを受信する(S301)。これにより、上述したように、ソフトブリッジ140に設定されたグローバルアドレスの有効期限が更新され、グローバルアドレスが保持される。その後、何らかの事情により、ルータ400からのRAの受信が一定時間以上なくなったものとする。 First, the soft bridge 140 receives the RA from the router 400 (S301). Thereby, as described above, the expiration date of the global address set in the soft bridge 140 is updated, and the global address is held. Thereafter, it is assumed that the reception of RA from the router 400 has been stopped for a certain period of time for some reason.
 その後、アドレス処理部150は、有効期限の徒過によりソフトブリッジ140に対してグローバルアドレスを削除する(S302)。併せて、アドレス処理部150は、アドレス管理DB160内のプライマリアドレス161を削除する。そして、IP部110は、IPv6監視プロセスにより、ソフトブリッジ140のグローバルアドレスの削除を検出する(S303)。例えば、IP部110は、アドレス管理DB160のプライマリアドレス161の削除を検出するか、アドレス処理部150又はソフトブリッジ140からの通知によりグローバルアドレスの削除を検出する。続いて、IP部110は、上述したようにユニークローカルアドレスを生成する(S304)。そして、IP部110は、生成したユニークローカルアドレスをグローバルアドレスとしてソフトブリッジ140に設定する(S305)。併せて、IP部110は、アドレス管理DB160内のプライマリアドレス161に、当該生成したユニークローカルアドレスを登録する。これにより、例えば、NE200に対してローカルPC300からのリモートアクセスにより必要な設定処理を行うことができる。 Thereafter, the address processing unit 150 deletes the global address for the soft bridge 140 due to expiration of the expiration date (S302). At the same time, the address processing unit 150 deletes the primary address 161 in the address management DB 160. Then, the IP unit 110 detects deletion of the global address of the soft bridge 140 by the IPv6 monitoring process (S303). For example, the IP unit 110 detects the deletion of the primary address 161 in the address management DB 160 or detects the deletion of the global address by a notification from the address processing unit 150 or the soft bridge 140. Subsequently, the IP unit 110 generates a unique local address as described above (S304). Then, the IP unit 110 sets the generated unique local address as a global address in the soft bridge 140 (S305). In addition, the IP unit 110 registers the generated unique local address in the primary address 161 in the address management DB 160. Thereby, for example, necessary setting processing can be performed on the NE 200 by remote access from the local PC 300.
<実施の形態4>
 本発明の実施の形態4は、上述した実施の形態2又は3の変形例である。本実施の形態4では、ソフトブリッジ140に3つのL3IFが設定可能、つまり、アドレス管理DB160には3つのアドレスが登録可能であり、また、RAには複数のネットワークアドレスが設定されている場合について説明する。
<Embodiment 4>
The fourth embodiment of the present invention is a modification of the above-described second or third embodiment. In the fourth embodiment, three L3IFs can be set in the soft bridge 140, that is, three addresses can be registered in the address management DB 160, and a plurality of network addresses are set in the RA. explain.
 図11及び図12は、本発明の実施の形態4にかかる複数のネットワークアドレスが設定されたRA受信時のアドレス設定処理の流れを示すシーケンス図である。まず、IP部110は、ソフトブリッジ140に対してユニークローカルアドレス(ULA)「FD01:AAAA::xxxx:xxxx:xxxx:xxxx」を設定する(S401)。このとき、ソフトブリッジ140のIPアドレスの設定状態(アドレス管理DB160の登録内容)として、リンクローカルアドレス(LLA)「FE80::xxxx:xxxx:xxxx:xxxx」が設定済みであり、(ULA)「FD01:AAAA::xxxx:xxxx:xxxx:xxxx」が追加されたことになる(S402)。尚、このとき、プライマリアドレス161は、ULAとなる。 FIGS. 11 and 12 are sequence diagrams showing a flow of address setting processing at the time of RA reception in which a plurality of network addresses according to the fourth embodiment of the present invention are set. First, the IP unit 110 sets a unique local address (ULA) “FD01: AAAAA :: xxxx: xxxx: xxxx: xxxx” for the soft bridge 140 (S401). At this time, the link local address (LLA) “FE80 :: xxxx: xxxx: xxxx: xxxx” is already set as the IP address setting state (registered contents of the address management DB 160) of the soft bridge 140, and (ULA) “ FD01: AAA :: xxxx: xxxx: xxxx: xxxx ”is added (S402). At this time, the primary address 161 is ULA.
 次に、ソフトブリッジ140は、RSを送信する(S403)。そして、ソフトブリッジ140は、ルータ400からRAを受信する(S404)。ここで、ステップS404におけるRAには、2つのネットワークアドレス「2001:1111::/64」及び「2001:2222::/64」とデフォルトGWの情報(不図示)が含まれている。 Next, the soft bridge 140 transmits an RS (S403). The soft bridge 140 receives the RA from the router 400 (S404). Here, the RA in step S404 includes two network addresses “2001: 1111 :: / 64” and “2001: 2222 :: / 64” and default GW information (not shown).
 そこで、アドレス処理部150は、ソフトブリッジ140におけるRAの受信に応じて、RSの送信を停止し、グローバルアドレス(GA)「2001:1111::xxxx:xxxx:xxxx:xxxx」を生成する。つまり、アドレス処理部150は、RAに含まれる2つのネットワークアドレスのうち任意の一つを選択し、選択したネットワークアドレスに基づいてグローバルアドレスを生成する。また、アドレス処理部150は、デフォルトGWのアドレスのアドレスを生成する。そして、アドレス処理部150は、グローバルアドレスとデフォルトGWのアドレスをソフトブリッジ140に設定する(S405)。併せて、アドレス処理部150は、生成したグローバルアドレスとデフォルトGWのアドレスをアドレス管理DB160に登録する。 Therefore, the address processing unit 150 stops the RS transmission in response to the reception of the RA in the soft bridge 140, and generates the global address (GA) “2001: 1111 :: xxxx: xxxx: xxxx: xxxx”. That is, the address processing unit 150 selects any one of the two network addresses included in the RA, and generates a global address based on the selected network address. Further, the address processing unit 150 generates an address of the default GW address. Then, the address processing unit 150 sets the global address and the default GW address in the soft bridge 140 (S405). In addition, the address processing unit 150 registers the generated global address and default GW address in the address management DB 160.
 IP部110は、グローバルアドレス生成を検出する(S406)。そして、IP部110は、ユニークローカルアドレス「FD01:AAAA::xxxx:xxxx:xxxx:xxxx」を削除する(S407)。その結果、ソフトブリッジ140のIPアドレスの設定状態は、(LLA)「FE80::xxxx:xxxx:xxxx:xxxx」及び(GA)「2001:1111::xxxx:xxxx:xxxx:xxxx」となる(S408)。これは、アドレス管理DB160の登録状態ともいえる。また、このときのプライマリアドレス161は、GAとなる。 The IP unit 110 detects global address generation (S406). Then, the IP unit 110 deletes the unique local address “FD01: AAA :: xxxx: xxxx: xxxx: xxxx” (S407). As a result, the setting state of the IP address of the soft bridge 140 becomes (LLA) “FE80 :: xxxx: xxxx: xxxx: xxxx” and (GA) “2001: 1111 :: xxxx: xxxx: xxxx: xxxx” ( S408). This can be said to be a registration state of the address management DB 160. Further, the primary address 161 at this time is GA.
 図12に続き、ソフトブリッジ140は、ルータ400からRAを受信する(S409)。ここで、ステップS409におけるRAには、ステップS404と同様の2つのネットワークアドレスとデフォルトGWの情報が含まれている。 12, the soft bridge 140 receives the RA from the router 400 (S409). Here, the RA in step S409 includes the same two network addresses and default GW information as in step S404.
 そして、アドレス処理部150は、ソフトブリッジ140におけるRAの受信に応じて、RAに含まれる2つのネットワークアドレスのうち前回未選択のものを選択し、選択したネットワークアドレスに基づいてグローバルアドレス(GA)「2001:2222::xxxx:xxxx:xxxx:xxxx」を生成する。また、アドレス処理部150は、デフォルトGWのアドレスを生成する。そして、アドレス処理部150は、グローバルアドレスとデフォルトGWのアドレスのアドレスをソフトブリッジ140に設定する(S410)。併せて、アドレス処理部150は、生成したグローバルアドレスとデフォルトGWのアドレスをアドレス管理DB160に登録する。その結果、ソフトブリッジ140のIPアドレスの設定状態は、(LLA)「FE80::xxxx:xxxx:xxxx:xxxx」、(GA)「2001:1111::xxxx:xxxx:xxxx:xxxx」及び(GA)「2001:2222::xxxx:xxxx:xxxx:xxxx」となる(S411)。 Then, in response to the reception of the RA in the soft bridge 140, the address processing unit 150 selects the previously unselected one of the two network addresses included in the RA, and the global address (GA) based on the selected network address. “2001: 2222 :: xxxx: xxxx: xxxx: xxxx” is generated. Further, the address processing unit 150 generates a default GW address. The address processing unit 150 sets the global address and the default GW address in the soft bridge 140 (S410). In addition, the address processing unit 150 registers the generated global address and default GW address in the address management DB 160. As a result, the setting state of the IP address of the soft bridge 140 is (LLA) “FE80 :: xxxx: xxxx: xxxx: xxxx”, (GA) “2001: 1111 :: xxxx: xxxx: xxxx: xxxx” and (GA ) "2001: 2222 :: xxxx: xxxx: xxxx: xxxx" (S411).
 以上のことから、本実施の形態4におけるIPv6アドレス及びデフォルトGWのアドレスの生成及び削除については、次のようにまとめられる。
 (1)ソフトブリッジ140に設定されているグローバルアドレスが2つ以上存在し、その中の1つがユニークローカルアドレスの場合は下記を行う。
  (a)ユニークローカルアドレスを削除する。
  (b)アドレス管理DB160のプライマリアドレス161と、ソフトブリッジ140に設定されたグローバルアドレスとが異なる場合、当該設定されたグローバルアドレスをアドレス管理DB160に登録する。
From the above, the generation and deletion of the IPv6 address and the default GW address in the fourth embodiment can be summarized as follows.
(1) When there are two or more global addresses set in the soft bridge 140 and one of them is a unique local address, the following is performed.
(A) Delete the unique local address.
(B) When the primary address 161 in the address management DB 160 is different from the global address set in the soft bridge 140, the set global address is registered in the address management DB 160.
 (2)ソフトブリッジ140に設定されているグローバルアドレスが1つも存在しない場合は以下を行う。
  (a)ユニークローカルアドレスを設定する。
  (b)アドレス管理DB160のプライマリアドレス161に(a)で設定したユニークローカルアドレスを登録する。
(2) If there is no global address set in the soft bridge 140, the following is performed.
(A) A unique local address is set.
(B) The unique local address set in (a) is registered in the primary address 161 of the address management DB 160.
 (3)ソフトブリッジ140に設定されているグローバルアドレスが1つ以上存在し、ユニークローカルアドレスが存在しない場合は以下を行う。
  (a)グローバルアドレスが2つ以上存在する時は値が大きい方をプライマリアドレスとする。
  (b)アドレス管理DB160のプライマリアドレス161と、ソフトブリッジ140に設定されたグローバルアドレスとが異なる場合、当該設定されたグローバルアドレスをプライマリアドレス161としてアドレス管理DB160に登録する。
(3) If one or more global addresses set in the soft bridge 140 exist and no unique local address exists, the following is performed.
(A) When there are two or more global addresses, the larger one is set as the primary address.
(B) When the primary address 161 of the address management DB 160 is different from the global address set in the soft bridge 140, the set global address is registered in the address management DB 160 as the primary address 161.
 (4)RA受信で生成されたデフォルトGWのアドレスが存在せず、アドレス管理DB160上の値と異なる場合、アドレス管理DB160にネクストホップとして「::」を設定する。 (4) If the default GW address generated by the RA reception does not exist and is different from the value on the address management DB 160, “::” is set as the next hop in the address management DB 160.
 (5)RA受信で生成されたデフォルトGWのアドレスが存在し、アドレス管理DB160上の値と異なる場合、当該デフォルトGWのアドレスをアドレス管理DB160へ登録する。 (5) When the address of the default GW generated by the RA reception exists and is different from the value on the address management DB 160, the address of the default GW is registered in the address management DB 160.
<その他の実施の形態>
 尚、上述した実施形態にかかる通信装置は、無線通信だけでなく、有線通信にも適用可能である。また、実施形態2では、2台のNE間の例で説明したが、3台以上が直列に接続される場合において、各NEにおいても適用可能である。
<Other embodiments>
The communication device according to the above-described embodiment can be applied not only to wireless communication but also to wired communication. In the second embodiment, the example between two NEs has been described. However, when three or more NEs are connected in series, the present invention can also be applied to each NE.
 なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 Note that the present invention is not limited to the above-described embodiment, and can be appropriately changed without departing from the spirit of the present invention.
 また、上述の実施の形態では、本発明をハードウェアの構成として説明したが、本発明は、これに限定されるものではない。本発明は、任意の処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。 In the above embodiment, the present invention has been described as a hardware configuration, but the present invention is not limited to this. The present invention can also realize arbitrary processing by causing a CPU (Central Processing Unit) to execute a computer program.
 上述の例において、プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD-ROM(Read Only Memory)、CD-R、CD-R/W、DVD(Digital Versatile Disc)、BD(Blu-ray(登録商標) Disc)、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 In the above example, the program can be stored using various types of non-transitory computer-readable media and supplied to a computer. Non-transitory computer readable media include various types of tangible storage media (tangible storage medium). Examples of non-transitory computer-readable media include magnetic recording media (eg flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (eg magneto-optical discs), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, DVD (Digital Versatile Disc), BD (Blu-ray (registered trademark) Disc), semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM ( Random Access Memory)). The program may also be supplied to the computer by various types of temporary computer-readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
 以上、実施の形態を参照して本願発明を説明したが、本願発明は上記によって限定されるものではない。本願発明の構成や詳細には、発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 The present invention has been described above with reference to the embodiment, but the present invention is not limited to the above. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the invention.
 この出願は、2016年3月24日に出願された日本出願特願2016-059870を基礎とする優先権を主張し、その開示の全てをここに取り込む。 This application claims priority based on Japanese Patent Application No. 2016-059870 filed on Mar. 24, 2016, the entire disclosure of which is incorporated herein.
 10 通信装置
 11 アドレス設定部
 12 ブリッジ
 13 ユニークローカルアドレス
 1000 通信システム
 100 NE
 200 NE
 300 ローカルPC
 400 ルータ
 500 ネットワーク
 600 ルータ
 700 リモートPC
 800 NMS
 110 IP部
 111 LCTポート
 112 NMSポート
 113 MODEMポート
 121 L2IF
 122 L2IF
 123 L2IF
 131 L3IF
 132 L3IF
 133 L3IF
 140 ソフトブリッジ
 150 アドレス処理部
 160 アドレス管理DB
 161 プライマリアドレス
DESCRIPTION OF SYMBOLS 10 Communication apparatus 11 Address setting part 12 Bridge 13 Unique local address 1000 Communication system 100 NE
200 NE
300 local PC
400 router 500 network 600 router 700 remote PC
800 NMS
110 IP section 111 LCT port 112 NMS port 113 MODEM port 121 L2IF
122 L2IF
123 L2IF
131 L3IF
132 L3IF
133 L3IF
140 Soft Bridge 150 Address Processing Unit 160 Address Management DB
161 Primary address

Claims (8)

  1.  ブリッジにIPv6のグローバルアドレスが設定されていない場合に、当該IPv6のユニークローカルアドレスを生成し、当該ブリッジに当該生成したユニークローカルアドレスを前記グローバルアドレスとして設定するアドレス設定手段
     を備える通信装置。
    A communication apparatus comprising: an address setting unit configured to generate an IPv6 unique local address and set the generated unique local address as the global address in the bridge when an IPv6 global address is not set in the bridge.
  2.  前記アドレス設定手段は、
     固定のネットワークアドレスを用いて前記ユニークローカルアドレスを生成する
     請求項1に記載の通信装置。
    The address setting means includes
    The communication apparatus according to claim 1, wherein the unique local address is generated using a fixed network address.
  3.  前記アドレス設定手段は、
     前記ブリッジのアドレス設定の初期化後に、前記ユニークローカルアドレスを生成し、
     前記ブリッジに前記生成したユニークローカルアドレスを前記グローバルアドレスとして設定する
     請求項1又は2に記載の通信装置。
    The address setting means includes
    After initializing the bridge address settings, generate the unique local address,
    The communication apparatus according to claim 1, wherein the generated unique local address is set as the global address in the bridge.
  4.  前記アドレス設定手段は、
     前記ブリッジに設定された前記グローバルアドレスの削除後に、前記ユニークローカルアドレスを生成し、前記ブリッジに当該生成したユニークローカルアドレスを前記グローバルアドレスとして設定する
     請求項1乃至3のいずれか1項に記載の通信装置。
    The address setting means includes
    4. The unique local address is generated after the global address set in the bridge is deleted, and the generated unique local address is set as the global address in the bridge. 5. Communication device.
  5.  前記アドレス設定手段は、
     前記ブリッジに前記ユニークローカルアドレスを設定した後に、RS(Router Solicitation)を送信する
     請求項1乃至4のいずれか1項に記載の通信装置。
    The address setting means includes
    The communication apparatus according to any one of claims 1 to 4, wherein RS (Router Solicitation) is transmitted after the unique local address is set in the bridge.
  6.  前記アドレス設定手段は、
     RA(Router Advertisement)の受信後に、前記ブリッジに設定した前記ユニークローカルアドレスを削除する
     請求項1乃至5のいずれか1項に記載の通信装置。
    The address setting means includes
    The communication device according to claim 1, wherein the unique local address set in the bridge is deleted after receiving an RA (Router Advertisement).
  7.  リンク外との通信において優先的に使用するグローバルアドレスを示すプライマリアドレスを管理するアドレス管理記憶手段をさらに備え、
     前記アドレス設定手段は、
     前記生成したユニークローカルアドレスを前記アドレス管理記憶手段内の前記プライマリアドレスに登録する
     請求項1乃至6のいずれか1項に記載の通信装置。
    Address management storage means for managing a primary address indicating a global address preferentially used in communication outside the link,
    The address setting means includes
    The communication apparatus according to claim 1, wherein the generated unique local address is registered in the primary address in the address management storage unit.
  8.  ブリッジにIPv6のグローバルアドレスが設定されていない場合に、前記IPv6のユニークローカルアドレスを生成し、
     前記ブリッジに前記生成したユニークローカルアドレスを前記グローバルアドレスとして設定する
     通信装置のアドレス設定方法。
    When an IPv6 global address is not set in the bridge, a unique local address of IPv6 is generated,
    An address setting method for a communication device, wherein the generated unique local address is set as the global address in the bridge.
PCT/JP2017/004792 2016-03-24 2017-02-09 Communication device and address setting method therefor WO2017163651A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016-059870 2016-03-24
JP2016059870 2016-03-24

Publications (1)

Publication Number Publication Date
WO2017163651A1 true WO2017163651A1 (en) 2017-09-28

Family

ID=59901062

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/004792 WO2017163651A1 (en) 2016-03-24 2017-02-09 Communication device and address setting method therefor

Country Status (1)

Country Link
WO (1) WO2017163651A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002094558A (en) * 2000-09-14 2002-03-29 Toshiba Corp Packet transfer method, mobile terminal and router device
JP2007300608A (en) * 2006-04-28 2007-11-15 Samsung Electronics Co Ltd Method and apparatus for generating ipv6 unique local address
JP2010171884A (en) * 2009-01-26 2010-08-05 Jfe Systems Inc Network equipment setting method
JP2014103493A (en) * 2012-11-19 2014-06-05 Fuji Xerox Co Ltd Communication system, relay device, user terminal and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002094558A (en) * 2000-09-14 2002-03-29 Toshiba Corp Packet transfer method, mobile terminal and router device
JP2007300608A (en) * 2006-04-28 2007-11-15 Samsung Electronics Co Ltd Method and apparatus for generating ipv6 unique local address
JP2010171884A (en) * 2009-01-26 2010-08-05 Jfe Systems Inc Network equipment setting method
JP2014103493A (en) * 2012-11-19 2014-06-05 Fuji Xerox Co Ltd Communication system, relay device, user terminal and program

Similar Documents

Publication Publication Date Title
US8077632B2 (en) Automatic LAN/WAN port detection
US10412008B2 (en) Packet processing method, apparatus, and system
EP2066080B1 (en) The method and device for managing route information and retransmitting data in accessing device
JP5967173B2 (en) Network relay device, method for setting operation mode of packet relay processing unit included in network relay device, and computer program
US9705845B2 (en) Network access device and method for automatically establishing connection to a wide area network
US11895006B2 (en) Communication method, device, and system
CN107769939B (en) Network element management method, network management, gateway network element and system in data communication network
CN107948150B (en) Message forwarding method and device
CN112654049B (en) Method, system, node and medium for configuring a wireless communication coverage extension system
JP5907239B2 (en) Network relay device, method for setting operation mode of packet relay processing unit included in network relay device, and computer program
US20150229523A1 (en) Virtual extensible local area network (vxlan) system of automatically configuring multicasting tunnel for segment of virtual extensible local area network according to life cycle of end system and operating method thereof
US11895021B2 (en) Message sending and receiving method, apparatus, and system
US11777898B2 (en) Apparatus and method for establishing and maintaining a DS-lite tunnel
WO2012136006A1 (en) Routing method and device for host in multi-homing site
WO2006121278A1 (en) Method and apparatus for relaying remote access from a public network to a local network
US20160218958A1 (en) Method and system for forwarding packet in id/locator separation environment
CN107342940B (en) Control information generation method and device and message processing method and device
US8140710B2 (en) Home link setting method, home gateway device, and mobile terminal
WO2017163651A1 (en) Communication device and address setting method therefor
CN106878173B (en) Route sending method and device
JP6406712B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN106452992B (en) Method and device for realizing remote multi-homing networking
JP2004135108A (en) Communication control method, communication terminal, router, control program of communication terminal and control program of router
US20230171226A1 (en) Method for configuring a communication network and node implementing said configuration method
CN112583686A (en) Data transmission method and device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17769698

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17769698

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP