CN100407713C - Method for realizing gate-link net-element ethernet port IP address discovery protocol - Google Patents

Method for realizing gate-link net-element ethernet port IP address discovery protocol Download PDF

Info

Publication number
CN100407713C
CN100407713C CN03140073.6A CN03140073A CN100407713C CN 100407713 C CN100407713 C CN 100407713C CN 03140073 A CN03140073 A CN 03140073A CN 100407713 C CN100407713 C CN 100407713C
Authority
CN
China
Prior art keywords
network element
address
gateway network
protocol
ethernet interface
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.)
Expired - Fee Related
Application number
CN03140073.6A
Other languages
Chinese (zh)
Other versions
CN1581856A (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.)
Huawei Digital Technologies Chengdu Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN03140073.6A priority Critical patent/CN100407713C/en
Publication of CN1581856A publication Critical patent/CN1581856A/en
Application granted granted Critical
Publication of CN100407713C publication Critical patent/CN100407713C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to the network communication field, particularly to a protocol discovering method of an IP address. The present invention comprises a client protocol, a server protocol and a message format protocol, makes a network administrator be capable of obtaining the IP address of an Ethernet port of a gateway network element, and is suitable for an optical transmission device based on the TCP/IP protocol stack and is managed through the Ethernet port.

Description

The implementation method of Gateway Network Element Ethernet interface IP address discovery protocol
Technical field:
The present invention relates to field of network communication, especially the discovery protocol method of IP address.
Background technology:
When webmaster need pass through the NEIP managing network, must guarantee that at first the communication of webmaster and Gateway Network Element is normal.Connect by Ethernet interface between general webmaster and the Gateway Network Element, their Ethernet interface IP address of ICP/IP protocol stack requirement must be at the same network segment, so webmaster is when the configuration communication setting, need a kind of privately owned agreement to find the Ethernet interface IP address of Gateway Network Element, no matter whether they are at the same network segment.
The objective of the invention is to: the implementation method that a kind of Gateway Network Element Ethernet interface IP address discovery protocol is provided.
Summary of the invention:
It comprises: client protocol; Server-side protocol and message format agreement;
Trigger when being subjected to certain, client is 5333 request package to multicast group 224.0.0.33 transmission udp port;
If Gateway Network Element receives packet on udp port 5333, just resolve the content in this bag; If request package just sends response packet to multicast group 224.0.0.33, information comprises the Ethernet interface IP address/netmask and the corresponding NEIP of protocol package type, described Gateway Network Element in the bag of described response packet; If not request package, then do not process, abandon quietly; If described client receives packet on udp port 5333, just resolve the content in this bag; If response packet just obtains the Ethernet interface IP address/netmask and the corresponding NEIP of the Gateway Network Element in the bag, and shows; If not, then do not process, abandon quietly;
Wherein, described client has the IP address;
Wherein, the message format of described response packet is: word length is 32 bytes; Its content comprises: TYPE: protocol type; NEIP: the NEIP of Gateway Network Element; ETHIP: the Ethernet interface IP address of Gateway Network Element; ETHIPMASK: the Ethernet interface netmask of Gateway Network Element.
Description of drawings:
Accompanying drawing is 1 server end of the present invention and client-requested-response relation figure;
Accompanying drawing is the 32 bit bytes definition distribution diagram of 2 message formats of the present invention.
Execution mode
Client (webmaster):
Trigger when being subjected to certain, it is 5333 request package that this end sends udp port to multicast group 224.0.0.33, and the content of request package includes only the protocol package type, is request type, then the arrival of wait acknowledge bag.If on udp port 5333, receive packet, just resolve the content in this bag: at first judge whether to be response packet, if just obtain the Ethernet interface IP address/netmask of the Gateway Network Element in the bag and the NEIP of correspondence, and show by certain mode; If not, just do not process, abandon quietly.
Server end (Gateway Network Element):
On udp port 5333, wait for the arrival of request package, if receive packet, just resolve the content in this bag: at first judge whether to be request package, if, just sending udp port to multicast group 224.0.0.33 is 5333 response packet, and information comprises the Ethernet interface IP address/netmask and the corresponding NEIP of protocol package type, Gateway Network Element in the bag; If not request package, do not process, abandon quietly.
Message format:
Word length is 32 bytes, and wherein the 0-7 position is TYPE; The 8-15 position is NE IP; The 16-23 position is ETHIP; The 24-31 position is ETHIPMASK.
TYPE: protocol type is an integer number, the network preface, and optional value replys-1 for request-0;
NEIP: the NEIP of Gateway Network Element is an integer number, the network preface, and when protocol type was request, its value should be 0;
ETHIP: the Ethernet interface IP address of Gateway Network Element is an integer number, the network preface, and when protocol type was request, its value should be 0;
ETHI PMASK: the Ethernet interface netmask of Gateway Network Element is an integer number, the network preface, and when protocol type was request, its value should be 0.
This agreement is a kind of application level protocol, is used for the Ethernet interface IP address that webmaster is found Gateway Network Element, also is a kind of REQUEST/RESPONSE agreement simultaneously.A client (for example webmaster) sends the set form request package to server (Gateway Network Element) end, server receives request package, self Ethernet interface IP address/netmask and corresponding NEIP are encapsulated in the respond packet, send to client then, client is resolved this bag after receiving response packet, thereby obtain the Ethernet interface IP address/netmask and the corresponding NEIP of Gateway Network Element, shown in figure one.Server end need be integrated in the host software, and client can be integrated in the webmastering software, also can independently be a little application (small tool).
Consider that the Ethernet interface IP address that links to each other between Gateway Network Element and the webmaster may be at the same network segment, can't carry out communication by clean culture, so the mode of agreement employing multicast is guaranteed communication and under any circumstance can both be carried out, and no matter their Ethernet interface IP address whether at the same network segment, server end and client all add the multicast group of 224.0.0.33.Simultaneously, in order to receive and dispatch multicast message, agreement is based on insecure udp protocol, and the udp port that server end and client are all used number is 5333.Owing to be based on insecure udp protocol, agreement does not adopt any reliable mechanism to guarantee the correct transmission and the reception of the bag of asking/replying yet simultaneously, so this agreement equally also is an insecure agreement.
This agreement is a stateless agreement, and it does not need any end of communication to safeguard that any state guarantees synchronously.

Claims (1)

1. the implementation method of a Gateway Network Element Ethernet interface IP address discovery protocol is characterized in that:
Trigger when being subjected to certain, client is 5333 request package to multicast group 224.0.0.33 transmission udp port;
If Gateway Network Element receives packet on udp port 5333, just resolve the content in this bag; If request package just sends response packet to multicast group 224.0.0.33, information comprises the Ethernet interface IP address/netmask and the corresponding NEIP of protocol package type, described Gateway Network Element in the bag of described response packet; If not request package, then do not process, abandon quietly;
If described client receives packet on udp port 5333, just resolve the content in this bag; If response packet just obtains the Ethernet interface IP address/netmask and the corresponding NEIP of the Gateway Network Element in the bag, and shows; If not, then do not process, abandon quietly;
Wherein, described client has the IP address;
Wherein, the message format of described response packet is: word length is 32 bytes; Its content comprises: TYPE: protocol type; NEIP: the NEIP of Gateway Network Element; ETHIP: the Ethernet interface IP address of Gateway Network Element; ETHIPMASK: the Ethernet interface netmask of Gateway Network Element.
CN03140073.6A 2003-08-06 2003-08-06 Method for realizing gate-link net-element ethernet port IP address discovery protocol Expired - Fee Related CN100407713C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN03140073.6A CN100407713C (en) 2003-08-06 2003-08-06 Method for realizing gate-link net-element ethernet port IP address discovery protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN03140073.6A CN100407713C (en) 2003-08-06 2003-08-06 Method for realizing gate-link net-element ethernet port IP address discovery protocol

Publications (2)

Publication Number Publication Date
CN1581856A CN1581856A (en) 2005-02-16
CN100407713C true CN100407713C (en) 2008-07-30

Family

ID=34579224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN03140073.6A Expired - Fee Related CN100407713C (en) 2003-08-06 2003-08-06 Method for realizing gate-link net-element ethernet port IP address discovery protocol

Country Status (1)

Country Link
CN (1) CN100407713C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4193820B2 (en) * 2005-07-05 2008-12-10 ブラザー工業株式会社 Management device and program
CN101145972B (en) * 2007-10-16 2012-09-05 中兴通讯股份有限公司 A disaster tolerance network management system and login method of network management clients

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020064147A1 (en) * 1995-10-13 2002-05-30 Howard Jonas Method and apparatus for transmitting and routing voice telephone calls over a packet switched computer network
US20020073204A1 (en) * 2000-12-07 2002-06-13 Rabindranath Dutta Method and system for exchange of node characteristics for DATA sharing in peer-to-peer DATA networks
CN1357187A (en) * 1999-06-18 2002-07-03 艾利森电话股份有限公司 Method and system for communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020064147A1 (en) * 1995-10-13 2002-05-30 Howard Jonas Method and apparatus for transmitting and routing voice telephone calls over a packet switched computer network
CN1357187A (en) * 1999-06-18 2002-07-03 艾利森电话股份有限公司 Method and system for communication
US20020073204A1 (en) * 2000-12-07 2002-06-13 Rabindranath Dutta Method and system for exchange of node characteristics for DATA sharing in peer-to-peer DATA networks

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
RFC 1531 Dynamic Host Configuration Protocol. R.DROMS,第9页第1段至第2段,第12页第5段至第7段,第21页第4段、图1,Network Working Group. 1993 *
在TCP/IP网络中使用DHCP服务. 方贤进.电脑开发与应用,第15卷第12期. 2002 *

Also Published As

Publication number Publication date
CN1581856A (en) 2005-02-16

Similar Documents

Publication Publication Date Title
TW484066B (en) Network interface device which allows peripherals to utilize network transport services
EP3422656B1 (en) Udp protocol acceleration method and system
US7733885B2 (en) Extending access to a device in a limited connectivity network to devices residing outside the limited connectivity network
US20100217878A1 (en) Method, system, and program for enabling communication between nodes
US8583831B2 (en) Thin client discovery
US20040071148A1 (en) Information device, gateway device and control method
US6778540B1 (en) Facility for forwarding data from a network adapter to a router partition without internet protocol (ip) processing
EP1354455A2 (en) A method and apparatus for automatically determining an appropriate transmission method in a network
JP2003308262A (en) Internet communication protocol system realized by hardware protocol processing logic and data parallel processing method using the system
CN110838935B (en) High-availability SDN controller clustering method, system, storage medium and equipment
EP1031090B1 (en) Network controller for processing status queries
US8156209B1 (en) Aggregation devices processing keep-alive messages of point-to-point sessions
US6985496B2 (en) Communication management device and communication management method
CN110771117B (en) Session layer communication using ID-oriented network
WO2010148723A1 (en) Telnet method for external terminal and master device, slave device thereof
EP2345230B1 (en) Method and apparatus for allocating network resources from one address realm to clients in a different address realm
US20040249923A1 (en) Efficient home network management system and method
EP1702436B1 (en) Method of discovery of a domestic network and device implementing the method
CN100407713C (en) Method for realizing gate-link net-element ethernet port IP address discovery protocol
JP2000236348A (en) Management system of remote equipment using internet protocol
MacDonald et al. Microsoft windows 2000 tcp/ip implementation details
US7260107B1 (en) PPP data conversion apparatus and method
US7543049B2 (en) Systems and methods for efficient discovery of a computing device on a network
Belliardi et al. Modbus protocol
US9191268B2 (en) Extension for the simple network management protocol (SNMP) in order to ascertain information on the status of SET-PDUS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: HUAWEI TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: GANGWAN NETWORK CO., LTD.

Effective date: 20060922

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20060922

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: Huawei Technologies Co., Ltd.

Address before: 100871, No. 21 West Third Ring Road, Beijing, Haidian District, Long Ling Building, 13 floor

Applicant before: Harbour Networks Holdings Limited

C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: HUAWEI DIGIT TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO LTD

Effective date: 20100730

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518129 HUAWEI HEADQUARTERS OFFICE BUILDING, BANTIAN, LONGGANG DISTRICT, SHENZHEN CITY, GUANGDONG PROVINCE TO: 100085 NO.3, XINXI ROAD, SHANGDI, HAIDIAN DISTRICT, BEIJING CITY

TR01 Transfer of patent right

Effective date of registration: 20100730

Address after: 100085 Beijing, Haidian District on the road, No. 3

Patentee after: Huawei Digit Technology Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080730

Termination date: 20120806