CN105610994B - IP address allocation method, coaxial cable intermediate converter and system - Google Patents

IP address allocation method, coaxial cable intermediate converter and system Download PDF

Info

Publication number
CN105610994B
CN105610994B CN201410689892.0A CN201410689892A CN105610994B CN 105610994 B CN105610994 B CN 105610994B CN 201410689892 A CN201410689892 A CN 201410689892A CN 105610994 B CN105610994 B CN 105610994B
Authority
CN
China
Prior art keywords
dhcp
discovery message
coaxial
modem
user side
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
CN201410689892.0A
Other languages
Chinese (zh)
Other versions
CN105610994A (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 CN201410689892.0A priority Critical patent/CN105610994B/en
Priority to PCT/CN2015/072444 priority patent/WO2016082335A1/en
Publication of CN105610994A publication Critical patent/CN105610994A/en
Application granted granted Critical
Publication of CN105610994B publication Critical patent/CN105610994B/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

Landscapes

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

Abstract

The invention discloses an IP address allocation method, a coaxial cable intermediate converter and a system.A CMC is provided with an IP port, a CM and a CPE of the same service are bound under the IP port, and the IP port is provided with a CM DHCP server and a CPE DHCP server which are respectively used for the CM IP address allocation and the CPE IP address allocation; the CMC receives a DHCP discovery message sent by a CM under an IP port, judges whether the DHCP discovery message is initiated by the CM, if so, sends the DHCP discovery message to a CM DHCP server, and the CM DHCP server distributes an IP address for the coaxial modem according to the received DHCP discovery message; otherwise, the DHCP discovery message is initiated for the CPE, the DHCP discovery message is sent to a CPE DHCP server, and the CPE DHCP server allocates an IP address for the CPE according to the received DHCP discovery message. The scheme provided by the invention realizes the uniform distribution and management of the IP addresses of the CM and the CPE of the same service hung under the CMC.

Description

IP address allocation method, coaxial cable intermediate converter and system
Technical Field
The invention relates to the field of communication, in particular to an IP address allocation method, a coaxial cable intermediate converter and a system.
Background
The PON (Passive Optical Network) + DoCSIS (Data Over Cable service Interface Specification) EoC (Ethernet Over coax: Ethernet Data transmission Over Coaxial Cable) secondary networking technology is specially directed at the current requirements of the domestic bidirectional Network for broadcasting and television and the Network upgrading and reconstruction of the foreign MSO CMTS (Cable Modem Termination System: Cable Modem office System), and proposes an integral solution for the evolution from the HFC (Hybrid Fiber-Coaxial: Hybrid Fiber-Coaxial) Network to the FTTx (Fiber-to-the-x: Fiber access). The solution is based on the combination of a PON network and a DoCSIS network, not only can the investment of the existing CMTS network be protected, but also the network development trends of optical copper feeding and optical fiber downward movement can be met. The CMC-coaxial medium converter is a DoCSIS EoC local side device, a DoCSIS coaxial Cable broadband access head end plays a role in starting and stopping in the whole network, and is not only a termination point of a PON network protocol, but also a starting point of the DoCSIS network protocol, an uplink OLT (Optical Line Terminal) PON network and a downlink CM (Cable Modem: coaxial Modem) DoCSIS network. The product adopts the DoCSIS 3.0 technical standard, serves operators with HFC networks all over the world, provides broadband access service for the operators, assists the operators to complete role transition from a single television program service provider to a comprehensive service operator, and provides abundant value-added service with better experience for wide coverage users.
There are various DHCP (Dynamic Host Configuration Protocol) Server address allocation policies in the conventional DOCSIS system, and in the C-DOCSIS (China Cable Data Over service interface Specification) system, a DHCP Relay may be implemented on an OLT or a CMC (Coaxial media Converter), but if it is to implement uniform allocation and management of CMs and CPEs (client devices) under the same service by several DHCP servers, an effective IP address allocation policy is needed.
Disclosure of Invention
The invention provides an IP address allocation method, a coaxial cable intermediate converter and a system, and aims to solve the problem of uniform allocation management of IP addresses of CM and CPE under the same service.
In order to solve the above technical problem, the present invention provides an IP address allocation method, including:
the coaxial cable intermediate converter is provided with an IP port, the lower part of the IP port is bound with a coaxial modem and user side equipment with the same service, and the IP port is provided with a coaxial modem DHCP server and a user side equipment DHCP server;
a coaxial cable intermediate converter receives a DHCP discovery message sent by a coaxial modem under the IP port, and sends the DHCP discovery message to a coaxial modem DHCP server when the DHCP discovery message is initiated by the coaxial modem; and when the DHCP discovery message is initiated by the user side equipment, the DHCP discovery message is sent to a DHCP server of the user side equipment.
In an embodiment of the present invention, the DHCP discover message includes a source medium access control address, and the source medium access control address is a medium access control address of an initiator of the DHCP discover message; the coaxial cable intermediate converter judges whether the coaxial modem is initiated according to a source medium access control address in the DHCP discovery message;
or the DHCP discovery message comprises an initiator field used for representing an initiator; and the coaxial cable intermediate converter extracts an initiator field from the DHCP discovery message and judges whether the initiator is the coaxial modem or not according to the initiator field.
In an embodiment of the present invention, the IP port is further configured with a coaxial modem proxy IP and a customer premise equipment proxy IP;
the sending, by the coaxial cable intermediate converter, the DHCP discover message to the coaxial modem DHCP server includes:
the coaxial cable intermediate converter selects a corresponding coaxial modem proxy IP, and sends the DHCP discovery message to the coaxial modem DHCP server through the coaxial modem proxy IP;
the coaxial cable intermediate converter sending the DHCP discover message to the user side device DHCP server includes:
the coaxial cable intermediate converter determines the IP port where the coaxial modem sending the DHCP discovery message is located, selects a corresponding user side equipment proxy IP under the IP port, and sends the DHCP discovery message to a corresponding user side equipment DHCP server through the user side equipment proxy IP.
In an embodiment of the present invention, the IP port is configured with a plurality of customer premise equipment proxy IPs;
and when the coaxial cable intermediate converter selects the corresponding customer premise equipment proxy IP, selecting a first customer premise equipment proxy IP from the plurality of customer premise equipment proxy IPs or selecting one customer premise equipment proxy IP from the plurality of customer premise equipment proxy IPs in a turn mode.
In order to solve the above technical problem, the present invention further provides an IP address allocation method, including:
the coaxial cable intermediate converter is provided with an IP port, the lower part of the IP port is bound with a coaxial modem and user side equipment with the same service, and the IP port is provided with a coaxial modem DHCP server and a user side equipment DHCP server;
the coaxial cable intermediate converter receives a DHCP discovery message sent by a coaxial modem under the IP port, when the DHCP discovery message is initiated by the coaxial modem, the DHCP discovery message is sent to a coaxial modem DHCP server, and the coaxial modem DHCP server allocates an IP address for the coaxial modem according to the received DHCP discovery message; and when the DHCP discovery message is initiated by the user side equipment, the DHCP discovery message is sent to a DHCP server of the user side equipment, and the DHCP server of the user side equipment distributes an IP address for the user side equipment according to the received DHCP discovery message.
In an embodiment of the present invention, the allocating, by the coaxial modem DHCP server, an IP address to the coaxial modem according to the received DHCP discovery message includes:
the coaxial modem DHCP server acquires a medium access control address of the coaxial modem and allocates an IP address for the coaxial modem according to the medium access control address;
the client device DHCP server allocating an IP address to the client device according to the received DHCP discovery message includes:
and the DHCP server of the user side equipment allocates an IP address for the user side equipment according to the coaxial modem to which the user side equipment belongs.
In order to solve the above technical problem, the present invention further provides a coaxial cable intermediate converter, including an IP port, a receiving module, and a processing module:
the IP port is bound with a coaxial modem and user side equipment with the same service, and is configured with a coaxial modem DHCP server and a user side equipment DHCP server;
the receiving module is used for receiving a DHCP discovery message sent by a coaxial modem under the IP port;
the processing module is used for sending the DHCP discovery message to a DHCP server of the coaxial modem when the DHCP discovery message is initiated by the coaxial modem; and when the DHCP discovery message is initiated by the user side equipment, the DHCP discovery message is sent to a DHCP server of the user side equipment.
In an embodiment of the present invention, the DHCP discover message includes a source medium access control address, and the source medium access control address is a medium access control address of an initiator of the DHCP discover message; the processing module judges whether the message is initiated by the coaxial modem according to a source medium access control address in the DHCP discovery message;
or the DHCP discovery message comprises an initiator field used for representing an initiator; and the processing module extracts an initiator field from the DHCP discovery message and judges whether the initiator is the coaxial modem or not according to the initiator field.
In an embodiment of the present invention, the IP port is further configured with a coaxial modem proxy IP and a customer premise equipment proxy IP;
the sending, by the processing module, the DHCP discovery packet to the coaxial modem DHCP server includes:
the processing module selects a corresponding coaxial modem proxy IP and sends the DHCP discovery message to the coaxial modem DHCP server through the coaxial modem proxy IP;
the sending, by the processing module, the DHCP discovery packet to the user side device DHCP server includes:
and the processing module determines the IP port where the coaxial modem sending the DHCP discovery message is positioned, selects a corresponding user side equipment proxy IP under the IP port, and sends the DHCP discovery message to a corresponding user side equipment DHCP server through the user side equipment proxy IP.
In an embodiment of the present invention, the IP port is configured with a plurality of customer premise equipment proxy IPs;
and when the processing module selects the corresponding customer premise equipment proxy IP, selecting a first customer premise equipment proxy IP from the plurality of customer premise equipment proxy IPs or selecting one customer premise equipment proxy IP from the plurality of customer premise equipment proxy IPs in a turn mode.
In order to solve the technical problem, the invention also provides an IP address allocation system, which comprises a coaxial cable intermediate converter, a coaxial modem DHCP server and a user side equipment DHCP server; the coaxial cable intermediate converter is provided with an IP port, a coaxial modem and user side equipment with the same service are bound under the IP port, and the IP port is provided with a coaxial modem DHCP server and a user side equipment DHCP server;
the coaxial cable intermediate converter is used for receiving a DHCP discovery message sent by a coaxial modem under the IP port, and sending the DHCP discovery message to a coaxial modem DHCP server when the DHCP discovery message is initiated by the coaxial modem; otherwise, the DHCP discovery message is sent to the DHCP server of the user side equipment;
the coaxial modem DHCP server is used for allocating an IP address for the coaxial modem according to the received DHCP discovery message;
and the user side equipment DHCP server is used for distributing an IP address for the user side equipment according to the received DHCP discovery message.
In an embodiment of the present invention, the allocating, by the coaxial modem DHCP server, an IP address to the coaxial modem according to the received DHCP discovery message includes:
the coaxial modem DHCP server acquires a medium access control address of the coaxial modem and allocates an IP address for the coaxial modem according to the medium access control address;
the client device DHCP server allocating an IP address to the client device according to the received DHCP discovery message includes:
and the DHCP server of the user side equipment allocates an IP address for the user side equipment according to the coaxial modem to which the user side equipment belongs.
The invention has the beneficial effects that:
the invention provides an IP address allocation method, a coaxial cable intermediate converter and a system.A CMC is provided with an IP port, a CM and a CPE of the same service are bound under the IP port, and the IP port is provided with a CM DHCP server and a CPE DHCP server which are respectively used for the CM IP address allocation and the CPE IP address allocation; the CMC receives a DHCP discovery message sent by a CM under an IP port, judges whether the DHCP discovery message is initiated by the CM, if so, sends the DHCP discovery message to a CM DHCP server, and the CM DHCP server distributes an IP address for the coaxial modem according to the received DHCP discovery message; otherwise, the DHCP discovery message is initiated for the CPE, the DHCP discovery message is sent to a CPE DHCP server, and the CPE DHCP server allocates an IP address for the CPE according to the received DHCP discovery message. Therefore, the scheme provided by the invention realizes the uniform distribution and management of the IP addresses of the CM and the CPE of the same service hung under the CMC.
Drawings
Fig. 1 is a schematic structural diagram of an IP address allocation system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a coaxial cable intermediate converter according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of an IP address allocation method according to a second embodiment of the present invention;
fig. 4 is a flowchart illustrating an IP address allocation method according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings.
The first embodiment is as follows:
referring to fig. 1, the IP address allocation system provided in this embodiment includes a coaxial cable intermediate converter (CMC) and a DHCP server; wherein the DHCP server comprises a Coaxial Modem (CM) DHCP server and a Customer Premises Equipment (CPE) DHCP server; an IP port (namely IP Bundle) is configured on the CMC, the CM and the CPE of the same service are bound under the IP port, and the IP port is configured with a CM DHCP server and a CPE DHCP server which are respectively used for CM IP address allocation and CPE IP address allocation; the embodiment can specifically determine whether the services are the same through the IP address network segment. The IP address system further includes CMs that are suspended from the CMC and CPEs that are suspended from the CMs, and the CPEs in this embodiment may specifically be STBs (set top boxes), hosts (hosts), IADs (integrated access devices), and the like.
The CMC is configured to receive a DHCP discovery message (specifically, a DHCPDISCOVER message or a DHCP REQUEST message) sent by the CM under the IP port configured by the CMC, determine whether the DHCP discovery message is initiated by the CM sending the DHCP discovery message, and if so, send the DHCP discovery message to a corresponding CM DHCP server; otherwise, the DHCP discovery message is initiated by the CPE under the CM, and the DHCP discovery message is sent to a corresponding CPE DHCP server;
the CM DHCP server is used for allocating an IP address for the CM which initiates the DHCP discovery message according to the received DHCP discovery message;
the CPE DHCP server is used for distributing an IP address for the CPE which initiates the DHCP discovery message according to the received DHCP discovery message.
In the embodiment, different DHCP servers are adopted to allocate the IP addresses for the CM and the CPE, so that the load can be shared, and the resource utilization is facilitated. Of course, in some application scenarios, the same DHCP may be used to allocate IP addresses to the CM and CPE.
In this embodiment, the CMC determines whether the DHCP discover message is initiated by the CM in at least one of the following two manners:
the first method is as follows: the DHCP discovery message contains a source MAC address (namely a medium access control address), and the source MAC address is an MAC address of an initiator of the DHCP discovery message;
the CMC acquires the MAC address of the CM which sends the DHCP discovery message, extracts a source MAC address from the DHCP discovery message, compares whether the MAC address of the CM is the same as the extracted source MAC address, and if so, indicates that the DHCP discovery message is initiated by the CM; otherwise, the DHCP discovery message is judged to be initiated by the CPE under the CM.
In this embodiment, after the determination is completed or before the determination, the CMC may also insert the obtained MAC address of the CM into the DHCP discovery packet, so that the CM DHCP server may perform autonomous determination. Specifically, an Option 82 field of a DHCP discovery message can be inserted, and a DHCP Relay Agent Information Option (82) is used for inserting the MAC address of a CM into a sub-Option 2-remoteiD; the CM DHCP server may further determine whether the application is from the CM or from a CPE (e.g., stb/PC/eMTA) below the CM according to whether the MAC address in the Remote ID is equal to the original MAC in the DHCP discovery message.
The second method comprises the following steps: or the DHCP discovery message contains an initiator field for representing the initiator; the CMC obtains the initiator field of the received DHCP discovery message and judges whether the initiator is a CM or not according to the initiator field. The initiator field in this embodiment may specifically be an Option60 field of a DHCP discover message, and specifically, the DHCP Option60 field is set as follows:
when the first 6 of the OP60 character strings are docsis, the initiator of the DHCP discovery message can be determined to be a cable-modem (namely CM);
the first 4 of the OP60 character strings are pktc, that is, the DHCP discovery message initiator is eMTA;
the first 3 of the OP60 character strings are STBs, namely the initiator of the DHCP discovery message can be determined to be STB;
the first 4 of the OP60 strings are MSFT, which can determine that the DHCP discovery message initiator is PC.
The DHCP discovery message in this embodiment further includes an Option43 field, where the Option43 field includes: and the VSI (provider specific information) is used for exchanging vendor specific information between the DHCP server and the client, and when the DHCP server receives a DHCP request message (with 43 parameters in the Option 55) requesting the Option43 information, the DHCP request message carries the Option43 in a reply message, and vendor-specified information is distributed to the DHCP client. In this embodiment, a DHCP message initiated by a CPE (eMTA/PC/stb, etc.) may only carry the Option60, but not carry the Option 43; as long as CM conforms to CableLabs standard, it is required to carry both Option60 and Option 43.
The CMC in this embodiment also supports a DHCP Relay (i.e., DHCP proxy) function, and the OLT is a two-layer transparent transmission device. Before the CMC receives a DHCP discovery message sent by a CM under a configured IP port, the CMC also configures a CM agent IP and a CPE agent IP for the IP port; when the CMC sends the DHCP discovery message to the CM DHCP server, the corresponding CM agent IP can be selected specifically, and the DHCP discovery message is sent to the CM DHCP server through the CM agent IP. The CMC sending the DHCP discover message to the CPEDHCP server includes: the CMC determines the IP port where the CM sending the DHCP discovery message is located, selects a corresponding CPE agent IP under the IP port, and sends the DHCP discovery message to a corresponding CPE DHCP server through the CPE agent IP.
When the CMC in this embodiment configures a CPE agent IP and a CM agent IP for an IP port, one or more CMC ports may be configured as needed; when a plurality of CPE agent IPs and CM agent IPs are configured, the first CPE agent IP and CM agent IP may be selected as default, or may be selected in an alternate manner when selected, or may be selected by using other optimization algorithms. For example, when the configured CPE agent IPs include a plurality of CPE agent IPs, the CMC selects a first one of the plurality of CPE agent IPs or selects one from the plurality of CPE agent IPs in a round-robin manner when selecting the corresponding CPE agent IP.
After receiving the DHCP discovery message, the CM DHCP server extracts the MAC address of the CM sending the DHCP discovery message from the DHCP discovery message, and matches the CM with a corresponding IP address from the address pool according to the MAC address. After receiving the DHCP discovery message, the CPE DHCP server allocates an IP address to the CPE in the following process:
and the CPE DHCP server allocates an IP address to the CPE according to the CM to which the CPE belongs. Specifically, when the CPE initiates a DHCP discover message, the CMC determines, according to the IP of the CM connected to the CPE, which CPE agent IP on the IP port the CMC should select as its relay IP, and the CPE DHCP server also performs address assignment on the same subnet according to the CPE agent IP.
Referring to fig. 2, the coaxial cable intermediate converter (CMC) in the present embodiment includes an IP port, a receiving module, and a processing module: the IP port is bound with a coaxial modem and user side equipment with the same service, and is configured with a coaxial modem DHCP server and a user side equipment DHCP server;
the receiving module is used for receiving a DHCP discovery message sent by the CM under the IP port;
the processing module is used for sending the DHCP discovery message to the coaxial modem DHCP server when the DHCP discovery message received by the receiving module is initiated by the CM; and when the DHCP discovery message is initiated by the CPE, the DHCP discovery message is sent to a DHCP server of the user side equipment.
The DHCP discovery message in this embodiment includes a source MAC address, which is an MAC address of a DHCP discovery message initiator; the processing module judges whether the message is initiated by the CM according to the source MAC address in the DHCP discovery message; the method specifically comprises the following steps: the processing module acquires the MAC address of the CM which sends the DHCP discovery message, extracts a source MAC address from the DHCP discovery message, compares whether the MAC address of the CM is the same as the extracted source MAC address, and if so, indicates that the DHCP discovery message is initiated by the CM; otherwise, the DHCP discovery message is judged to be initiated by the CPE under the CM.
Or the DHCP discovery message contains an initiator field for representing the initiator; the processing module extracts the initiator field from the DHCP discovery message and judges whether the initiator is initiated by the CM according to the initiator field.
The IP port in the embodiment is also provided with a coaxial modem agent IP and a user side equipment agent IP;
the processing module sends the DHCP discovery message to the coaxial modem DHCP server comprises the following steps:
the processing module selects a corresponding coaxial modem proxy IP and sends a DHCP discovery message to a coaxial modem DHCP server through the coaxial modem proxy IP;
the processing module sends the DHCP discovery message to the DHCP server of the user terminal equipment comprises the following steps:
the processing module determines the IP port where the coaxial modem sending the DHCP discovery message is located, selects the corresponding user side equipment proxy IP under the IP port, and sends the DHCP discovery message to the corresponding user side equipment DHCP server through the user side equipment proxy IP.
The IP port in this embodiment is configured with a plurality of customer premise equipment proxy IPs;
when the processing module selects the corresponding customer premise equipment proxy IP, selecting a first one of the customer premise equipment proxy IPs or selecting one from the customer premise equipment proxy IPs according to a rotation mode.
Example two:
please refer to fig. 3 for a method for allocating an IP address provided in this embodiment, which includes:
step 201: configuring an IP port on the CMC, and binding the CM and the CPE of the same service under the IP port;
step 202: configuring a CM DHCP server and a CPE DHCP server for the IP port, wherein the CM DHCP server and the CPE DHCP server are respectively used for CM IP address allocation and CPE IP address allocation;
step 203: the CMC receives a DHCP discovery message sent by a CM under an IP port;
step 204: the CMC determines whether the DHCP discover message is originated by the CM, if so, goes to step 205; otherwise, go to step 207;
step 205: the CMC sends the DHCP discovery message to a CM DHCP server;
step 206: and the CM DHCP server allocates an IP address for the CM according to the received DHCP discovery message.
Step 207: the DHCP discovery message is initiated by the CPE and is sent to a CPE DHCP server;
step 208: and the CPE DHCP server allocates an IP address for the CPE according to the received DHCP discovery message.
In the embodiment, different DHCP servers are adopted to allocate the IP addresses for the CM and the CPE, so that the load can be shared, and the resource utilization is facilitated. Of course, in some application scenarios, the same DHCP may be used to allocate IP addresses to the CM and CPE.
In this embodiment, the CMC determines whether the DHCP discover message is initiated by the CM in at least one of the following two manners:
the first method is as follows: the DHCP discovery message contains a source MAC address (namely a medium access control address), and the source MAC address is an MAC address of an initiator of the DHCP discovery message;
the CMC acquires the MAC address of the CM which sends the DHCP discovery message, extracts a source MAC address from the DHCP discovery message, compares whether the MAC address of the CM is the same as the extracted source MAC address, and if so, indicates that the DHCP discovery message is initiated by the CM; otherwise, the DHCP discovery message is judged to be initiated by the CPE under the CM.
In this embodiment, after the determination is completed or before the determination, the CMC may also insert the obtained MAC address of the CM into the DHCP discovery packet, so that the CM DHCP server may perform autonomous determination. Specifically, an Option 82 field of a DHCP discovery message can be inserted, and a DHCP Relay Agent Information Option (82) is used for inserting the MAC address of a CM into a sub-Option 2-remoteiD; the CM DHCP server may further determine whether the application is from the CM or from a CPE (e.g., stb/PC/eMTA) below the CM according to whether the MAC address in the Remote ID is equal to the original MAC in the DHCP discovery message.
The second method comprises the following steps: or the DHCP discovery message contains an initiator field for representing the initiator; the CMC obtains the initiator field of the received DHCP discovery message and judges whether the initiator is a CM or not according to the initiator field. The initiator field in this embodiment may specifically be an Option60 field of a DHCP discover message, and specifically, the DHCP Option60 field is set as follows:
when the first 6 of the OP60 character strings are docsis, the initiator of the DHCP discovery message can be determined to be a cable-modem (namely CM);
the first 4 of the OP60 character strings are pktc, that is, the DHCP discovery message initiator is eMTA;
the first 3 of the OP60 character strings are STBs, namely the initiator of the DHCP discovery message can be determined to be STB;
the first 4 of the OP60 strings are MSFT, which can determine that the DHCP discovery message initiator is PC.
The DHCP discovery message in this embodiment further includes an Option43 field, where the Option43 field includes: and the VSI (provider specific information) is used for exchanging vendor specific information between the DHCP server and the client, and when the DHCP server receives a DHCP request message (with 43 parameters in the Option 55) requesting the Option43 information, the DHCP request message carries the Option43 in a reply message, and vendor-specified information is distributed to the DHCP client. In this embodiment, a DHCP message initiated by a CPE (eMTA/PC/stb, etc.) may only carry the Option60, but not carry the Option 43; as long as CM conforms to CableLabs standard, it is required to carry both Option60 and Option 43.
The CMC in this embodiment also supports a DHCP Relay (i.e., DHCP proxy) function, and the OLT is a two-layer transparent transmission device. Before the CMC receives a DHCP discovery message sent by a CM under a configured IP port, the CMC also configures a CM agent IP and a CPE agent IP for the IP port; when the CMC sends the DHCP discovery message to the CM DHCP server, the corresponding CM agent IP can be selected specifically, and the DHCP discovery message is sent to the CM DHCP server through the CM agent IP. The CMC sending the DHCP discover message to the CPEDHCP server includes: the CMC determines the IP port where the CM sending the DHCP discovery message is located, selects a corresponding CPE agent IP under the IP port, and sends the DHCP discovery message to a corresponding CPE DHCP server through the CPE agent IP.
When the CMC in this embodiment configures a CPE agent IP and a CM agent IP for an IP port, one or more CMC ports may be configured as needed; when a plurality of CPE agent IPs and CM agent IPs are configured, the first CPE agent IP and CM agent IP may be selected as default, or may be selected in an alternate manner when selected, or may be selected by using other optimization algorithms. For example, when the configured CPE agent IPs include a plurality of CPE agent IPs, the CMC selects a first one of the plurality of CPE agent IPs or selects one from the plurality of CPE agent IPs in a round-robin manner when selecting the corresponding CPE agent IP.
After receiving the DHCP discovery message, the CM DHCP server extracts the MAC address of the CM sending the DHCP discovery message from the DHCP discovery message, and matches the CM with a corresponding IP address from the address pool according to the MAC address. After receiving the DHCP discovery message, the CPE DHCP server allocates an IP address to the CPE in the following process:
and the CPE DHCP server allocates an IP address to the CPE according to the CM to which the CPE belongs. Specifically, when the CPE initiates a DHCP discover message, the CMC determines, according to the IP of the CM connected to the CPE, which CPE agent IP on the IP port the CMC should select as its relay IP, and the CPE DHCP server also performs address assignment on the same subnet according to the CPE agent IP.
Example three:
in order to better understand the present invention, the present embodiment further exemplifies the present invention by taking a specific application scenario as an example. When the DHCP Relay is realized on the CMC, the OLT is adopted to be connected upwards, and the OLT only needs to support VLAN two-layer transparent transmission. Referring to fig. 4, the process of allocating IP addresses to the CM and the CPE includes:
step 301: configuring an IP Bundle (namely an IP port) on the CMC, and taking the CM and the CPE with the same service as the same IP Bundle subnet, namely binding the CM and the CPE on one IP Bundle;
step 302: configuring a CM DHCP server, a CPE DHCP server and a corresponding proxy IP for the IP Bundle; in this embodiment, a CM DHCP server and a CPE DHCP server are separately allocated for the CM and CPE, and the specific configuration is as follows:
the IP Bundle configuration on CMC is as follows:
cmc (config) # interface bundle 1// configuration bundle1
cmc (config-if) # ip address 191.168.3.3255.255.255.0// relay ip on line on CM
cmc (config-if) # ip address 191.168.4.3255.255.255.0secondary// relay ip on line on CPE
cmc (config-if) # ip address 191.168.5.3255.255.255.0secondary// relay ip on line on CPE
The ip of cmc (config-if) # cable helper-address 172.16.1.144// CM DHCP server is used for allocating the ip to the CM
cmc (config-if) # cable helper-address 172.16.2.144CPE// IP of CPE DHCP, for allocating IP to CPE
cmc (config-if) # cable source-verify DHCP// IP for obtaining CM/CPE supporting DHCP mode
cmc (config-if) # cable dhcp-giaddr policy 1// selecting the 1 st ipaddress from the second type as the relay ip of the on-line CPE;
step 303: the CM or the CPE initiates a DHCP discovery message (namely sending a DHCP discover message or a DHCPrequest message);
step 304: the CMC receives a DHCP discovery message sent by a CM below the CMC, extracts a source MAC address in the DHCP discovery message, and acquires the MAC address of the CM;
step 305: the CMC determines whether the extracted source MAC address is consistent with the MAC address of the acquired CM, if so, goes to step 306: otherwise, go to step 308;
step 306: the CMC distributes a DHCP discovery message to the CM DHCP server through a default CMC proxy IP default gateway address (such as 191.168.3.3) (here, only one CM DHCP server is configured, so that the message is only forwarded to 172.16.1.144);
step 307: and the CM DHCP server matches the source MAC address in the DHCP discovery message in an address pool, allocates the IP address of the CM to the CMC according to the matching result, and the subsequent protocol and data forwarding all leave the IP Relay agent (serving as a gateway) to which the CM belongs.
Step 308: the CMC determines which CPE agent IP under the IPbundle is selected according to the IP of the CM to which the CPE which initiates the DHCP discovery message belongs; assuming that the CM is assigned with 191.168.3.0 segment IPs in the above example, the CMC determines that a secondary default gateway under bundle1 should be selected for forwarding according to the segment IPs, but since 2 secondary Relay IPs are assigned, there is a selection command for the CMC to select which secondary Relay IP should be walked. The CMC distributes a DHCP discovery message to a CPE DHCP server (172.16.2.144) through a default public secondary IP Relay Agent gateway address (such as 191.168.4.3);
step 309: and the CPE DHCP server allocates a corresponding IP address according to the condition of the CM or the IP Bundle to which the CPE belongs, and the subsequent protocol and data forwarding all leave the IP Relay Agent (serving as a gateway) to which the CPE belongs.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (12)

1. An IP address assignment method, comprising:
the coaxial cable intermediate converter is provided with an IP port, the lower part of the IP port is bound with a coaxial modem and user side equipment with the same service, and the IP port is provided with a coaxial modem DHCP server and a user side equipment DHCP server;
a coaxial cable intermediate converter receives a DHCP discovery message sent by a coaxial modem under the IP port, and sends the DHCP discovery message to a coaxial modem DHCP server when the DHCP discovery message is initiated by the coaxial modem; and when the DHCP discovery message is initiated by the user side equipment, the DHCP discovery message is sent to a DHCP server of the user side equipment.
2. The IP address assignment method according to claim 1, wherein the DHCP discover message includes a source medium access control address, and the source medium access control address is a medium access control address of an initiator of the DHCP discover message; the coaxial cable intermediate converter judges whether the coaxial modem is initiated according to a source medium access control address in the DHCP discovery message;
or the DHCP discovery message comprises an initiator field used for representing an initiator; and the coaxial cable intermediate converter extracts an initiator field from the DHCP discovery message and judges whether the initiator is the coaxial modem or not according to the initiator field.
3. The IP address allocation method according to claim 1 or 2, wherein the IP port is further configured with a coax modem proxy IP and a customer premises equipment proxy IP;
the sending, by the coaxial cable intermediate converter, the DHCP discover message to the coaxial modem DHCP server includes:
the coaxial cable intermediate converter selects a corresponding coaxial modem proxy IP, and sends the DHCP discovery message to the coaxial modem DHCP server through the coaxial modem proxy IP;
the coaxial cable intermediate converter sending the DHCP discover message to the user side device DHCP server includes:
the coaxial cable intermediate converter determines the IP port where the coaxial modem sending the DHCP discovery message is located, selects a corresponding user side equipment proxy IP under the IP port, and sends the DHCP discovery message to a corresponding user side equipment DHCP server through the user side equipment proxy IP.
4. The IP address allocation method according to claim 3, wherein the IP port is configured with a plurality of customer premise equipment proxy IPs;
and when the coaxial cable intermediate converter selects the corresponding customer premise equipment proxy IP, selecting a first customer premise equipment proxy IP from the plurality of customer premise equipment proxy IPs or selecting one customer premise equipment proxy IP from the plurality of customer premise equipment proxy IPs in a turn mode.
5. An IP address assignment method, comprising:
the coaxial cable intermediate converter is provided with an IP port, the lower part of the IP port is bound with a coaxial modem and user side equipment with the same service, and the IP port is provided with a coaxial modem DHCP server and a user side equipment DHCP server;
the coaxial cable intermediate converter receives a DHCP discovery message sent by a coaxial modem under the IP port, when the DHCP discovery message is initiated by the coaxial modem, the DHCP discovery message is sent to a coaxial modem DHCP server, and the coaxial modem DHCP server allocates an IP address for the coaxial modem according to the received DHCP discovery message; and when the DHCP discovery message is initiated by the user side equipment, the DHCP discovery message is sent to a DHCP server of the user side equipment, and the DHCP server of the user side equipment distributes an IP address for the user side equipment according to the received DHCP discovery message.
6. The IP address assignment method of claim 5, wherein the coaxial modem DHCP server assigning an IP address to a coaxial modem according to the received DHCP discover message comprises:
the coaxial modem DHCP server acquires a medium access control address of the coaxial modem and allocates an IP address for the coaxial modem according to the medium access control address;
the client device DHCP server allocating an IP address to the client device according to the received DHCP discovery message includes:
and the DHCP server of the user side equipment allocates an IP address for the user side equipment according to the coaxial modem to which the user side equipment belongs.
7. A coaxial cable intermediate converter, comprising an IP port, a receiving module, and a processing module:
the IP port is bound with a coaxial modem and user side equipment with the same service, and is configured with a coaxial modem DHCP server and a user side equipment DHCP server;
the receiving module is used for receiving a DHCP discovery message sent by a coaxial modem under the IP port;
the processing module is used for sending the DHCP discovery message to a DHCP server of the coaxial modem when the DHCP discovery message is initiated by the coaxial modem; and when the DHCP discovery message is initiated by the user side equipment, the DHCP discovery message is sent to a DHCP server of the user side equipment.
8. The intermediate coaxial cable converter of claim 7, wherein the DHCP discover message contains a source medium access control address, the source medium access control address being a medium access control address of an initiator of the DHCP discover message; the processing module judges whether the message is initiated by the coaxial modem according to a source medium access control address in the DHCP discovery message;
or the DHCP discovery message comprises an initiator field used for representing an initiator; and the processing module extracts an initiator field from the DHCP discovery message and judges whether the initiator is the coaxial modem or not according to the initiator field.
9. The intermediate coaxial cable converter according to claim 7 or 8, wherein the IP port is further configured with a coaxial modem proxy IP and a customer premises equipment proxy IP;
the sending, by the processing module, the DHCP discovery packet to the coaxial modem DHCP server includes:
the processing module selects a corresponding coaxial modem proxy IP and sends the DHCP discovery message to the coaxial modem DHCP server through the coaxial modem proxy IP;
the sending, by the processing module, the DHCP discovery packet to the user side device DHCP server includes:
and the processing module determines the IP port where the coaxial modem sending the DHCP discovery message is positioned, selects a corresponding user side equipment proxy IP under the IP port, and sends the DHCP discovery message to a corresponding user side equipment DHCP server through the user side equipment proxy IP.
10. The coax intermediate converter of claim 9, wherein the IP port is configured with a plurality of customer premises equipment proxy IPs;
and when the processing module selects the corresponding customer premise equipment proxy IP, selecting a first customer premise equipment proxy IP from the plurality of customer premise equipment proxy IPs or selecting one customer premise equipment proxy IP from the plurality of customer premise equipment proxy IPs in a turn mode.
11. An IP address distribution system is characterized by comprising a coaxial cable intermediate converter, a coaxial modem DHCP server and a user side equipment DHCP server; the coaxial cable intermediate converter is provided with an IP port, a coaxial modem and user side equipment with the same service are bound under the IP port, and the IP port is provided with a coaxial modem DHCP server and a user side equipment DHCP server;
the coaxial cable intermediate converter is used for receiving a DHCP discovery message sent by a coaxial modem under the IP port, and sending the DHCP discovery message to a coaxial modem DHCP server when the DHCP discovery message is initiated by the coaxial modem; otherwise, the DHCP discovery message is sent to the DHCP server of the user side equipment;
the coaxial modem DHCP server is used for allocating an IP address for the coaxial modem according to the received DHCP discovery message;
and the user side equipment DHCP server is used for distributing an IP address for the user side equipment according to the received DHCP discovery message.
12. The IP address assignment system of claim 11, wherein the coaxial modem DHCP server assigning an IP address to a coaxial modem according to the received DHCP discover message comprises:
the coaxial modem DHCP server acquires a medium access control address of the coaxial modem and allocates an IP address for the coaxial modem according to the medium access control address;
the client device DHCP server allocating an IP address to the client device according to the received DHCP discovery message includes:
and the DHCP server of the user side equipment allocates an IP address for the user side equipment according to the coaxial modem to which the user side equipment belongs.
CN201410689892.0A 2014-11-25 2014-11-25 IP address allocation method, coaxial cable intermediate converter and system Active CN105610994B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410689892.0A CN105610994B (en) 2014-11-25 2014-11-25 IP address allocation method, coaxial cable intermediate converter and system
PCT/CN2015/072444 WO2016082335A1 (en) 2014-11-25 2015-02-06 Ip address allocation method, coaxial cable intermediate converter and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410689892.0A CN105610994B (en) 2014-11-25 2014-11-25 IP address allocation method, coaxial cable intermediate converter and system

Publications (2)

Publication Number Publication Date
CN105610994A CN105610994A (en) 2016-05-25
CN105610994B true CN105610994B (en) 2020-06-26

Family

ID=55990528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410689892.0A Active CN105610994B (en) 2014-11-25 2014-11-25 IP address allocation method, coaxial cable intermediate converter and system

Country Status (2)

Country Link
CN (1) CN105610994B (en)
WO (1) WO2016082335A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302013B (en) * 2016-08-12 2019-06-18 成都广达新网科技股份有限公司 A kind of desktop system and working method for testing CMC basic service
CN106330969B (en) * 2016-10-31 2019-07-02 成都广达新网科技股份有限公司 A kind of packet identification method during CM is online in CMC system
CN109640199B (en) * 2019-01-04 2021-10-26 烽火通信科技股份有限公司 CBAT management method and system
CN112648197B (en) * 2020-11-30 2022-06-14 三联泵业股份有限公司 Water pump capable of changing motion state
CN112615943B (en) * 2020-12-11 2022-02-22 深圳金信诺高新技术股份有限公司 Address translation method and system for multi-CPE (customer premise equipment) test

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812398A (en) * 2005-01-26 2006-08-02 华为技术有限公司 Method for realizing DHCP server loading sharing based on DHCP relay
CN101227356A (en) * 2007-12-12 2008-07-23 深圳市同洲电子股份有限公司 Equipment, system and method for network access based on dynamic state host computer collocation protocol
CN103957142A (en) * 2014-04-11 2014-07-30 烽火通信科技股份有限公司 System, method and device for achieving three-network integration of PON system
CN104158920A (en) * 2014-08-28 2014-11-19 上海斐讯数据通信技术有限公司 A DHCP management system of a CMC apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025574B (en) * 2009-09-09 2012-09-26 国基电子(上海)有限公司 Cable modem termination system and method
CN103888383B (en) * 2012-12-24 2017-09-29 华为技术有限公司 Method for obligating resource, system and convergence device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1812398A (en) * 2005-01-26 2006-08-02 华为技术有限公司 Method for realizing DHCP server loading sharing based on DHCP relay
CN101227356A (en) * 2007-12-12 2008-07-23 深圳市同洲电子股份有限公司 Equipment, system and method for network access based on dynamic state host computer collocation protocol
CN103957142A (en) * 2014-04-11 2014-07-30 烽火通信科技股份有限公司 System, method and device for achieving three-network integration of PON system
CN104158920A (en) * 2014-08-28 2014-11-19 上海斐讯数据通信技术有限公司 A DHCP management system of a CMC apparatus

Also Published As

Publication number Publication date
WO2016082335A1 (en) 2016-06-02
CN105610994A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
US10103982B2 (en) System and method for automatic routing of dynamic host configuration protocol (DHCP) traffic
US10880196B2 (en) Bi-directional speed test method and system for customer premises equipment (CPE) devices
US8787200B2 (en) Device, system, and method for automatically configuring application terminals in home network
US9742634B2 (en) System and method for automatically learning and maintaining IP address allocation topology
CN105610994B (en) IP address allocation method, coaxial cable intermediate converter and system
CN102217245B (en) Method for processing message and device thereof
US20170187460A1 (en) Data over cable service interface specification (docsis) over passive optical network (pon)
CN110830333A (en) Intelligent household equipment access authentication method, device, gateway and storage medium
US9112764B2 (en) Techniques for assigning internet protocol version six network blocks in unknown networks
CN108965497B (en) Method for virtualizing access network and proxy node
EP2439903B1 (en) Method for providing information, home gateway and home network system
CN101582774B (en) Modem and method thereof for fixing user terminal IP address
CN110855809B (en) Message processing method and device
US10673692B2 (en) Method, apparatus, and system for acquiring configuration file
CN101902623A (en) Method and device for transmitting network video service
US11588842B2 (en) Network anomaly detection and mitigation simulation tool
US11394577B2 (en) Expandable network device
US11700228B2 (en) Hardware address consistency management
US9729385B2 (en) Service provisioning method, device, and system in coaxial cable system
EP3515048B1 (en) Cable media converter management method, apparatus and system
US11456988B1 (en) MAP-T border relay controller
WO2019061269A1 (en) Pspupv implementation for docsis access network
US20230362152A1 (en) Mobile dynamic application packet kit (apk)
KR20180009321A (en) service function chaining control method for network services of virtual customer premises equipment
KR100885295B1 (en) Dynamic host configuration protocoldhcp embodiment method and system in high-speed internet service system

Legal Events

Date Code Title Description
C06 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