CN108769283A - A method of realizing that DHCP is adaptive - Google Patents

A method of realizing that DHCP is adaptive Download PDF

Info

Publication number
CN108769283A
CN108769283A CN201810418644.0A CN201810418644A CN108769283A CN 108769283 A CN108769283 A CN 108769283A CN 201810418644 A CN201810418644 A CN 201810418644A CN 108769283 A CN108769283 A CN 108769283A
Authority
CN
China
Prior art keywords
dhcp
configuration
equipment
vlan
address
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.)
Withdrawn
Application number
CN201810418644.0A
Other languages
Chinese (zh)
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.)
Shanxi Shanshui Optoelectronic Technology Co Ltd
Original Assignee
Shanxi Shanshui Optoelectronic Technology Co Ltd
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 Shanxi Shanshui Optoelectronic Technology Co Ltd filed Critical Shanxi Shanshui Optoelectronic Technology Co Ltd
Priority to CN201810418644.0A priority Critical patent/CN108769283A/en
Publication of CN108769283A publication Critical patent/CN108769283A/en
Withdrawn legal-status Critical Current

Links

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/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention designs a kind of method for realizing that DHCP is adaptive, zero configuration can be reached the standard grade in the network for having Dynamic Host Configuration Protocol server using the equipment of the mechanism, ignores the influence of VLAN.When this equipment is when zero configuration pattern accesses network, dhcp discover probe messages can be actively sent into network, it obtains establishing with dhcp servers using correct port and VLAN after responding and connect, continue the interaction of DHCP protocol until equipment is assigned to IP address, then equipment cures three layer interfaces and its IP and gateway, establishes fixed management passage.

Description

A method of realizing that DHCP is adaptive
Technical field
The present invention relates to the fields DCN, are related to a kind of technology that DHCP zero configurations are reached the standard grade, and specially a kind of realization DHCP is adaptive The method answered.
Background technology
DHCP protocol is a kind of means of common LAN distribution IP address, is usually used in DCN(Data Communication Network, data communication network)Management, but drawback there are one it, cannot in the network there are VLAN It realizes that zero configuration is reached the standard grade, needs three layer interfaces in client to be configured, IP address can be got from network.This hair It is bright to be improved for DHCP protocol, the IPRAN equipment of the zero configuration automatic wire charging in the network for having VLAN can be made, and can be solid Change and configures accessible linking DHCP protocol.The invention is applied to reaching the standard grade for unicom operator IPRAN equipment, can adapt to service automatically The configuration at end, and need not individually occupy interface.
Invention content
The present invention designs a kind of method for realizing that DHCP is adaptive that provides, and the evolutionary approach based on DHCP protocol completes connection The DCN management functions of logical operator IPRAN equipment.
The present invention adopts the following technical scheme that, a method of realizing that DHCP is adaptive, including applied to unicom The IPRAN equipment of operator, configuration include the following steps:
According to networking requirement, server end carries out normal Dynamic Host Configuration Protocol server address and address pool configuration, and server end does not limit to Device type;
Equipment applied to distal end, which is only dispatched from the factory, to be configured, i.e., the configuration of no any business;
Remote equipment accesses network, passes through the adaptive automatic wire charging to port and VLAN;It is characterized in that the stream of automatic wire charging Journey is as follows:
Remote equipment accesses in network, and totally 4095 of 0 to 4094 vlan can be sent automatically by all available links Dhcp discover messages;
When equipment receives the response of a dhcp offer, then the port for receiving message and VLAN are parsed, is created that based on should The sub-interface of port+VLAN, and continue the content interaction of DHCP protocol(And respond dhcp by the way of socket communications Requst messages, and continue the not complete agreements of dhcp and continue to interact), until IP address is allocated successfully;
Then equipment cures the configuration of this sub-interface, and will(What DHCP protocol was got)Gateway is issued to routing table, matches Set a default route.
The configuration preserved is needed to include:Sub-interface, sub-interface IP address, default route.
Evolutionary approach based on DHCP protocol includes:The IPRAN equipment access DHCP server side of zero configuration has been configured Network in, totally the 4095 of 0 to 4094 vlan can be sent using general message transmitting party formula automatically by available link A dhcp discover messages.If equipment has existed configuration, then it is assumed that be that network management path had been got through, no longer undergo this One process is managed by original configuration.
It is an advantage of the invention that:The present invention is used compared with general DHCP protocol and is more convenient, and can make equipment zero configuration It reaches the standard grade, adaptively obtains VLAN and port, without manual configuration, reduce artificial consumption.Automatically create three layers of DCN Mouth can be not take up special communication port on service port;And the bandwidth also very little that the channels DCN occupy, it can ignore not Meter.
Description of the drawings
Fig. 1 is the flow chart that DCN management is realized in present invention design.
Fig. 2 is the specific implementation networking diagram that the present invention designs.
Specific implementation mode
As shown in Figure 1, a kind of method for realizing that DHCP is adaptive, sets including the IPRAN applied to unicom operator Standby, configuration includes the following steps:
According to networking requirement, server end carries out normal Dynamic Host Configuration Protocol server address and address pool configuration, and server end does not limit to Device type;
Equipment applied to distal end, which is only dispatched from the factory, to be configured, i.e., the configuration of no any business;
Remote equipment accesses network, passes through the adaptive automatic wire charging to port and VLAN;It is characterized in that the stream of automatic wire charging Journey is as follows:
Remote equipment accesses in network, and totally 4095 of 0 to 4094 vlan can be sent automatically by all available links Dhcp discover messages;
When equipment receives the response of a dhcp offer, then the port for receiving message and VLAN are parsed, is created that based on should The sub-interface of port+VLAN, and continue the content interaction of DHCP protocol(And respond dhcp by the way of socket communications Requst messages, and continue the not complete agreements of dhcp and continue to interact), until IP address is allocated successfully;
Then equipment cures the configuration of this sub-interface, and will(What DHCP protocol was got)Gateway is issued to routing table, matches Set a default route.
Below in conjunction with Fig. 2, the present invention will be described, and preferred embodiment described below is only used for describing and explaining this Design, does not limit to the design.
Fig. 2 is the specific implementation networking diagram that the present invention designs.
Webmaster PC, Dynamic Host Configuration Protocol server and remote equipment to be reached the standard grade access common Layer2 switching in same LAN In machine.
IPRAN local side apparatus uses GE0/1 mouthfuls of webmasters, and it is logical to establish the management with PC by network segment 192.168.0.0/24 Road.Dhcp server functionality is opened on GE0/1.10 simultaneously, distributes the address pool of 10.11.1.0/28.
After far-end IP RAN equipment accesses in network, the configuration file changed is judged whether, if without configuration file, To all available links using totally 4095 dhcp of the vlan of general message transmitting party formula transmission 0 to 4094 Discover messages have on interchanger configuration vlan 10 to pass through, even if interchanger allows all vlan tag to pass through here, Server end will not respond to these messages.After message wherein with vlan tag10 is sent to IPRAN local side apparatus, office End equipment responds DHCP offer messages.Far-end IP RAN equipment judges to receive port and the vlan of message after receiving back message Tag is created that the sub-interface of ge0/2.10, and socket is then set up with server and is connect and continues interactive DHCP protocol, distribution A default route is issued further according to the gateway that server is specified to IP address 10.11.1.2, next-hop is directed toward server ip10.11.1.1.Ge0/2.10 and its IP address and default route are preserved and are configured by end-use device, are thus built automatically Available network management path is erected.
Network management path between IPRAN local side apparatus and remote equipment, can be on dedicated chain road, can also be with business Shared link is not take up individual channel.

Claims (2)

1. a kind of method for realizing that DHCP is adaptive, including the IPRAN equipment applied to unicom operator, configuration include with Lower step:
According to networking requirement, server end carries out normal Dynamic Host Configuration Protocol server address and address pool configuration, and server end does not limit to Device type;
Equipment applied to distal end, which is only dispatched from the factory, to be configured, i.e., the configuration of no any business;
Remote equipment accesses network, passes through the adaptive automatic wire charging to port and VLAN;It is characterized in that the stream of automatic wire charging Journey is as follows:
Remote equipment accesses in network, and totally 4095 of 0 to 4094 vlan can be sent automatically by all available links Dhcp discover messages;
When equipment receives the response of a dhcp offer, then the port for receiving message and VLAN are parsed, is created that based on should The sub-interface of port+VLAN, and continue the content interaction of DHCP protocol, until IP address is allocated successfully;
Then equipment cures the configuration of this sub-interface, and gateway is issued to one default route of configuration.
2. a kind of method for realizing that DHCP is adaptive according to claim 1, it is characterised in that:Need the configuration packet preserved It includes:Sub-interface, sub-interface IP address, default route.
CN201810418644.0A 2018-05-04 2018-05-04 A method of realizing that DHCP is adaptive Withdrawn CN108769283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810418644.0A CN108769283A (en) 2018-05-04 2018-05-04 A method of realizing that DHCP is adaptive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810418644.0A CN108769283A (en) 2018-05-04 2018-05-04 A method of realizing that DHCP is adaptive

