CN101945142A - Method for realizing IPV6 global address allocation of PPP link on Linux - Google Patents
Method for realizing IPV6 global address allocation of PPP link on Linux Download PDFInfo
- Publication number
- CN101945142A CN101945142A CN 201010285793 CN201010285793A CN101945142A CN 101945142 A CN101945142 A CN 101945142A CN 201010285793 CN201010285793 CN 201010285793 CN 201010285793 A CN201010285793 A CN 201010285793A CN 101945142 A CN101945142 A CN 101945142A
- Authority
- CN
- China
- Prior art keywords
- ppp
- linux
- ppp link
- ipv6
- ipv6 global
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method for realizing the IPV6 global address allocation of a PPP link on Linux. In the method, when PPP dial access or disconnection occurs at a client, the PPP link is triggered to start an UP or a DOWN event; and at the same time, the executable scripts under a linux operation system are called automatically and the IPV6 global unicast address allocation information at two ends of the PPP link is generated automatically in a DHCPv6Serve allocation file. In the invention, the IPV6 global unicast address allocation at the two ends of the PPP link is accomplished without changing the information of a message, and the time for changing the IPV6 global unicast address is reduced.
Description
[technical field]
The present invention relates to a kind of communication field, relate in particular to a kind of method that on Linux, realizes the IPv6 global address configuration of ppp link.
[background technology]
Along with the limited address space of IPv4 (Internet protocol the 4th edition) definition with depleted, and people are in characteristic and the advantage of constantly understanding, accept IPv6 (Internet protocol sixth version), based on the Next Generation Internet development rapidly of IPv6.And the deployment of IPv6 and specific properties thereof have shown the difference with many aspects of IPv4, for example: in PPPoE Server dial-up access, for just depositing difference on PPP (point-to-point protocol) the both link ends address configuration.Building the PPPoE Server that supports IPv4 and realize that the IPv4 address configuration at ppp link two ends has been a very ripe technology under linux operating system, mainly is IPCP protocol configuration by the PPP session stage based on the address, ppp link two ends of IPv4.
Based on the IPv6CP agreement of IPv6 after obtaining Interface Identifier (identifier interface), what generate is the ppp link local address, but link local address can not use on public network, so just can't realize function of surfing the Net, and this is just to people's very burden of having gone up guipure.Existing a kind of solution is to expand by the IPv6 control protocol IPv6CP message content to the PPP stage, the main utilization expanded the IPv6 global unicast address configuration information that content field is carried the PPP interface, and sends to the client of request dialing together along with the IPv6CP message.The problem that this method will cause has: by revising the problem on message existence compatibility and the versatility, need be to the different IPv6 global unicast address of each ppp link configuration, when if a large amount of PPP dial-up accesses is arranged, a large amount of time of cost is gone to revise the IPv6 global unicast address, and on processing speed, be difficult to reach the linear speed demand.Therefore be difficult to effectively solve the configuration of IPv6 global unicast address.
[summary of the invention]
The technical problem to be solved in the present invention, be to provide a kind of method that on Linux, realizes the IPv6 global address configuration of ppp link, this method need not to revise the information of message just can finish the IPv6 global unicast address configuration of ppp link two ends, has reduced the time of revising the IPv6 global unicast address.
The present invention is achieved in that the IPv6 global address configuration that realizes ppp link on Linux, may further comprise the steps:
The present invention has following advantage: when client has the PPP dial-up access or disconnects, ppp link be will trigger and UP or DOWN incident begun, automatically call the script carried out under the linux operating system this moment, automatically produce the configuration information of ppp link two ends IPv6 global unicast address in the DHCPv6Serve configuration file, the information that need not to revise message just can be finished the IPv6 global unicast address configuration of ppp link two ends, has reduced the time of revising the IPv6 global unicast address.
[description of drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the inventive method related client and the structural representation that has the server end of linux operating system.
Fig. 2 is the inventive method schematic flow sheet.
[embodiment]
As shown in Figure 1, the present invention is connected to form by a dialup client 1 and a server end 2 (see figure 1)s, and the server end 2 shown in it is equipped with linux operating system.
Described dialup client 1: support the client of PPP dialing, for example: Windows xp client, the broadband access product of supporting dialing or router etc.
Described linux operating system: can support IPv6, and on operating system, PPPoE Server and DHCPv6Server software are installed.
The invention will be further described below in conjunction with Fig. 2:
On Linux, realize the IPv6 global address configuration of ppp link, may further comprise the steps:
The wherein said script of carrying out is achieved in that when new PPP dial-up access, in the DHCPv6Server configuration file, write the IPv6 global unicast address configuration information at these ppp link two ends, restart the configuration that DHCPv6Server just can realize ppp link two ends IPv6 global unicast address then.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to the present patent application claim change and modify, and all should belong to covering scope of the present invention.
Claims (2)
1. on Linux, realize the IPv6 global address configuration of ppp link, may further comprise the steps:
Step 10, in (SuSE) Linux OS, install to support PPPoE Server and the DHCPv6Server of IPv6;
Step 20, after (SuSE) Linux OS has been adorned PPPoE Server the catalogue of generation/etc/ppp/ipv6-up.d/, under this catalogue, write one and can carry out script;
Step 30, when client has the PPP dial-up access or disconnects, ppp link be will trigger and UP or DOWN incident begun, automatically call the script carried out under the linux operating system this moment, produces the configuration information of ppp link two ends IPv6 global unicast address in the DHCPv6Serve configuration file automatically.
2. the IPv6 global address configuration that on Linux, realizes ppp link according to claim 1, it is characterized in that: the described script of carrying out is as new PPP dial-up access the time, in the DHCPv6Server configuration file, write the IPv6 global unicast address configuration information at these ppp link two ends, restart the configuration that DHCPv6Server just can realize ppp link two ends IPv6 global unicast address then.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010285793 CN101945142A (en) | 2010-09-16 | 2010-09-16 | Method for realizing IPV6 global address allocation of PPP link on Linux |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010285793 CN101945142A (en) | 2010-09-16 | 2010-09-16 | Method for realizing IPV6 global address allocation of PPP link on Linux |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101945142A true CN101945142A (en) | 2011-01-12 |
Family
ID=43436910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010285793 Pending CN101945142A (en) | 2010-09-16 | 2010-09-16 | Method for realizing IPV6 global address allocation of PPP link on Linux |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101945142A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238084A (en) * | 2011-05-03 | 2011-11-09 | 福建星网锐捷网络有限公司 | Method and device for forwarding cross-domain message, route equipment and client |
CN105516366A (en) * | 2016-01-28 | 2016-04-20 | 武汉精伦电气有限公司 | Easy-transplanting terminal software remote wireless upgrading subsystem and method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090013210A1 (en) * | 2007-06-19 | 2009-01-08 | Mcintosh P Stuckey | Systems, devices, agents and methods for monitoring and automatic reboot and restoration of computers, local area networks, wireless access points, modems and other hardware |
CN101753460A (en) * | 2010-01-15 | 2010-06-23 | 杭州华三通信技术有限公司 | Method and device for processing internet protocol version 6(IPV6) routing prefix |
-
2010
- 2010-09-16 CN CN 201010285793 patent/CN101945142A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090013210A1 (en) * | 2007-06-19 | 2009-01-08 | Mcintosh P Stuckey | Systems, devices, agents and methods for monitoring and automatic reboot and restoration of computers, local area networks, wireless access points, modems and other hardware |
CN101753460A (en) * | 2010-01-15 | 2010-06-23 | 杭州华三通信技术有限公司 | Method and device for processing internet protocol version 6(IPV6) routing prefix |
Non-Patent Citations (1)
Title |
---|
《阜阳师范学院学报(自然科学版)》 20040630 赵生慧等 Linux环境下IPv6主机的地址自动配置研究 第69-72页 1-2 第21卷, 第2期 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238084A (en) * | 2011-05-03 | 2011-11-09 | 福建星网锐捷网络有限公司 | Method and device for forwarding cross-domain message, route equipment and client |
CN102238084B (en) * | 2011-05-03 | 2014-07-02 | 福建星网锐捷网络有限公司 | Method and device for forwarding cross-domain message, route equipment and client |
CN105516366A (en) * | 2016-01-28 | 2016-04-20 | 武汉精伦电气有限公司 | Easy-transplanting terminal software remote wireless upgrading subsystem and method |
CN105516366B (en) * | 2016-01-28 | 2018-08-31 | 武汉精伦电气有限公司 | A kind of easily transplanting terminal software remote radio upgrade subsystem and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103534984A (en) | Port setting method, apparatus and computer program product for routing | |
CN110572484B (en) | Container-based production environment simulation method | |
CN106790467A (en) | A kind of cloud main frame finds the method with automatic deployment automatically | |
CN109698757A (en) | Switch master/slave device, the method for restoring user data, server and the network equipment | |
CN103957117A (en) | System and method for achieving intelligent installation of network equipment | |
CN102869125A (en) | Data card and communication method and system thereof | |
CN103118090A (en) | Household fusion cloud computer terminal realizing method based on public network | |
CN103916854A (en) | Wireless local area network user access fixed broadband network method and system | |
CN103457740A (en) | Portal certification system and method | |
CN103812900A (en) | Data synchronization method, device and system | |
CN102231878A (en) | Data card starting method and data card | |
CN102724767B (en) | Virtual private network access method and device for mobile user | |
CN103631652A (en) | Method and system for achieving virtual machine migration | |
CN103581325A (en) | Cloud computing resource pool system and implement method thereof | |
CN101945142A (en) | Method for realizing IPV6 global address allocation of PPP link on Linux | |
CN102014130A (en) | Automatic registration system of IP telephone of IP-PBX | |
CN103973468A (en) | Processing method and processing device for automatically setting Internet surfing mode | |
WO2015090035A1 (en) | Network resource sharing processing and sharing method, device and system | |
CN104780229A (en) | Method of setting cloud server IP address through cloud terminal, system and cloud system | |
CN105635312A (en) | Method for realizing communication of multiple local area networks based on WinCE system and single network card | |
WO2015123947A1 (en) | Method and apparatus for delivering local area network information | |
CN100454825C (en) | Static user access network control method based on MAC address | |
CN106254419A (en) | System and method virtual machine operated by control station server | |
CN103067476A (en) | Dynamic network reconstruction method based on virtual machine | |
CN102761629B (en) | The method of dns server address, Apparatus and system are set |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110112 |