CN107968844B - Method and device for processing gateway address conflict and router - Google Patents

Method and device for processing gateway address conflict and router Download PDF

Info

Publication number
CN107968844B
CN107968844B CN201610911954.7A CN201610911954A CN107968844B CN 107968844 B CN107968844 B CN 107968844B CN 201610911954 A CN201610911954 A CN 201610911954A CN 107968844 B CN107968844 B CN 107968844B
Authority
CN
China
Prior art keywords
router
gateway address
address
network card
network
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
Application number
CN201610911954.7A
Other languages
Chinese (zh)
Other versions
CN107968844A (en
Inventor
高飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610911954.7A priority Critical patent/CN107968844B/en
Priority to PCT/CN2017/106643 priority patent/WO2018072701A1/en
Publication of CN107968844A publication Critical patent/CN107968844A/en
Application granted granted Critical
Publication of CN107968844B publication Critical patent/CN107968844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention provides a method, a device and a router for processing gateway address conflict, wherein the method comprises the following steps: when the network side IP address distributed by the uplink routing equipment is obtained, whether the gateway address of the router conflicts with the gateway address of the uplink routing equipment is detected; and if the gateway address of the router conflicts with the gateway address of the uplink routing equipment, carrying out conflict elimination operation on the router. The embodiment of the invention can automatically eliminate the conflict between the gateway address of the router and the gateway address of the uplink routing equipment when the gateway address of the router conflicts with the gateway address of the uplink routing equipment, so that a user can surf the internet normally, and the user experience is improved.

Description

Method and device for processing gateway address conflict and router
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a router for processing a gateway address conflict.
Background
With the rapid development of the internet, especially the rapid development and popularization of the fourth generation mobile communication technology (4G), fixed network and other services, the router is widely used as a relatively portable communication terminal, and can provide internet access service for a client accessing to the router by connecting an uplink router device as an uplink access device.
A user usually connects a router in a home to an upstream routing device through a network cable, and applies for an Internet Protocol (IP) address interconnected between networks to the upstream routing device in a Dynamic Host Configuration Protocol (DHCP) manner for use in the network. However, in use, the gateway address of the router in the user's hand may conflict with the gateway address of the uplink routing device (e.g., the same, in the same network segment, etc.), so that the network cannot be connected even if the uplink routing device is accessed.
At present, when a router encounters such a situation, the conflict between the gateway address of the router in the home and the gateway address of the upstream routing device can be eliminated only by manually modifying the gateway address of the router in the home by a user, and then the router is restarted to obtain the IP address again for solving the problem, but the process is too professional and too complex for ordinary users, and the user experience is not good.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for processing a gateway address conflict, and a router, which can automatically eliminate a conflict between a gateway address of the router and a gateway address of an uplink routing device when the gateway address of the router and the gateway address of the uplink routing device conflict, so that a user can surf the internet normally, and user experience is improved.
In order to achieve the above object, an embodiment of the present invention provides a method for processing a gateway address conflict, which is applied to a router, and the method includes:
when the network side IP address distributed by the uplink routing equipment is obtained, whether the gateway address of the router conflicts with the gateway address of the uplink routing equipment is detected;
and if the gateway address of the router conflicts with the gateway address of the uplink routing equipment, carrying out conflict elimination operation on the router.
Wherein, the step of performing conflict elimination operation on the router comprises the following steps:
and the network card at the network side of the router and the network card at the user side of the router are arranged under the same bridge.
After the step of configuring the network side network card of the router and the user side network card of the router under the same network bridge, the method further comprises the following steps:
closing a Dynamic Host Configuration Protocol (DHCP) server in the router, and powering off and then on a network card at a user side;
and deleting the firewall rules for source IP address conversion in the router.
The method comprises the following steps of configuring a network side network card of a router and a user side network card of the router under the same network bridge, wherein the steps comprise:
and the network side network card of the router is configured under the network bridge of the user side network card of the router.
Wherein, the method further comprises:
detecting whether the connection between the router and the uplink routing equipment is disconnected;
and if the connection between the router and the uplink routing equipment is disconnected, executing recovery operation on the router.
Wherein, the step of executing the recovery operation to the router comprises:
and unloading the network side network card of the router from the network bridge of the user side network card of the router.
After the step of unloading the network side network card of the router from the under-bridge of the user side network card of the router, the method further comprises:
starting a DHCP server in the router, and powering off and then on a network card at a user side;
firewall rules for source IP address translation are added in the router.
The step of detecting whether the gateway address of the router conflicts with the gateway address of the uplink routing equipment includes:
detecting whether the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment;
and if the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment, determining that the gateway address of the router conflicts with the gateway address of the uplink routing equipment.
The embodiment of the invention also provides a gateway address conflict processing device, which is applied to a router and comprises the following components:
the first detection module is used for detecting whether the gateway address of the router conflicts with the gateway address of the uplink routing equipment when the network side IP address allocated by the uplink routing equipment is obtained, and triggering the elimination module if the gateway address of the router conflicts with the gateway address of the uplink routing equipment;
and the elimination module is used for carrying out conflict elimination operation on the router according to the trigger of the first detection module.
Wherein, the elimination module includes:
and the first eliminating unit is used for configuring the network side network card of the router and the user side network card of the router under the same bridge.
Wherein, the elimination module further comprises:
the second eliminating unit is used for closing a Dynamic Host Configuration Protocol (DHCP) server in the router and carrying out power-off and power-on operation on the network card at the user side;
and the third eliminating unit is used for deleting the firewall rules for source IP address conversion in the router.
The first eliminating unit is specifically configured to configure a network side network card of the router under a bridge of a user side network card of the router.
Wherein, the device still includes:
the second detection module is used for detecting whether the connection between the router and the uplink routing equipment is disconnected or not, and triggering the recovery module if the connection between the router and the uplink routing equipment is disconnected;
and the recovery module is used for executing recovery operation on the router according to the trigger of the second detection module.
Wherein, the recovery module includes:
and the first recovery unit is used for unloading the network side network card of the router from the network bridge of the user side network card of the router.
Wherein, the recovery module further comprises:
the second recovery unit is used for starting a DHCP server in the router and carrying out power-off and power-on operations on the network card at the user side;
and the third recovery unit is used for adding a firewall rule for carrying out source IP address conversion in the router.
Wherein, first detection module includes:
the first detection unit is used for detecting whether the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment or not, and triggering the second detection unit if the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment;
and the second detection unit is used for determining that the gateway address of the router conflicts with the gateway address of the uplink routing equipment according to the trigger of the first detection unit.
The embodiment of the invention also provides a router which comprises the gateway address conflict processing device.
The scheme of the invention at least comprises the following beneficial effects:
in the embodiment of the invention, when the router acquires the network side IP address allocated by the uplink routing equipment, whether the gateway address of the router conflicts with the gateway address of the uplink routing equipment is detected, and if the gateway address of the router conflicts with the gateway address of the uplink routing equipment, conflict elimination operation is carried out on the router, so that the client device connected to the user side of the router directly applies for the IP address to the uplink routing equipment, the problems that when the gateway address of the router conflicts with the gateway address of the uplink routing equipment, the user cannot eliminate the conflict between the gateway address of the router and the gateway address of the uplink routing equipment, the user cannot surf the internet and the user experience is influenced are solved, and the conflict between the gateway address of the router and the gateway address of the uplink routing equipment can be automatically eliminated when the gateway address of the router conflicts with the gateway address of the uplink routing equipment, the user can surf the internet normally, and the user experience effect is improved.
Drawings
FIG. 1 is a flowchart of a method for handling address conflicts for gateways according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating an implementation manner of step 102 in FIG. 1 according to a first embodiment of the present invention;
fig. 3 is one of the bridge structures of the router according to an embodiment of the present invention;
FIG. 4 is a second schematic diagram of a bridge structure of a router according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device for processing a gateway address conflict in a second embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
First embodiment
As shown in fig. 1, a first embodiment of the present invention provides a method for processing a gateway address conflict, which is applied to a router, and the method includes:
step 101, when the network side IP address allocated by the uplink routing device is obtained, detecting whether a gateway address of the router conflicts with a gateway address of the uplink routing device.
And if the gateway address of the router does not conflict with the gateway address of the uplink routing equipment, normally surfing the Internet.
In the first embodiment of the present invention, for a router, after connecting an uplink routing device through a network cable or Wireless Fidelity (WIFI), the router applies for a network side IP address to the uplink routing device in order to enable normal internet access, and if the network side IP address is not obtained through one application, the router always applies for the network side IP address to the uplink routing device until the network side IP address allocated by the uplink routing device is obtained. The uplink routing device may be an uplink DHCP server, that is, a previous DHCP server of the router.
In the first embodiment of the present invention, the specific implementation manner of the step 101 may be: whether the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment or not is detected, if the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment, the conflict between the gateway address of the router and the gateway address of the uplink routing equipment is determined, and if the gateway address of the router and the gateway address of the uplink routing equipment are not in the same network segment, the conflict between the gateway address of the router and the gateway address of the uplink routing equipment is determined.
And 102, if the gateway address of the router conflicts with the gateway address of the uplink routing equipment, performing conflict elimination operation on the router.
In the first embodiment of the present invention, after the collision resolution operation is performed on the router, the client device connected to the user side of the router can directly apply for the IP address to the upstream routing device. As shown in fig. 2, the specific implementation of step 102 includes the following steps:
step 201, a network side network card of the router and a user side network card of the router are configured under the same bridge.
In the first embodiment of the present invention, the specific implementation manner of step 201 may be: and the network side network card of the router is configured under the network bridge of the user side network card of the router.
Step 202, the dynamic host configuration protocol server in the router is closed, and the network card at the user side is powered off and then powered on.
In the first embodiment of the present invention, because the network side network card of the router is configured under the bridge of the user side network card of the router, the router at this time only plays a role of one channel, and does not play a role of allocating an IP address to a client device (e.g., a smart phone, etc.) connected to the user side of the router any more, but in order to enable the client device connected to the user side of the router to apply for an IP address to an uplink router device, it is necessary to close a Dynamic Host Configuration Protocol (DHCP) server inside the router, and perform power-off and power-on operations on the user side network card. The operation of powering off and powering on the network card at the user side is to enable the client device at the user side connected to the router to apply for the IP address to the router again, and at this time, because the DHCP server inside the router is closed, the client device at the user side connected to the router can directly apply for the IP address to the uplink router device.
Step 203, delete the firewall rules for source IP address translation in the router.
In the first embodiment of the present invention, since the network side network card of the router is configured below the network bridge of the user side network card of the router, it is not necessary to perform source IP address translation on a data packet sent by a client device connected to the user side of the router, and therefore, it is necessary to delete a firewall rule for performing source IP address translation in the router, so as to ensure that the client device connected to the user side of the router can directly apply for an IP address to an upstream routing device.
In the first embodiment of the present invention, the above-mentioned step of configuring the network-side network card of the router under the bridge of the user-side network card of the router is described as a specific example. In this example, it is assumed that the gateway address of the router is 192.168.0.1 subnet mask 255.255.255.0, and the gateway address of the upstream routing device is 192.168.0.1 subnet mask 255.255.255.0, and it can be seen that the gateway address of the router conflicts with the gateway address of the upstream routing device, and the client device connected to the user side of the router cannot surf the internet normally. At this time, the bridge structure of the router is shown in fig. 3, where wan1 represents a network side network card of the router, which is connected to the upstream routing device, br2 represents a user side network bridge of the router, and eth3 and wifi4 represent user side network cards of a router, respectively. In order to enable the client devices connected to the user side of the router to surf the internet normally, the bridge structure of the router may be changed to the bridge structure shown in fig. 4, that is, wan1 is configured under br 2.
It should be noted that, for the specific implementation of the step 102, in some special application scenarios, the purpose of performing the collision elimination operation on the router can be achieved by only executing the step 201.
In the first embodiment of the present invention, since there is a possibility that the router restarts or cancels the connection with the upstream routing device, the method further includes the following steps: whether the connection between the router and the uplink routing equipment is disconnected or not is detected, and if the connection between the router and the uplink routing equipment is disconnected, recovery operation is executed on the router, so that client equipment connected to a user side of the router applies for an IP address to the router, and the router is recovered to a normal state (namely, the state before conflict elimination operation is carried out on the router). It should be noted that, after the router returning to the normal state is connected to the upstream routing device, the router applies for a network-side IP address to the upstream routing device, and executes step 101 described above.
The above-mentioned manner of detecting whether the connection between the router and the uplink routing device is disconnected may be: whether a restarting phenomenon occurs to the router or whether the router cancels the connection with the upstream routing equipment (for example, whether a network cable for connecting with the upstream routing equipment is pulled out) is detected. Correspondingly, the specific implementation mode for executing the recovery operation on the router comprises the following steps:
firstly, the network side network card of the router is unloaded from the network bridge of the user side network card of the router.
After the first step of processing, the bridge structure of the router can be restored to the bridge structure before the collision elimination operation is performed on the router.
And secondly, starting a DHCP server in the router, and powering off and then on the network card at the user side.
In the first embodiment of the present invention, since the connection between the router and the uplink routing device is disconnected, at this time, the router serves as a DHCP server of a client device connected to the user side of the router, and therefore, the DHCP server inside the router needs to be restarted, and a network card on the user side needs to be powered off and powered on, so that the client device connected to the user side of the router applies for an IP address to the router.
And thirdly, adding a firewall rule for source IP address conversion in the router.
In the first embodiment of the present invention, since the bridge structure of the router can be restored to the bridge structure before the collision elimination operation is performed on the router, a source IP address translation needs to be performed on a data packet sent by a client device connected to the user side of the router, and therefore a firewall rule for performing the source IP address translation needs to be added to the router to ensure that the client device connected to the user side of the router applies for an IP address from the router.
It should be noted that, for the above specific implementation of performing the recovery operation on the router, in some special application scenarios, the purpose of performing the recovery operation on the router can also be achieved by only performing the first step.
It can be seen that, in the first embodiment of the present invention, when acquiring the network-side IP address assigned by the upstream routing device, the router detects whether the gateway address of the router conflicts with the gateway address of the upstream routing device, and if the gateway address of the router conflicts with the gateway address of the upstream routing device, performs a conflict elimination operation on the router, so that the client device on the user side connected to the router directly applies for the IP address to the upstream routing device, thereby solving the problem that when the gateway address of the router conflicts with the gateway address of the upstream routing device, it is difficult for the user to eliminate the conflict between the gateway address of the router and the gateway address of the upstream routing device, which results in the user being unable to surf the internet and affecting the user experience, and achieving the purpose that when the gateway address of the router conflicts with the gateway address of the upstream routing device, the conflict between the gateway address of the router and the gateway address of the upstream routing device can be automatically eliminated, the user can surf the internet normally, and the user experience effect is improved.
Second embodiment
As shown in fig. 5, a second embodiment of the present invention provides an apparatus for processing a gateway address conflict, which is applied to a router, and includes:
a first detecting module 501, configured to detect whether a gateway address of a router conflicts with a gateway address of an uplink routing device when a network-side IP address allocated by the uplink routing device is obtained, and trigger a eliminating module 502 if the gateway address of the router conflicts with the gateway address of the uplink routing device;
the eliminating module 502 is configured to perform a collision eliminating operation on the router according to the trigger of the first detecting module 501.
Wherein, the elimination module 502 comprises:
and the first eliminating unit is used for configuring the network side network card of the router and the user side network card of the router under the same bridge.
Wherein, the eliminating module 502 further comprises:
the second eliminating unit is used for closing a Dynamic Host Configuration Protocol (DHCP) server in the router and carrying out power-off and power-on operation on the network card at the user side;
and the third eliminating unit is used for deleting the firewall rules for source IP address conversion in the router.
The first eliminating unit is specifically configured to configure a network side network card of the router under a bridge of a user side network card of the router.
Wherein, the device still includes:
the second detection module is used for detecting whether the connection between the router and the uplink routing equipment is disconnected or not, and triggering the recovery module if the connection between the router and the uplink routing equipment is disconnected;
and the recovery module is used for executing recovery operation on the router according to the trigger of the second detection module.
Wherein, the recovery module includes:
and the first recovery unit is used for unloading the network side network card of the router from the network bridge of the user side network card of the router.
Wherein, the recovery module further comprises:
the second recovery unit is used for starting a DHCP server in the router and carrying out power-off and power-on operations on the network card at the user side;
and the third recovery unit is used for adding a firewall rule for carrying out source IP address conversion in the router.
The first detection module 501 includes:
the first detection unit is used for detecting whether the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment or not, and triggering the second detection unit if the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment;
and the second detection unit is used for determining that the gateway address of the router conflicts with the gateway address of the uplink routing equipment according to the trigger of the first detection unit.
In the second embodiment of the present invention, the processing device for gateway address conflict detects whether the gateway address of the router conflicts with the gateway address of the upstream routing device when the network side IP address allocated by the upstream routing device is obtained, and performs a conflict elimination operation on the router if the gateway address of the router conflicts with the gateway address of the upstream routing device, so that the client device on the user side connected to the router directly applies for the IP address to the upstream routing device, thereby solving the problem that when the gateway address of the router conflicts with the gateway address of the upstream routing device, the user is difficult to eliminate the conflict between the gateway address of the router and the gateway address of the upstream routing device, which results in the user being unable to surf the internet and affects the user experience, and achieving the purpose that when the gateway address of the router conflicts with the gateway address of the upstream routing device, the conflict between the gateway address of the router and the gateway address of the upstream routing device can be automatically eliminated, the user can surf the internet normally, and the user experience effect is improved.
It should be noted that the apparatus for processing a gateway address conflict provided in the second embodiment of the present invention is an apparatus applying the method for processing a gateway address conflict, that is, all embodiments of the method are applicable to the apparatus, and can achieve the same or similar beneficial effects.
Third embodiment
A third embodiment of the present invention provides a router, which includes the above-mentioned gateway address conflict processing apparatus.
It should be noted that the router provided in the third embodiment of the present invention is a router including the above-mentioned gateway address conflict processing apparatus, that is, all embodiments of the above-mentioned gateway address conflict processing apparatus are applicable to the router, and can achieve the same or similar beneficial effects.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A method for processing gateway address conflict is applied to a router, and is characterized in that the method comprises the following steps:
when a network side IP address allocated by uplink routing equipment is acquired, whether a gateway address of the router conflicts with a gateway address of the uplink routing equipment is detected;
if the gateway address of the router conflicts with the gateway address of the uplink routing equipment, performing conflict elimination operation on the router, including configuring a network side network card of the router and a user side network card of the router under the same bridge;
closing a Dynamic Host Configuration Protocol (DHCP) server in the router, and powering off and then on the network card at the user side;
and deleting the firewall rules for source IP address conversion in the router.
2. The method according to claim 1, wherein the step of configuring the network side network card of the router and the user side network card of the router under the same bridge comprises:
and the network side network card of the router is configured below the network bridge of the user side network card of the router.
3. The method of claim 1, further comprising:
detecting whether the connection between the router and the uplink routing equipment is disconnected;
and if the connection between the router and the uplink routing equipment is disconnected, executing recovery operation on the router.
4. The method of claim 3, wherein the step of performing a recovery operation on the router comprises:
and unloading the network side network card of the router from the network bridge of the user side network card of the router.
5. The method of claim 4, wherein after the step of offloading the network-side network card of the router from under a bridge of the user-side network card of the router, the method further comprises:
starting a DHCP server in the router, and powering off and then on the network card at the user side;
and adding a firewall rule for source IP address conversion in the router.
6. The method of claim 1, wherein the step of detecting whether the gateway address of the router conflicts with the gateway address of the upstream routing device comprises:
detecting whether the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment;
and if the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment, determining that the gateway address of the router conflicts with the gateway address of the uplink routing equipment.
7. An apparatus for processing gateway address collision, applied to a router, the apparatus comprising:
the first detection module is used for detecting whether a gateway address of the router conflicts with a gateway address of the uplink routing equipment when the network side IP address allocated by the uplink routing equipment is obtained, and triggering the elimination module if the gateway address of the router conflicts with the gateway address of the uplink routing equipment;
the elimination module is used for carrying out conflict elimination operation on the router according to the triggering of the first detection module, and comprises a first elimination unit which is used for configuring a network side network card of the router and a user side network card of the router under the same bridge;
the cancellation module further comprises:
the second eliminating unit is used for closing a Dynamic Host Configuration Protocol (DHCP) server in the router and carrying out power-off and power-on operation on the network card at the user side;
and the third eliminating unit is used for deleting the firewall rules for source IP address conversion in the router.
8. The apparatus according to claim 7, wherein the first eliminating unit is specifically configured to configure a network-side network card of the router under a bridge of a user-side network card of the router.
9. The apparatus of claim 7, further comprising:
a second detection module, configured to detect whether the connection between the router and the uplink routing device is disconnected, and trigger a recovery module if the connection between the router and the uplink routing device is disconnected;
and the recovery module is used for executing recovery operation on the router according to the trigger of the second detection module.
10. The apparatus of claim 9, wherein the recovery module comprises:
and the first recovery unit is used for unloading the network side network card of the router from the network bridge of the user side network card of the router.
11. The apparatus of claim 10, wherein the recovery module further comprises:
the second recovery unit is used for starting a DHCP server in the router and carrying out power-off and power-on operations on the network card at the user side;
and the third recovery unit is used for adding a firewall rule for carrying out source IP address conversion in the router.
12. The apparatus of claim 7, wherein the first detection module comprises:
the first detection unit is used for detecting whether the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment or not, and triggering the second detection unit if the gateway address of the router and the gateway address of the uplink routing equipment are in the same network segment;
and the second detection unit is used for determining that the gateway address of the router conflicts with the gateway address of the uplink routing equipment according to the trigger of the first detection unit.
13. A router comprising means for handling address conflicts for gateways according to any of claims 7 to 12.
CN201610911954.7A 2016-10-19 2016-10-19 Method and device for processing gateway address conflict and router Active CN107968844B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610911954.7A CN107968844B (en) 2016-10-19 2016-10-19 Method and device for processing gateway address conflict and router
PCT/CN2017/106643 WO2018072701A1 (en) 2016-10-19 2017-10-18 Gateway address conflict processing method, device and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610911954.7A CN107968844B (en) 2016-10-19 2016-10-19 Method and device for processing gateway address conflict and router

Publications (2)

Publication Number Publication Date
CN107968844A CN107968844A (en) 2018-04-27
CN107968844B true CN107968844B (en) 2022-01-11

Family

ID=61997074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610911954.7A Active CN107968844B (en) 2016-10-19 2016-10-19 Method and device for processing gateway address conflict and router

Country Status (2)

Country Link
CN (1) CN107968844B (en)
WO (1) WO2018072701A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014044A (en) * 2009-09-04 2011-04-13 技嘉科技股份有限公司 Domain collision avoidance method and router using same
CN103227844A (en) * 2013-04-19 2013-07-31 深圳市吉祥腾达科技有限公司 Method and device for automatically solving secondary route IP conflict in DHCP
CN105357330A (en) * 2015-10-22 2016-02-24 上海斐讯数据通信技术有限公司 Method and system for preventing IP address conflict of network devices
CN105577853A (en) * 2016-03-09 2016-05-11 上海斐讯数据通信技术有限公司 Method and device for automatically solving IP network segment conflict

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1313265A1 (en) * 2001-11-19 2003-05-21 Thomson Licensing S.A. Method and device for address allocation for transmitting packets over a transparent bridge
US20060221955A1 (en) * 2005-04-05 2006-10-05 Mark Enright IP addressing in joined private networks
CN1845554B (en) * 2005-12-06 2010-05-05 华为技术有限公司 Control method for dynamically distributing IP address in 3G network
CN101674338A (en) * 2009-10-16 2010-03-17 福建星网锐捷网络有限公司 Recovering method of IP address and DHCP server
WO2012163000A1 (en) * 2011-10-11 2012-12-06 华为技术有限公司 Message forwarding method, device and system
CN102651707B (en) * 2012-04-16 2015-04-08 深圳市共进电子股份有限公司 Automatic configuration method of wireless bridge
CN103716245B (en) * 2012-09-29 2017-02-08 上海贝尔股份有限公司 Edge router based on virtual special-purpose local area network
CN105610996B (en) * 2016-01-29 2018-11-02 深圳市磊科实业有限公司 A kind of DHCP collision detection methods applied to interchanger

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014044A (en) * 2009-09-04 2011-04-13 技嘉科技股份有限公司 Domain collision avoidance method and router using same
CN103227844A (en) * 2013-04-19 2013-07-31 深圳市吉祥腾达科技有限公司 Method and device for automatically solving secondary route IP conflict in DHCP
CN105357330A (en) * 2015-10-22 2016-02-24 上海斐讯数据通信技术有限公司 Method and system for preventing IP address conflict of network devices
CN105577853A (en) * 2016-03-09 2016-05-11 上海斐讯数据通信技术有限公司 Method and device for automatically solving IP network segment conflict

Also Published As

Publication number Publication date
CN107968844A (en) 2018-04-27
WO2018072701A1 (en) 2018-04-26

Similar Documents

Publication Publication Date Title
US9614810B2 (en) Address allocation processing method, apparatus and system
CN104283976B (en) Switching method of network interface and access equipment
EP2330862B1 (en) Wireless data card and working method thereof
US8700820B2 (en) Method for accessing USB device attached to home gateway, home gateway and terminal
CN110248364B (en) IOT equipment network distribution method, device, equipment and medium
CN110752975B (en) Network sharing method and device
EP3614649A1 (en) Ip address allocation method and device
CN107809386B (en) IP address translation method, routing device and communication system
CN104270325A (en) System and method of implementing limitation of public network access user number based on Linux for CPE (Customer Premise Equipment)
US20180295156A1 (en) Providing network connectivity to at least one client device connected to a telecommunications network via an access gateway device and an internet protocol edge function
US8887237B2 (en) Multimode authentication
CN109495369B (en) Message forwarding method and device
EP3145181A1 (en) Set-top box network switching method, apparatus and set-top box having same
CN108650142A (en) The control method and device of multiple gateway equipment in intelligent domestic system
CN111294416A (en) Method for obtaining IP address and related product
WO2014127615A1 (en) Method and device for implementing instant messaging of mobile user equipment
CN105721189A (en) Network port configuration method and device for network equipment
CN104202432B (en) Remote web management system and management method
JP2006352719A (en) Apparatus, method for monitoring network, network system, network monitoring method and network communication method
WO2014194744A1 (en) A method, client, server, and system for processing data
CN107968844B (en) Method and device for processing gateway address conflict and router
CN107534585B (en) Communication method and terminal
US11405275B2 (en) Automatically determining mesh network role of network device
CN102891900B (en) A kind of method, apparatus and system of the domain name mapping in flow unloading
CN107911494B (en) Method, device, computer equipment and storage medium for accessing IPv6 network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant