CN100341296C - Mobile node switching control method for MIPv6 experiment - Google Patents
Mobile node switching control method for MIPv6 experiment Download PDFInfo
- Publication number
- CN100341296C CN100341296C CNB2005100963908A CN200510096390A CN100341296C CN 100341296 C CN100341296 C CN 100341296C CN B2005100963908 A CNB2005100963908 A CN B2005100963908A CN 200510096390 A CN200510096390 A CN 200510096390A CN 100341296 C CN100341296 C CN 100341296C
- Authority
- CN
- China
- Prior art keywords
- mobile node
- mipv6
- experiment
- link
- virtual lan
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a mobile node switching control method for MIPv6 experiments, which belongs to a network experiment and simulation technical field. The present invention establishes an MIPv6 experimental environment by using a network switch and a plurality of general computers, wherein the network switch supports an SNMP protocol and the grouping of a virtual local area network (Virtual-LAN, VLAN), the roam switching of a mobile node from a home link to an other place link and form an other place link to an other place link is realized by that a VLAN for an access port of the mobile node is reset on the network switch, and the setting of the VLAN is realized by a control end through an SNMP protocol. Compared with a method for realizing the switching of a mobile node by traditional manual plug-pull network cables or modifying SSID in MIPv6 experiments, the present invention make the switching of the mobile node need no manual operation, and therefore, the automaticity degree of the MIPv6 experiments can be enhanced.
Description
Technical field
The present invention relates to network experiment and emulation technology, especially mobile IP v 6 is the experimental technique of Mobile IPv6 or MIPv6, particularly a kind of mobile node switching control method that is used for the MIPv6 experiment.
Background technology
Along with development of internet technology, various mobile devices press for access network whenever and wherever possible.Therefore internet engineering task working group (Internet Engineering Task Force IETF) has worked out the mobile IPv 6 protocol standard, and it can realize main frame seamless unoccupied place roaming between different IPv6 networks.
In the MIPv6 agreement, defined three class important function entities: mobile node (Mobile Node, MN), home agent (Home Agent, HA) and correspondent node (Correspondent Node, CN).When mobile node during at home link, the main frame of its working method such as fixed-site.After roaming into foreign link, utilize the address configuration mechanism of IPv6 agreement, mobile node can obtain one or more Care-of Address; After this, mobile node sends " Binding Update " to home agent and applies for the registration of, set up " binding " relation of the home address and the Care-of Address of mobile node thereon, like this, home agent will intercept all IPv6 packets that destination address is the moving nodes local address on home link, by the tunnel they are forwarded to the Care-of Address of mobile node; In the home agent registration, mobile node also sends " Binding Update " to Correspondent Node, inform the Correspondent Node present care-of address, make Correspondent Node can revise oneself " banding cache ", and then can use " the second class route head ", send packets directly to mobile node, finish " optimization route ", alleviate network burden.
In the research and development relevant,, need build experimental situation and experimentize and test for validity and the performance of verifying variety of protocol, equipment or software with MIPv6.An important process of experiment is controlled mobile node exactly and roam switching between home link and foreign link, measures and collect related data simultaneously, to verify the real work situation of these agreements, equipment or software.Owing to be subjected to the restriction of cost and complexity aspect, these MIPv6 experimental systems are based upon in the local area network (LAN) under the laboratory environment usually.
At present, in existing MIPv6 experimental system, use a computer mostly as home agent and couple in router, use the different network switchs to constitute home link and foreign link, mobile node has two kinds usually in the control method of switching between home link and foreign link: when mobile node adopts wired mode access network, by hand netting twine is extracted from access interface, inserted then on the access interface of foreign link institute map network switch; When mobile node when the wireless lan (wlan) access network, the manual SSID (Service Set Identifier) that revises mobile node, force its WAP (wireless access point) that is linked into the foreign link correspondence (Access Point, AP) on.Because the switching of each mobile node all needs manual operations, makes experiment to carry out automatically, and the accurate control of switching time also is difficult to realize.
Summary of the invention
The purpose of this invention is to provide a kind of mobile node switching control method of the MIPv6 of being used for experiment, this MIPv6 experimental technique controllability is strong, mobile node switches automatic, flexible.
Technical scheme of the present invention is achieved in that and a computer is set as the experiment control end, operation MIPv6 experiment control program on it, and should should link to each other with at least one the network switch by the experiment control end, when carrying out the MIPv6 experiment, by a computer as the experiment control end, operation MIPv6 experiment control program on it, on the network switch, mark off plural virtual LAN VLAN by Simple Network Management Protocol SNMP, one of them virtual LAN VLAN is chosen all the other one or more virtual LAN VLAN as foreign link as home link; When needs control mobile node is roamed switching between home link and foreign link or between foreign link and the foreign link, control end adopts the virtual LAN VLAN dividing mode based on port, on the network switch, repartition virtual LAN VLAN by Simple Network Management Protocol SNMP, delete the virtual LAN VLAN of access interface under current with mobile node, simultaneously it is added among the target link corresponding virtual local area network (LAN) VLAN, thereby finish handoff procedure.
The experiment control end links to each other with at least one the network switch, as operation MIPv6 experiment control program on the computer of experiment control end, read and revise virtual LAN VLAN configuration parameter on the network switch by Simple Network Management Protocol SNMP, send virtual LAN VLAN to the network switch and divide order.
The present invention only needs the Layer 2 switch that can divide virtual LAN VLAN, adopts the virtual LAN VLAN dividing mode based on port, need not to consider physical connection, can mark off home link and foreign link succinctly, flexibly on switch; Mobile switching controls is flexible, easy, only needs just can finish easily and fast by the virtual LAN VLAN under the dynamic change mobile node MN.Test result shows, in the MIPv6 experimental system of using the present invention to build, the MIPv6 agreement can be good at work, and the packet loss in the MN handoff procedure and time delay also all are improved.
Description of drawings
Fig. 1 is the physical topology that mobile node adopts experimental system when line access mode is arranged;
Fig. 2 is the physical topology of mobile node experimental system when passing through the WLAN (wireless local area network) access way;
Fig. 3 is the system construction drawing of control end;
Fig. 4 is the logical topology of experimental system;
Fig. 5 is the handoff procedure schematic diagram of mobile node MN;
Fig. 6 is before and after mobile node switches, the output result of Packet Sniffer tcpdump on the home agent HA;
Below in conjunction with accompanying drawing content of the present invention is described in further detail.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in detail:
With reference to Fig. 1, shown in Figure 2, the MIPv6 experimental system of building based on the present invention comprises a control end, the network switch more than one or two and the computer more than two, if mobile node then also needs the wireless access point AP more than or two by wlan access network.All mobile node MN, home agent HA, couple in router AR and control end all constitute a local area network (LAN) by network switch interconnection.Provided the MIPv6 experimental system physical topology of minimal configuration among the figure.If mobile node passes through wlan access network, then the experimental system physical topology as shown in Figure 2, its mobile node MN is linked on the network switch by wireless access point AP rather than Ethernet, and the situation of the switching mode of mobile node MN during with wired access is identical.
In experimental system, the network switch must support that (Virtual LAN VLAN) divides for Simple Network Management Protocol snmp protocol and VLAN; Be used as home agent (Home Agent, HA) and couple in router (Access Router, AR) on the computer Ethernet card is installed, and link to each other with the network switch, LINUX operating system, MIPL (Mobile IPv6 for Linux) software and RADVD software are installed on these computers simultaneously; (Mobile Node installs Ethernet card or wireless network module on computer MN), the operating system of IPv6 agreement is supported in operation to be used as mobile node.As MIPv6 experiment control program is housed on the computer of control end.
Fig. 3 is the structured flowchart of MIPv6 experiment control program.Control program has two functions: the one, administer and maintain resource situation, and mainly be the use information of the network switch; The 2nd, finish the division of virtual LAN VLAN on the network switch by Simple Network Management Protocol SNMP.
MIPv6 experiment control program is housed on the control end, and the function of its each module is as follows:
1) I/O control module provides the interface to the user.Input control comprises that basic input error detects,, illegal inputs such as data overflow, non-existent virtual LAN VLAN number incorrect as the data type; Output control major function is the control output format;
2) experimental system hardware resource logging modle, the details of the hardware resource (comprising main frame, the network switch) of record experimental system.The port numbers that CPU, internal memory, IP address, network interface card type and this main frame of record main frame links to each other with the network switch; The port of the record network switch, the operating position of virtual LAN VLAN;
3) network switch control module is to read, revise the current configuration of the network switch.This module is by calling the interface of Simple Network Management Protocol SNMP, the protocol Data Unit of simple structure Network Management Protocols SNMP, communicate by letter with the SNMP agency (Agent) of the network switch, require this Agent to handle Simple Network Management Protocol SNMP request message.
Fig. 4 is the MIPv6 logical topology that configuration obtains in experimental system shown in Figure 1.Below with switching controls in conjunction with this topology explanation mobile node.
The address of home agent HA is fec0:106:2700::2/64, and the address of mobile node is fec0:106:2700::4/64, and the address of nonlocal couple in router AR is fec0:106:1100::1/64.Experimentation is: initial time, and mobile node is positioned at home link; Afterwards sometime, mobile node will switch to foreign link; In whole experiment, mobile node MN continues to use the ping6 program to communicate by letter with home agent HA.Measure respectively under this method and manual switchover dual mode, time delay in the handoff procedure and packet loss are to the analysis of averaging of measurement result repeatedly.
For the terminal that is in respectively in virtual LAN VLAN A, the B can be intercomed mutually, do following setting:
1) home agent HA, couple in router AR belong to virtual LAN VLAN C simultaneously;
2) network interface card on home agent HA, the couple in router AR is set to support to transmit;
3) routing table of modification home agent HA, couple in router AR, make in the virtual LAN VLAN A all packets that mail to virtual LAN VLAN B be transmitted by home agent HA, all packets that mail to virtual LAN VLAN A are transmitted by couple in router AR in the virtual LAN VLAN B.
Fig. 5 is based on virtual LAN VLAN and divides the handoff procedure schematic diagram that the control mobile node switches.
When mobile node MN was switched between home link and foreign link, MIPv6 just can have an effect.When initial, mobile node MN is positioned at home link, belongs to virtual LAN VLAN A; When mobile node switches to foreign link, can realize by repartitioning network switch VLAN.Its detailed process is as shown in Figure 5, earlier mobile node MN to be deleted from virtual LAN VLAN A, and then it is added virtual LAN VLAN B; After mobile node MN switches to virtual LAN VLAN B, can receive the advertising of route message that couple in router AR sends, mobile node MN reconfigures a new Care-of Address according to the local information in the advertising of route.Through above process, be equivalent to mobile node MN and switched to foreign link from home link.In experiment, only need control end import port numbers that mobile node MN links to each other with the network switch with and the virtual LAN VLAN that adds of desire number, control end just can carry out the virtual LAN VLAN division again in the time of setting.Sequence number 1,2 among the figure ... be network switch port numbering.
Fig. 6 is after mobile node switches to foreign link, the result who uses Packet Sniffer tcpdump to measure on home agent HA.
In whole experiment, mobile node MN uses the ping6 program to communicate by letter with home agent HA.Check the sending and receiving bag of home agent HA with the tcpdump instrument, can be clearly seen that handoff procedure: as shown in Figure 6,1. be in the last ping6 information of mobile node MN in the local virtual LAN VLAN; 2. show that mobile node MN is switched to nonlocal virtual LAN VLAN, obtain Care-of Address fec0:106:1100:0:20d:88ff:fe48:1803, and complete successfully registration at the home agent HA place; 3. show that ping6 recovers, mobile node MN is working properly in nonlocal virtual LAN VLAN.
In sum, when MN switches between local virtual LAN VLAN and nonlocal virtual LAN VLAN, after the short interruption that switching causes, communication recovery between mobile node MN and the home agent HA is normal, mobile node MN is in the registration of finishing of home agent success, ping6 works on, and illustrates in this experimental system, and MIPv6 can normally move.
The time delay of two kinds of mobile node handover schemes of table 1 and packet loss contrast.Provide manual plug netting twine and virtual LAN VLAN and divided the performance data of two kinds of mobile node switching control methods.Data as can be seen from table, switching mode based on virtual LAN VLAN is compared with manual plug line switching mode, and packet loss and time delay in the handoff procedure all make moderate progress, but are based on the switching mode of virtual LAN VLAN control, its controllability is stronger, switches convenient, quick.
Table 1 contrast test result
The average packet loss (individual) that switches | Average handover delay (ms) | |
Divide based on VLAN | 7.33 | 445.03 |
Manual plug line | 7.60 | 519.99 |
More than employed equipment disposition situation of test and parameter are as follows: the Star-S1926F+ of a StarNet double layer network switch, 24 10/100Mbps network ports of this network switch configuration, support " port vlan " and " label VLAN " two kinds of mode of operations simultaneously, in experiment, adopt mode of operation based on " port vlan "; Home agent HA, mobile node MN, couple in router AR adopt three PC compatible computers that configuration is identical, be configured to P4 2.4G, 256MB RAM, 10/100M D-Link adaptive net card, operating system is Linux Red Hat 9.0 (kernel version Linux-2.4.26), and MIPL (MobileIPv6 for Linux) version is mipv6-1.1-v2.4.26; It is the RADVD software of radvd-0.8 that HA and AR have installed version, can periodically send advertising of route message.
Claims (2)
1, a kind of mobile node switching control method that is used for the MIPv6 experiment, it is characterized in that, a computer at first is set as the experiment control end, operation MIPv6 experiment control program on it, and should should link to each other with at least one the network switch by the experiment control end, when carrying out the MIPv6 experiment, on the network switch, mark off plural virtual LAN VLAN by Simple Network Management Protocol SNMP, one of them virtual LAN VLAN is chosen all the other one or two above virtual LAN VLAN as foreign link as home link; When needs control mobile node is roamed switching between home link and foreign link or between foreign link and the foreign link, control end adopts the virtual LAN VLAN dividing mode based on port, on the network switch, repartition virtual LAN VLAN by the Simple Network Management Protocol snmp protocol, delete the virtual LAN VLAN of access interface under current with mobile node, simultaneously it is added among the target link corresponding virtual local area network (LAN) VLAN, thereby finish handoff procedure.
2, the mobile node switching control method that is used for the MIPv6 experiment according to claim 1, it is characterized in that, by a computer as the experiment control end, and link to each other with at least one the network switch, as operation MIPv6 experiment control program on the computer of experiment control end, read and revise virtual LAN VLAN configuration parameter on the network switch by Simple Network Management Protocol SNMP, send virtual LAN VLAN to the network switch and divide order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100963908A CN100341296C (en) | 2005-11-21 | 2005-11-21 | Mobile node switching control method for MIPv6 experiment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100963908A CN100341296C (en) | 2005-11-21 | 2005-11-21 | Mobile node switching control method for MIPv6 experiment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1777129A CN1777129A (en) | 2006-05-24 |
CN100341296C true CN100341296C (en) | 2007-10-03 |
Family
ID=36766447
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100963908A Expired - Fee Related CN100341296C (en) | 2005-11-21 | 2005-11-21 | Mobile node switching control method for MIPv6 experiment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100341296C (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2129059B1 (en) * | 2007-03-23 | 2020-05-20 | Sharp Kabushiki Kaisha | Mobile communication terminal and position management device |
CN101453399B (en) | 2007-11-30 | 2012-07-04 | 华为技术有限公司 | Virtual network configuration method and apparatus |
CN101764751B (en) * | 2009-12-25 | 2013-06-05 | 杭州华三通信技术有限公司 | Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN |
JP5708818B2 (en) * | 2011-09-26 | 2015-04-30 | 日本電気株式会社 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
CN105376132B (en) * | 2015-10-27 | 2019-08-16 | 上海斐讯数据通信技术有限公司 | System and method based on client configuring virtual LAN |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1514657A (en) * | 2002-12-31 | 2004-07-21 | 中国科学技术大学 | Fast switching method between subnetworks used on MIPV6 |
KR20050002543A (en) * | 2003-06-30 | 2005-01-07 | 주식회사 케이티 | Mobility management method of mobile IPv6 networks with multicasting |
CN1568044A (en) * | 2003-07-01 | 2005-01-19 | 株式会社日立制作所 | Method of seamless home agent switching of mobile IPv6 |
CN1655549A (en) * | 2004-02-12 | 2005-08-17 | 三星电子株式会社 | Method for assigning a virtual-IP zone in a mobile IPV6 system |
-
2005
- 2005-11-21 CN CNB2005100963908A patent/CN100341296C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1514657A (en) * | 2002-12-31 | 2004-07-21 | 中国科学技术大学 | Fast switching method between subnetworks used on MIPV6 |
KR20050002543A (en) * | 2003-06-30 | 2005-01-07 | 주식회사 케이티 | Mobility management method of mobile IPv6 networks with multicasting |
CN1568044A (en) * | 2003-07-01 | 2005-01-19 | 株式会社日立制作所 | Method of seamless home agent switching of mobile IPv6 |
CN1655549A (en) * | 2004-02-12 | 2005-08-17 | 三星电子株式会社 | Method for assigning a virtual-IP zone in a mobile IPV6 system |
Non-Patent Citations (1)
Title |
---|
移动IPv6技术研究的实验系统概述 王淼,李军,石晶林,中国数据通信,第4期 2003 * |
Also Published As
Publication number | Publication date |
---|---|
CN1777129A (en) | 2006-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Navda et al. | Design and evaluation of imesh: an infrastructure-mode wireless mesh network | |
US8619549B2 (en) | Location based load balancing of wireless access points and wireless switches | |
JP3587984B2 (en) | Mobile communication system, packet gateway device, location information management method, and location information notification method | |
US20130215888A1 (en) | Method of IPv6 at Data Center Network with VM Mobility Using Graceful Address Migration | |
CN101925125B (en) | Method of multipath TCP having mobility and combined with mobile IP (internet protocol) | |
CN100341296C (en) | Mobile node switching control method for MIPv6 experiment | |
CN101005444B (en) | Method and device for quick switching | |
CN1767487A (en) | Be used to control method for communicating with network mobile station | |
CN101026544A (en) | Hierarchical mobility IPv6 rapid switching method and system | |
CN101051986B (en) | Method and device for realizing quick switch | |
CN101080089A (en) | Control method for network switching of mobile terminal, mobile terminal and system | |
CN101208908B (en) | Access point and method for delivering information on media independent handover protocol | |
CN104717142B (en) | Method for carrying out mobility management based on OpenFlow protocol | |
CN1883177A (en) | Methods and apparatus for implementing a speed sensitive mobile router | |
KR101041643B1 (en) | Dynamic radio interface grouping for address allocation | |
Åhlund et al. | M-MIP: extended Mobile IP to maintain multiple connections to overlapping wireless access networks | |
CN100401816C (en) | Method for selecting transfer address by multi-mode mobile terminal based on IPV6 Technology | |
CN101160927A (en) | Method for communicating between the IPv6 communication partner and the mobile IPv6 node as well as the communication partner agent gateway | |
CN105827743B (en) | A kind of implementation method of cloud | |
Wang et al. | Software-defined mobility support in IP networks | |
Marques et al. | Monitoring emerging IPv6 wireless access networks | |
US20050089041A1 (en) | Method and apparatus for assisting a mobile node to transmit a packet | |
CN1503596A (en) | Radio network access mechanism | |
CN1311674C (en) | Method for realizing moving node directly interview each other in same extending network domain | |
Amanowicz et al. | Mobility management in IPv6 tactical networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20071003 Termination date: 20101121 |