CN102790696B - A kind of network access system and method for network access thereof - Google Patents
A kind of network access system and method for network access thereof Download PDFInfo
- Publication number
- CN102790696B CN102790696B CN201210261056.3A CN201210261056A CN102790696B CN 102790696 B CN102790696 B CN 102790696B CN 201210261056 A CN201210261056 A CN 201210261056A CN 102790696 B CN102790696 B CN 102790696B
- Authority
- CN
- China
- Prior art keywords
- modem
- lan
- interface
- adsl
- access
- 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.)
- Active
Links
Abstract
The present invention provides a kind of network access system and method for network access thereof, and described system comprises first and second MODEM, RJ45 netting twines and RJ11 telephone wire, and each MODEM includes DSL interface and multiple LAN side interface; The WAN that the DSL interface of each MODEM connects a RJ11 telephone wire respectively, arbitrary LAN side interface is set on LAN line interface and is configured to IPOE mode connects; On the LAN of each MODEM, a residue LAN side interface of line interface and another MODEM connects; Each MODEM, all has DHCP function and automatic switches default gateway function, for access at it ADSL line fault time by the ADSL circuit of another cat access internet. The present invention utilizes two cat cross connections to backup each other, and when an ADSL line fault, the network equipment, by the ADSL circuit access internet of another cat, ensures the stability of network.
Description
Technical field
The present invention relates to network technology field, particularly relate to a kind of network access system and method for network access thereof.
Background technology
Along with the develop rapidly of network technology, broadband access network business has entered huge numbers of families. Common family generally only accesses an ADSL(AsymmetricDigitalSubscriberLine, ADSL) circuit, but if small-sized enterprise, owing to the requirement of network stabilization is higher, so access two ADSL circuits simultaneously, now just need two MODEM(modulator-demodulator units, it be commonly called as ' cat ') carry out signal conversion, in fact it is that an ADSL circuit correspondence access MODEM is to realize the access of internet. In this case, if there being an ADSL circuit to break down, the network equipment that this ADSL circuit connects just cannot access internet, and the demand of network stabilization is also just challenged by this.
Thus, access the application scene of two ADSL circuits for user, it is necessary to improved by the behindhand type that traditional ADSL circuit correspondence access MODEM realizes linking Internet, to ensure the stability of network simultaneously.
Summary of the invention
It is an object of the invention to provide a kind of network access system and method for network access thereof, two MODEM cross connections are utilized to backup each other, when any bar ADSL line failure, the ADSL circuit access internet that the network equipment that this MODEM connects is accessed by another MODEM, ensures the stability of network.
It is an object of the invention to be achieved through the following technical solutions.
A kind of network access system, this system comprises a MODEM and the 2nd MODEM, and a described MODEM and the 2nd MODEM includes DSL interface and multiple LAN side interface, and this system also comprises the RJ11 telephone wire of row on RJ45 netting twine and ADSL;
For each MODEM, its DSL interface connects a RJ11 telephone wire respectively, and the WAN that wherein arbitrary LAN side interface is set on LAN line interface and is configured to IPOE mode connects; On the LAN of each MODEM, a residue LAN side interface of line interface and another MODEM is connected by RJ45 netting twine;
Described first/two MODEM, the ADSL circuit access internet that there is DHCP function and the function of automatic switches default gateway, access internet by this ADSL circuit when the ADSL circuit for accessing at it is normal, accessed by the two/one MODEM when the ADSL line fault of its access.
Wherein, described first/two MODEM, also for when heavily opening with the two/one MODEM simultaneously, open anti-circuit functionality: be accomplished in LAN side interface initialize and successfully arrange on LAN before line interface, loop is detected, when loop being detected, the LAN side interface forming loop is blocked; After completing on LAN line interface and arranging, then open the LAN side interface of obstruction.
Wherein, described first/two MODEM, also for when heavily opening separately, forbidding that the data packet between the LAN side interface of this end forwards function; After heavily opening end, recover the data packet between described LAN side interface and forward function;
Described two/one MODEM, also for closing the DHCP function of this end when the first/two MODEM heavily opens separately; After heavily opening end, reopen the DHCP function of this end.
A method for network access for network access system described above, comprising:
Run a MODEM and the 2nd MODEM, and open DHCP function respectively;
Initial moment, a MODEM and the 2nd MODEM arrange line interface gateway by default on respective LAN respectively;
In all normal situation of two ADSL circuits, the acquiescence gateway accessing internet of MODEM/ the 2nd MODEM that each network equipment is connected by it respectively;
When any bar ADSL circuit breaks down, the first/two MODEM of access fault ADSL circuit chooses on the LAN of the two/one MODEM line interface again as the acquiescence gateway of this end, the acquiescence gateway accessing internet again chosen by this.
Wherein, the first/two MODEM of described access fault ADSL circuit by the process of the acquiescence gateway accessing internet again chosen is:
First/two MODEM of described access fault ADSL circuit from the DHCP service device acquisition IP address of the two/one MODEM, chooses on the LAN of the two/one MODEM line interface as the acquiescence gateway of this end by the upper line interface of its LAN again;
For the data packet from the network equipment, this Packet Generation to the two/one MODEM, is sent to internet by it by normal ADSL circuit by the first/two MODEM of access fault ADSL circuit.
Wherein, when a MODEM and the 2nd MODEM heavily opens simultaneously, MODEM/ the 2nd MODEM opens anti-circuit functionality:
Being accomplished in LAN side interface initialize successfully arranges on LAN before line interface, and loop is detected by described MODEM/ the 2nd MODEM, is blocked by the LAN side interface forming loop when loop being detected; After completing on LAN line interface and arranging, then open the LAN side interface of obstruction.
Wherein, when the first/two MODEM heavily opens separately, forbid that the data packet between the LAN side interface of the first/two MODEM forwards function, forbid the DHCP function of the two/one MODEM simultaneously; After the first/two MODEM heavily opens end, recover the DHCP function that the data packet between the LAN side interface of described first/two MODEM forwards function and the two/one MODEM.
Compared with prior art, the embodiment of the present invention has following useful effect.
In the embodiment of the present invention, MODEM supports the upper row of LAN and row two kinds of access waies on ADSL and has DHCP(DynamicHostConfigurationProtocol, dynamic Host Configuration Protocol) function and automatic switches default gateway function, the user meeting access two ADSL circuits is to the demand of network high stability, the network equipment accesses internet by the ADSL circuit accessed separately under normal circumstances, when any bar ADSL circuit breaks down, MODEM equipment on this circuit can carry out alternately with an other MODEM, the network equipment is by an other ADSL circuit access internet, road working properly, this kind of mode instead of a traditional ADSL circuit and access a MODEM to realize the behindhand type of linking Internet, ensure that the stability of network. in addition, the problem starting to avoid two MODEM simultaneously or causing when a MODEM heavily opens, additionally uses anti-loop mechanism, it is to increase the stability of system and reliability in the embodiment of the present invention.
Accompanying drawing explanation
Fig. 1 is the network access system framework figure that the embodiment of the present invention provides.
The design sketch of switches default gateway when Fig. 2 is the ADSL line failure as MODEM-B of embodiment of the present invention offer.
Fig. 3 is the design sketch of PC2 online after the ADSL line failure of MODEM-B.
Fig. 4 is the design sketch causing loop when heavily opening two MODEM.
Embodiment
The core concept of the present invention is: the DHCP function opening MODEM, and makes it support row and row two kinds of access waies on ADSL on LAN; By two MODEM cross connections, it is achieved backup each other, when an ADSL circuit breaks down by two outer ADSL circuit access internets.
In order to make the object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated. It is to be understood that specific embodiment described herein is only in order to explain the present invention, it is not intended to limit the present invention.
In the present embodiment, as shown in Figure 1, concrete network-building method is as follows for network access system.
1. run two MODEM(called after MODEM-A and MODEM-B respectively). The management address of MODEM-A is set to: 192.168.1.1, opens DHCP function; The management address of MODME-B is set to: 192.168.2.1, opens DHCP function.
2. being set on LAN by the ETH3 mouth of MODEM-A and MODEM-B line interface respectively, the WAN being configured to IPOE mode connects. And with RJ45 netting twine, the ETH3 mouth of MODEM-A is connected to the ETH2 mouth of MODEM-B, the ETH3 mouth of MODEM-B is connected to the ETH2 mouth of MODEM-A, forms the topological framework intersecting and being connected.
3. the telephone wire of the RJ11 of row on two ADSL is accessed the DSL interface of two MODEM respectively. Set up PPPOE(pointtopointprotocoloverEthernet respectively, the PPP on Ethernet) mode WAN connect dial up on the telephone, and by the WAN dialled by PPPOE connect be set to acquiescence gateway.
4. can by the network equipment such as the LAN side residue interface of PC etc., access two MODEM. As PC1 accesses the ETH0 mouth of MODEM-A, PC2 accesses the ETH0 mouth of MODEM-B. Because the WAN that the acquiescence gateway of two MODEM is set on ADSL goes connects, so two PC online are the ADSL circuits being connected MODEM respectively by access.
Referring to Fig. 2, this figure is the design sketch giving tacit consent to gateway handoff when the ADSL circuit of MODEM-B breaks down.
Under normal circumstances, the data packet of MODEM-B connected network equipment all can be sent by the acquiescence gateway that MODEM-B is arranged, but, once the ADSL circuit of MODEM-B breaks down, the data packet of the network equipment is gone out by the acquiescence gateway previously arranged again, and data packet is dropped the most at last. This just needs MODEM to have the mechanism automatically choosing acquiescence gateway, if the acquiescence gateway namely arranged is effective, then use the acquiescence gateway manually arranged, if set acquiescence gateway interface state is disconnected, just detect other WAN connect whether there is available interface immediately, if there being available interface, then this WAN is connected and it is set to acquiescence gateway.
When the ADSL circuit of MODEM-B breaks down, on the LAN of MODEM-B, line interface IPOE_ETH3 is standard state, and correctly obtain IP address from the DHPC server of MODEM-A, so now MODEM-B can choose line interface ETH3 gateway by default on the LAN of MODEM-A again.
Referring to Fig. 3, this figure is the design sketch when PC2 online after the ADSL line fault of MODEM-B.
When after the ADSL line fault of MODEM-B, its acquiescence gateway can be switched on LAN line interface IPOE_ETH3 immediately, the data packet of the network equipment of all connection MODEM-B all can be forwarded to MODEM-A through the IPOE_ETH3 interface of MODEM-B, and now the WAN of row connects on the acquiescence gateway of MODEM-A or ADSL, so when after the ADSL line fault of MODEM-B, the all network equipment (such as PC1, PC2) data packets all can through the ADSL circuit access internet of MODEM-A. On the contrary, if after the ADSL line fault of MODEM-A, the data packet of all-network equipment all can through the ADSL circuit access internet of MODEM-B.
Referring to Fig. 4, this figure is the design sketch causing loop when heavily opening two MODEM.
When MODEM heavily opens, different situations can cause different problems.
When two MODEM heavily open simultaneously, being accomplished to EHT3 mouth in ETH interface initialize becomes on LAN before line interface, the LAN side interface of two MODEM can in the same network segment, serve as the function of exchange board temporarily, and between two MODEM, have two netting twines intersecting and being connected, just be equivalent to intersect between two exchange boardes be connected, now will produce loop, form broadcast storm, due to the condition that this kind of broadcast storm does not terminate, this kind of situation is enough to two MODEM cannot normally be started, so the MODEM used needs anti-loop mechanism, after loop being detected, temporary block forms the interface of loop, after on LAN, line interface is formed, open the interface of obstruction again, ensure that two MODEM can heavily open simultaneously.
Following situation is there will be when what a MODEM heavily opened. If heavily opening MODEM-A, after MODEM-A heavily opens, do not become on LAN before line interface at ETH3, the LAN mouth of MODEM-A will in the same network segment, it is the function serving as an exchange board equally, now on the LAN of MODME-B, line interface is connected directly between on the ETH2 mouth of oneself by being equal to through MODEM-A, will obtain the IP address of oneself DHCP service device distribution simultaneously. After MODME-A heavily opens end, on the LAN of MODEM-B, line interface is owing to getting IP address, can not again obtain IP address, and the IP address obtained before is unavailable. So needing to add a kind of strategy, forwarding data bag between the LAN side interface of MODEM-A was forbidden before the anti-loop mechanism of MODE-A is opened, forbid that on the LAN of MODEM-B, row is to the data packet of the DHCP service device applied address of oneself simultaneously, allow MODEM-B LAN on row never successfully obtain address, after MODEM-A heavily opens end, will to the legal IP address of DHCP service device application of MODEM-A.
The foregoing is only the better embodiment of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. done within the spirit and principles in the present invention, all should be included within protection scope of the present invention.
Claims (5)
1. a network access system, this system comprises a MODEM and the 2nd MODEM, and a described MODEM and the 2nd MODEM includes DSL interface and multiple LAN side interface, it is characterised in that, this system also comprises the RJ11 telephone wire of row on RJ45 netting twine and ADSL,
For each MODEM, its DSL interface connects a RJ11 telephone wire respectively, and the WAN that wherein arbitrary LAN side interface is set on LAN line interface and is configured to IPOE mode connects; On the LAN of each MODEM, a residue LAN side interface of line interface and another MODEM is connected by RJ45 netting twine;
Described first/two MODEM, the ADSL circuit access internet that there is DHCP function and the function of automatic switches default gateway, access internet by this ADSL circuit when the ADSL circuit for accessing at it is normal, accessed by the two/one MODEM when the ADSL line fault of its access;
Described first/two MODEM, also for when heavily opening with the two/one MODEM simultaneously, open anti-circuit functionality: be accomplished in LAN side interface initialize and successfully arrange on LAN before line interface, detected by loop, when loop being detected, the LAN side interface forming loop is blocked; After completing on LAN line interface and arranging, then open the LAN side interface of obstruction;
Described first/two MODEM, also for when heavily opening separately, forbidding that the data packet between the LAN side interface of this end forwards function; After heavily opening end, recover the data packet between described LAN side interface and forward function;
Described two/one MODEM, also for closing the DHCP function of this end when the first/two MODEM heavily opens separately; After heavily opening end, reopen the DHCP function of this end.
2. the method for network access of a network access system as claimed in claim 1, it is characterised in that, the method comprises:
Run a MODEM and the 2nd MODEM, and open DHCP function respectively;
Initial moment, a MODEM and the 2nd MODEM arrange line interface gateway by default on respective LAN respectively;
In all normal situation of two ADSL circuits, the acquiescence gateway accessing internet of MODEM/ the 2nd MODEM that each network equipment is connected by it respectively;
When any bar ADSL circuit breaks down, the first/two MODEM of access fault ADSL circuit chooses on the LAN of the two/one MODEM line interface again as the acquiescence gateway of this end, the acquiescence gateway accessing internet again chosen by this.
3. method for network access as claimed in claim 2, it is characterised in that, the first/two MODEM of described access fault ADSL circuit by the process of the acquiescence gateway accessing internet again chosen is:
First/two MODEM of described access fault ADSL circuit from the DHCP service device acquisition IP address of the two/one MODEM, chooses on the LAN of the two/one MODEM line interface as the acquiescence gateway of this end by the upper line interface of its LAN again;
For the data packet from the network equipment, this Packet Generation to the two/one MODEM, is sent to internet by it by normal ADSL circuit by the first/two MODEM of access fault ADSL circuit.
4. method for network access as claimed in claim 3, it is characterised in that, in the method, when a MODEM and the 2nd MODEM heavily opens simultaneously, MODEM/ the 2nd MODEM opens anti-circuit functionality:
Being accomplished in LAN side interface initialize successfully arranges on LAN before line interface, and loop is detected by described MODEM/ the 2nd MODEM, is blocked by the LAN side interface forming loop when loop being detected; After completing on LAN line interface and arranging, then open the LAN side interface of obstruction.
5. method for network access as claimed in claim 3, it is characterized in that, the method also comprises: when the first/two MODEM heavily opens separately, forbids that the data packet between the LAN side interface of the first/two MODEM forwards function, forbids the DHCP function of the two/one MODEM simultaneously; After the first/two MODEM heavily opens end, recover the DHCP function that the data packet between the LAN side interface of described first/two MODEM forwards function and the two/one MODEM.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210261056.3A CN102790696B (en) | 2012-07-26 | 2012-07-26 | A kind of network access system and method for network access thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210261056.3A CN102790696B (en) | 2012-07-26 | 2012-07-26 | A kind of network access system and method for network access thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102790696A CN102790696A (en) | 2012-11-21 |
CN102790696B true CN102790696B (en) | 2016-06-08 |
Family
ID=47156003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210261056.3A Active CN102790696B (en) | 2012-07-26 | 2012-07-26 | A kind of network access system and method for network access thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102790696B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI528752B (en) * | 2014-05-22 | 2016-04-01 | 智邦科技股份有限公司 | Network device and operating method thereof |
CN115348163B (en) * | 2021-04-27 | 2023-12-01 | 青岛海信宽带多媒体技术有限公司 | Router and WAN port self-adaptive configuration method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1485748A (en) * | 2002-09-25 | 2004-03-31 | 华为技术有限公司 | Method for hot backup employing double machine and terminal device access system thereof |
CN201440710U (en) * | 2009-08-27 | 2010-04-21 | 深圳华为通信技术有限公司 | Wireless router and network access system |
CN101944987A (en) * | 2010-05-27 | 2011-01-12 | 迈普通信技术股份有限公司 | Method for setting and switching dial-on-demand lines of master and slave backups, and system and equipment |
CN102611567A (en) * | 2011-12-19 | 2012-07-25 | 北京星网锐捷网络技术有限公司 | Dual-computer backup networking system and message transmission method |
-
2012
- 2012-07-26 CN CN201210261056.3A patent/CN102790696B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1485748A (en) * | 2002-09-25 | 2004-03-31 | 华为技术有限公司 | Method for hot backup employing double machine and terminal device access system thereof |
CN201440710U (en) * | 2009-08-27 | 2010-04-21 | 深圳华为通信技术有限公司 | Wireless router and network access system |
CN101944987A (en) * | 2010-05-27 | 2011-01-12 | 迈普通信技术股份有限公司 | Method for setting and switching dial-on-demand lines of master and slave backups, and system and equipment |
CN102611567A (en) * | 2011-12-19 | 2012-07-25 | 北京星网锐捷网络技术有限公司 | Dual-computer backup networking system and message transmission method |
Also Published As
Publication number | Publication date |
---|---|
CN102790696A (en) | 2012-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101523805B (en) | Method for reconfiguring a communication network | |
US8711865B2 (en) | Auto-provisioning of network services over an Ethernet access link | |
US8724449B2 (en) | Failure protection for access ring topology | |
US8208369B2 (en) | Ethernet ring system and a master node and an initialization method thereof | |
CN1855812B (en) | Method for preventing from fakery of MAC addresses and equipment | |
CN103503422A (en) | Automatic connection selection | |
JP4744429B2 (en) | Extended maintenance domain level management method, communication apparatus, program, and data structure | |
EP2020120B1 (en) | Interworking point to point protocol for digital subscriber line access with ethernet connections in the aggregation network | |
CN101567883B (en) | Realization method for preventing MAC address forgery | |
WO2019029286A1 (en) | Communication method and device and storage medium | |
US20080101401A1 (en) | Method and apparatus for verifying service provisioning in networks used to provide digital subscriber line services | |
CN107819889A (en) | A kind of network address translation NAT method, equipment and system | |
CN102790696B (en) | A kind of network access system and method for network access thereof | |
CN101018226A (en) | A method for access terminal and operator binding | |
US7424023B2 (en) | Method and access multiplexer for quick access to data networks | |
CN108282383B (en) | Method and equipment for realizing fault processing | |
CN113794641B (en) | Message processing method and device | |
EP4221142A1 (en) | Packet sending method, device, and system | |
EP2073432A1 (en) | The access terminal, and the method for binding the access terminal and the operator | |
CN102594735B (en) | A kind of home gateway and realize the method that many uplink modes link detects automatically | |
US7593414B2 (en) | Enhanced CSU/DSU (channel service unit/data service unit) for frame relay over DSL | |
Cisco | 9.1(1) Caveats/9.1(2) Modifications | |
Cisco | 9.1(1) Caveats/9.1(2) Modifications | |
Cisco | 9.1(1) Caveats/9.1(2) Modifications | |
Cisco | 9.1(1) Caveats/9.1(2) Modifications |
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 |