Publications (1)

Publication Number Publication Date
CN108769283A true CN108769283A (en) 2018-11-06

Family

ID=64009877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810418644.0A Withdrawn CN108769283A (en) 2018-05-04 2018-05-04 A method of realizing that DHCP is adaptive

Country Status (1)

Country Link
CN (1) CN108769283A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411690A (en) * 2021-06-01 2021-09-17 江西山水光电科技股份有限公司 Online management method for OTN equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100198910A1 (en) * 2007-04-06 2010-08-05 Zhigang Zhang Enhanced method and apparatus for reducing congestion in dhcp network system
CN101883158A (en) * 2010-06-28 2010-11-10 中兴通讯股份有限公司 Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses
CN102257772A (en) * 2010-06-07 2011-11-23 华为技术有限公司 Method, device and system for service configuration
CN102857587A (en) * 2012-08-17 2013-01-02 福建三元达通讯股份有限公司 Method and system for sharing dynamic address pool in multi-virtual local area network (VLAN) environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100198910A1 (en) * 2007-04-06 2010-08-05 Zhigang Zhang Enhanced method and apparatus for reducing congestion in dhcp network system
CN102257772A (en) * 2010-06-07 2011-11-23 华为技术有限公司 Method, device and system for service configuration
CN101883158A (en) * 2010-06-28 2010-11-10 中兴通讯股份有限公司 Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses
CN102857587A (en) * 2012-08-17 2013-01-02 福建三元达通讯股份有限公司 Method and system for sharing dynamic address pool in multi-virtual local area network (VLAN) environment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411690A (en) * 2021-06-01 2021-09-17 江西山水光电科技股份有限公司 Online management method for OTN equipment

Similar Documents

Publication Publication Date Title
CN100583773C (en) Method and device for controlling data link layer elements with network layer elements
US10003405B2 (en) Data over cable service interface specification (DOCSIS) over passive optical network (PON)
US8121126B1 (en) Layer two (L2) network access node having data plane MPLS
US8711865B2 (en) Auto-provisioning of network services over an Ethernet access link
EP1695508B1 (en) Ethernet dsl access multiplexer and method providing dynamic service selection and end-user configuration
US8085791B1 (en) Using layer two control protocol (L2CP) for data plane MPLS within an L2 network access node
EP1816796B1 (en) Bi-directional forwarding in ethernet-based service domains over networks
CN102148766B (en) Method for service interworking in PON (passive optical network) under three-layer function networking
JP2004260832A (en) Method for providing service with guaranteed quality of service in ip access network
JP5295273B2 (en) Data stream filtering apparatus and method
CN104158752A (en) Method and device of processing business flow
US20080186967A1 (en) Method for supporting source-specific multicast forwarding over ethernet and device thereof
WO2008036723A2 (en) Automatic provisioning of a remote test head of a combined ip/telephony/cable network
CN108769283A (en) A method of realizing that DHCP is adaptive
Murhammer et al. IP Network Design Guide
CN109874408B (en) Communication network, communication system and communication method for multicasting video streaming media on communication provider boundaries
AU2017322089B2 (en) Distribution point unit
US20140269259A1 (en) Communication system for managing leased line network with wireless fallback
KR20060059877A (en) An arrangement and a method relating to ethernet access systems
KR102207290B1 (en) Method for supporting vlans in software defined network
CN207588890U (en) A kind of Convergence gateway and communication system
CN106533748B (en) Cable modem terminal system and message transmission method
CN117676768A (en) Access system and method based on 5G LAN
CN116192742A (en) Routing acceleration method and system based on application
US20140307762A1 (en) Communication system for managing leased line network and a method thereof

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20181106