CN105657080A - IP address configuration method and system - Google Patents

IP address configuration method and system Download PDF

Info

Publication number
CN105657080A
CN105657080A CN201610132694.3A CN201610132694A CN105657080A CN 105657080 A CN105657080 A CN 105657080A CN 201610132694 A CN201610132694 A CN 201610132694A CN 105657080 A CN105657080 A CN 105657080A
Authority
CN
China
Prior art keywords
address
physical port
port sequence
board
business board
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.)
Pending
Application number
CN201610132694.3A
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.)
Zhejiang An Zheng Science And Technology Co Ltd
Original Assignee
Zhejiang An Zheng Science And 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 Zhejiang An Zheng Science And Technology Co Ltd filed Critical Zhejiang An Zheng Science And Technology Co Ltd
Priority to CN201610132694.3A priority Critical patent/CN105657080A/en
Publication of CN105657080A publication Critical patent/CN105657080A/en
Pending 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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2517Translation of Internet protocol [IP] addresses using port numbers

Abstract

The invention provides an IP address configuration method. The method comprises the steps that application address information of a service board card is received, and parameter information of the service board card is inquired, wherein the parameter information comprises a physical port sequence of the accessed board card; according to a mapping relation between a preset physical port sequence and an IP address, the IP address corresponding to the physical port sequence is selected, and the service board card is configured. Meanwhile, the invention provides an IP address configuration system. According to the IP address configuration method and system, all physical ports on a dispatching equipment exchange board can be preset, IP address static preallocating can be conducted on all the physical ports, IP addresses are bound with the physical ports, and the preset IP addresses can be automatically allocated for the ports inserted into the dispatching equipment exchange board; dispatching system network management work is effectively simplified, and the situation that the function of the system is affected due to the problems such as IP conflicts is avoided.

Description

A kind of IP address configuration method and system
Technical field
The present invention relates to multi-media communication field, the method particularly relating to the address of a kind of system distributing IP address and distribution IP.
Background technology
Command dispatching system is as a kind of private communication facility, and it is real-time, reliability is high, is widely used in the fields such as metallurgy, electric power, oil, chemical industry, railway, aviation, traffic, public security, and the Effec-tive Function for China's all trades and professions has played important function.
Along with the integration of three networks trend in global range strengthens, mobile Internet is from 3G (3rd-Generation, i.e. third generation mobile Internet) to 4G (4th-Generation, i.e. forth generation mobile Internet) epoch stride forward, developing rapidly of wireless access wide band technology and mobile terminal technology, underlying digital technology, broadband technology, software engineering, IP (InternetProtocol) technology is for the radio communication (such as intercommunication) in multi-media communication field, voice communication is (such as VoIP, i.e. VoiceOverInternetProtocol), video communication, GIS (GeographicInformationSystem, map) scheduling, fax etc., provide stable network condition.
The various communication equipments of multiple business type can be set inside multimedia dispatching system, an IP address is often respectively needed between these communication equipments, realize mutual based on ICP/IP protocol, but there are following some shortcomings in existing multimedia dispatching device: the IP address of the multimedia dispatching machine board equipment of designated port cannot be preset, as long as the access device making any physical port opens DHCP, just can automatically obtain the IP address specified; It is susceptible to IP collision event, causes that systemic-function is affected.
Summary of the invention
The present invention is to solve multimedia dispatching device above shortcomings part, the physical port distribution IP address of the business board that offer can access according to multimedia dispatching device power board, accomplish physical port and preset IP address binding, thus be greatly simplified the work of multimedia dispatching system equipment distribution IP address, and a kind of IP address configuration method of settling IP address conflict influential system operation problem and system.
For achieving the above object, the present invention is by the following technical solutions:
A kind of IP address configuration method provided by the invention, comprises the following steps:
Receiving the applied address information of business board, the parameter information of inquiry business board, described parameter information includes the physical port sequence accessing board; Mapping relations according to default physical port sequence and IP address, select the IP address of corresponding described physical port sequence and business board card are configured.
As preferably, described inquiry accesses the step of the parameter information of board, farther includes: read ifTable, atTable table by snmp protocol, obtains the parameter information accessing board on power board.
As preferably, the mapping relations of described default physical port sequence and IP address are the mapping relations one by one of power board physical port sequence and the unique ip address arranged at management end in advance.
As preferably, mapping relations according to default physical port sequence and IP address, after the IP address selecting corresponding described physical port sequence the step that business board card is configured, also include: the gateway address according to the IP address configuration business board of default power board.
As preferably, mapping relations according to default physical port sequence and IP address, after the IP address selecting corresponding described physical port sequence the step that business board card is configured, also include: monitoring SNMP network trap message, described trap message field (MFLD) includes IP address and the physical port sequence of business board; Resolve described trap message, the mapping relations according to the physical port sequence in trap message, default physical port sequence and IP address, it is judged that whether the IP address of business board is modified, if it is determined that then alert at management end for amendment.
The present invention also provides for the system of a kind of configuration of IP address, the system of described configuration of IP address includes: enquiry module, when receiving the applied address information of business board, the parameter information of inquiry business board, described parameter information includes the physical port sequence accessing board; Mapping table, preserves the mapping relations one by one of power board physical port sequence and the unique ip address arranged in advance at management end; Configuration module, inquires the IP address corresponding with physical port according to mapping table, and business board card is configured.
As preferably, described configuration module includes: IP address configuration unit, inquires the IP address corresponding with physical port according to mapping table, and business board card is configured; Gateway address dispensing unit, the gateway address according to the IP address configuration business board of default power board.
As preferably, also including: trap message monitoring module, monitoring the trap message of SNMP, described trap message field (MFLD) includes IP address and the physical port sequence of business board; Alarm module, resolve the trap message that trap message monitoring module receives, mapping relations according to the physical port sequence in trap message, default physical port sequence and IP address, it is judged that whether the IP address of business board is modified, if it is determined that then alert at management end for amendment.
Each physical port on scheduling devices exchange plate can be pre-set by the technical program, each physical port is carried out the static predistribution of IP address, and by the binding of IP address and physical port, inserted by this method and controlling equipment power board can distribute default IP address automatically according to the port of its insertion.The system of a kind of configuration of IP address in this programme simultaneously, inserts power board upper port at business board, and when sending applied address request, the physical port sequence of inquiry access service board. Physical port sequence that configuration module preserves according to mapping table and the corresponding relation of IP address, distribute the IP address corresponding with the physical port that it accesses to the business board accessed. Effectively simplify dispatching patcher networking management work, it is to avoid the problems such as IP conflict cause that systemic-function receives impact.
Accompanying drawing explanation
The first pass figure of a kind of IP address configuration method that Fig. 1 provides for the embodiment of the present invention.
The second flow chart of a kind of IP address configuration method that Fig. 2 provides for the embodiment of the present invention.
First schematic diagram of a kind of IP address configuration system that Fig. 3 provides for the embodiment of the present invention.
Second schematic diagram of a kind of IP address configuration system that Fig. 4 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the present invention is described further.
The invention discloses a kind of IP address configuration method, the system of a kind of configuration of IP address, the technical scheme of present aspect can the IP address of physical port on preset schedule devices exchange plate, simplified system networking works, it is to avoid the problems such as IP address conflict.
As it is shown in figure 1, be the first pass figure of a kind of IP address configuration method of the embodiment of the present invention, specifically include following steps:
S101 receives the applied address information of business board, the parameter information of inquiry business board, and described parameter information includes the physical port sequence accessing board. This step specifically includes and reads ifTable, atTable table by snmp protocol, obtains the parameter information accessing board on power board.
The S102 mapping relations according to the physical port sequence preset and IP address, select the IP address of corresponding described physical port sequence and business board card are configured. The mapping relations of described default physical port sequence and IP address are the mapping relations one by one of power board physical port sequence and the unique ip address arranged at management end in advance.
Being capable of when business board card accesses controlling equipment power board by technical scheme provided by the invention, according to the physical port configuration of IP address accessed, simplified system networking works, it is to avoid the problems such as IP address conflict.
As in figure 2 it is shown, be the second flow chart of a kind of IP address configuration method of the embodiment of the present invention, specifically include following steps:
S201 receives the applied address information of business board, reads ifTable, atTable table by snmp protocol, obtains the parameter information accessing board on power board, and described parameter information includes the physical port sequence accessing board.
Concrete, the AGENT that SNMP resides on managed device accepts the serialization message from network management workstation from udp port 161, decoded, group's name is verified, analysis obtains the node that management variable is corresponding in MIB tree, the value of management variable is obtained from corresponding module, forming response message again, coding sends back network management workstation. After network management workstation gets response packet, then through same process, finally show result. BoardIndex:MIB tree node is 1.3.6.1.2.1.2.2.1.1,1.3.6.1.2.1.3.1.1.1, display plate card port position; Status:MIB tree node is 1.3.6.1.2.1.2.2.1.8, display plate card state; PhysAddress:MIB tree node is 1.3.6.1.2.1.3.1.1.2,1.3.6.1.2.1.2.2.1.6, represents physical address;IPAddress:MIB tree node is 1.3.6.1.2.1.3.1.1.3, represents IP address. Such that it is able to get the physical port sequence accessing board.
The S202 mapping relations according to the physical port sequence preset and IP address, select the IP address of corresponding described physical port sequence and business board card are configured. The mapping relations of described default physical port sequence and IP address are the mapping relations one by one of power board physical port sequence and the unique ip address arranged at management end in advance.
The S203 gateway address according to the IP address configuration business board of the power board preset.
S204 monitors SNMP network trap message, and described trap message field (MFLD) includes IP address and the physical port sequence of business board. Concrete, this Trap type of message 0xa7, namely manufacturer is self-defined. It is made up of 4 fields PDU section: atIfIndex field: which port expression is, simultaneously also ifIndex field to ifTable; IfOperStatus field (ifTable table): represent Interface status up or down; AtPhysAddress field: expression is the physical address of this port, i.e. MAC Address; AtNetAddress field: expression is the network address, i.e. IP address.
S205 resolves described trap message, the mapping relations according to the physical port sequence in trap message, default physical port sequence and IP address, it is judged that whether the IP address of business board is modified, if it is determined that then alert at management end for amendment.
As it is shown on figure 3, be the first schematic diagram of a kind of IP address configuration system of the embodiment of the present invention, described system includes:
Enquiry module 31, when receiving the applied address information of business board, the parameter information of inquiry business board, described parameter information includes the physical port sequence accessing board;
Mapping table 32, preserves the mapping relations one by one of power board physical port sequence and the unique ip address arranged in advance at management end;
Configuration module 33, inquires the IP address corresponding with physical port according to mapping table, and business board card is configured.
As shown in Figure 4, for the second schematic diagram of a kind of IP address configuration system of the embodiment of the present invention, described system includes:
Enquiry module 41, when receiving the applied address information of business board, the parameter information of inquiry business board, described parameter information includes the physical port sequence accessing board;
Mapping table 42, preserves the mapping relations one by one of power board physical port sequence and the unique ip address arranged in advance at management end;
Configuration module 43, inquires the IP address corresponding with physical port according to mapping table, and business board card is configured. Preferably, configuration module 43 includes IP address configuration unit 431 and gateway address dispensing unit 432, inquires the IP address corresponding with physical port according to mapping table, and business board card is configured; Gateway address dispensing unit, the gateway address according to the IP address configuration business board of default power board.
Trap message monitoring module 44, monitors the trap message of SNMP, and described trap message field (MFLD) includes IP address and the physical port sequence of business board;
Alarm module 45, resolve the trap message that trap message monitoring module receives, mapping relations according to the physical port sequence in trap message, default physical port sequence and IP address, it is judged that whether the IP address of business board is modified, if it is determined that then alert at management end for amendment.
It will be appreciated by those skilled in the art that above each module realizes by being organized in controlling equipment computer program.
It is capable of when business board card accesses controlling equipment power board by technical scheme provided by the invention, according to the physical port configuration of IP address accessed, and the IP address change of access device can be monitored, send warning information when IP address change to management end.
Detailed description of the invention is as follows: in advance management end be physical port distribution IP address: port PO RT1 IP address be 2.3.4.20, the IP address of port PO RT2 is 2.3.4.21, the IP address of port PO RT3 is 2.3.4.22, other ports arrange and set gradually. management end stores the mapping table of above-mentioned mapping relations. controlling equipment power board IP address is set: 2.3.4.254. terminal unit (optional ROIP, GOIP, FXO, FXS board) etc. business board, ROIP business board is after the port PO RT1 unlatching that example accesses power board, applied address request is sent to management end, management end enquiry module reads the ifTable of the SNMP agent of ROIP business board by snmp protocol, atTable table, the physical port sequence getting the access of this business board is PORT1, the IP address that in the configuration module polls mapping table of management end, PORT1 port sequence is corresponding is 2.3.4.20, and be 2.3.4.20 by the IP address configuration of ROIP business board, allocating default gateway address is 2.3.4.254 simultaneously. in like manner, when such as GOIP business board card is linked into PORT2 to other business boards, this GOIP business board card is configured the IP address 2.3.4.21 corresponding with PORT2 physical port and default gateway 2.3.4.254 according to identical method by management end.
In controlling equipment running, trap message monitoring module, monitor the trap message of SNMP, described trap message field (MFLD) includes atPhysAddress field: expression is the physical address of this port, i.e. MAC Address; AtNetAddress field: expression is the network address, i.e. IP address. Alarm module, resolves the trap message that trap message monitoring module receives, the mapping relations according to the physical port sequence in trap message, default physical port sequence and IP address, it is judged that whether the IP address of business board is modified. It is 2.3.4.23 if analysis result is physical port sequence PORT1, IP address. Being 2.3.4.20 according to IP address corresponding for physical port PORT1 in mapping table, both differ, and are judged to that IP address is modified and then alert at management end. Management personnel can check this warning information at management end, it is confirmed whether as legal IP address amendment, if being allowed for the amendment operation of IP address and result, then can revise the IP address of the mapping of PORT1 in mapping table, it is to avoid receive identical warning information. Need to revise the IP address of each physical port, then can revise the IP address that each physical port in mapping table is corresponding, after restarting equipment, both can complete reconfiguring of IP address.

Claims (8)

1. an IP address configuration method, is characterized in that, comprises the following steps:
Receiving the applied address information of business board, the parameter information of inquiry business board, described parameter information includes the physical port sequence accessing board;
Mapping relations according to default physical port sequence and IP address, select the IP address of corresponding described physical port sequence and business board card are configured.
2. a kind of IP address configuration method according to claim 1, is characterized in that, described inquiry accesses the step of the parameter information of board, farther includes:
Read ifTable, atTable table by snmp protocol, obtain the parameter information accessing board on power board.
3. a kind of IP address configuration method according to claim 1, is characterized in that, the mapping relations of described default physical port sequence and IP address are the mapping relations one by one of power board physical port sequence and the unique ip address arranged at management end in advance.
4. a kind of IP address configuration method according to claim 1, it is characterized in that, mapping relations according to default physical port sequence and IP address, after the IP address selecting corresponding described physical port sequence the step that business board card is configured, also include: the gateway address according to the IP address configuration business board of default power board.
5. a kind of IP address configuration method according to claim 1 or 2 or 3 or 4, it is characterized in that, mapping relations according to default physical port sequence and IP address, the IP address selecting corresponding described physical port sequence after the step that business board card is configured, also include:
Monitoring SNMP network trap message, described trap message field (MFLD) includes IP address and the physical port sequence of business board;
Resolve described trap message, the mapping relations according to the physical port sequence in trap message, default physical port sequence and IP address, it is judged that whether the IP address of business board is modified, if it is determined that then alert at management end for amendment.
6. an IP address configuration system, is characterized in that, including:
Enquiry module, when receiving the applied address information of business board, the parameter information of inquiry business board, described parameter information includes the physical port sequence accessing board;
Mapping table, preserves the mapping relations one by one of power board physical port sequence and the unique ip address arranged in advance at management end;
Configuration module, inquires the IP address corresponding with physical port according to mapping table, and business board card is configured.
7. a kind of IP address configuration system according to claim 6, is characterized in that, described configuration module includes:
IP address configuration unit, inquires the IP address corresponding with physical port according to mapping table, and business board card is configured;
Gateway address dispensing unit, the gateway address according to the IP address configuration business board of default power board.
8. a kind of IP address configuration system according to claim 7, is characterized in that, also include:
Trap message monitoring module, monitors the trap message of SNMP, and described trap message field (MFLD) includes IP address and the physical port sequence of business board;
Alarm module, resolve the trap message that trap message monitoring module receives, mapping relations according to the physical port sequence in trap message, default physical port sequence and IP address, it is judged that whether the IP address of business board is modified, if it is determined that then alert at management end for amendment.
CN201610132694.3A 2016-03-09 2016-03-09 IP address configuration method and system Pending CN105657080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610132694.3A CN105657080A (en) 2016-03-09 2016-03-09 IP address configuration method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610132694.3A CN105657080A (en) 2016-03-09 2016-03-09 IP address configuration method and system

Publications (1)

Publication Number Publication Date
CN105657080A true CN105657080A (en) 2016-06-08

Family

ID=56492405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610132694.3A Pending CN105657080A (en) 2016-03-09 2016-03-09 IP address configuration method and system

Country Status (1)

Country Link
CN (1) CN105657080A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519262A (en) * 2019-08-26 2019-11-29 赛尔网络有限公司 A kind of traffic statistics analysis system and method based on BGP Route Distinguisher
CN111770203A (en) * 2020-09-01 2020-10-13 成都无糖信息技术有限公司 Automatic evidence obtaining method and system based on GoIP equipment
CN113568669A (en) * 2021-07-21 2021-10-29 北京锐安科技有限公司 Service board card starting method based on orthogonal architecture, service board card and orthogonal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050002263A (en) * 2003-06-30 2005-01-07 주식회사 케이티 System and method for managing network failure
CN1744521A (en) * 2005-08-26 2006-03-08 杭州华为三康技术有限公司 Network equipment management method and network management system
CN101510833A (en) * 2009-04-07 2009-08-19 杭州华三通信技术有限公司 Method and apparatus for generating equipment panel
CN101707636A (en) * 2009-11-20 2010-05-12 中兴通讯股份有限公司 IP address allocation method and device for single board of BBU of base station
CN102273178A (en) * 2011-05-20 2011-12-07 华为技术有限公司 Method, platform device and system for setting service single-board address
CN103442095A (en) * 2013-08-16 2013-12-11 京信通信系统(中国)有限公司 Method and system for obtaining addresses of daughter cards on single board

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050002263A (en) * 2003-06-30 2005-01-07 주식회사 케이티 System and method for managing network failure
CN1744521A (en) * 2005-08-26 2006-03-08 杭州华为三康技术有限公司 Network equipment management method and network management system
CN101510833A (en) * 2009-04-07 2009-08-19 杭州华三通信技术有限公司 Method and apparatus for generating equipment panel
CN101707636A (en) * 2009-11-20 2010-05-12 中兴通讯股份有限公司 IP address allocation method and device for single board of BBU of base station
CN102273178A (en) * 2011-05-20 2011-12-07 华为技术有限公司 Method, platform device and system for setting service single-board address
CN103442095A (en) * 2013-08-16 2013-12-11 京信通信系统(中国)有限公司 Method and system for obtaining addresses of daughter cards on single board

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519262A (en) * 2019-08-26 2019-11-29 赛尔网络有限公司 A kind of traffic statistics analysis system and method based on BGP Route Distinguisher
CN110519262B (en) * 2019-08-26 2022-07-12 赛尔网络有限公司 Traffic statistical analysis system and method based on BGP routing identification
CN111770203A (en) * 2020-09-01 2020-10-13 成都无糖信息技术有限公司 Automatic evidence obtaining method and system based on GoIP equipment
CN113568669A (en) * 2021-07-21 2021-10-29 北京锐安科技有限公司 Service board card starting method based on orthogonal architecture, service board card and orthogonal equipment

Similar Documents

Publication Publication Date Title
US10693788B2 (en) Network validation with dynamic tunneling
CN1985470B (en) System, network entities for configuration management of a dynamic host configuration protocol framework
CN107733670B (en) Forwarding strategy configuration method and device
CN108777722B (en) Multi-system networking communication method and device, mobile terminal and storage medium
CN102845123B (en) Virtual private cloud connection method and tunnel proxy server
CN113411215B (en) Time-sensitive network centralized user configuration method and system based on OPC UA
CN1558606A (en) Network terminal automatic configuration method
CN101702718A (en) Method and device for managing user terminal equipment
CN103873497A (en) Method, device and system for scheduling information
WO2020249345A1 (en) Method for providing control applications, and configuration controller
CN105657080A (en) IP address configuration method and system
CN106453690A (en) IP address allocation method and apparatus
CN101686150B (en) Installation method of network element, network element, DHCP server and network system
CN101572615B (en) Network equipment management method, configuration management device and network system
EP3048756B1 (en) Management method and apparatus for dynamic host configuration protocol server and relay
CN105827496A (en) Method and apparatus for managing PE device
CN102480476A (en) Multi-service access method based on DHCP protocol extension
CN102377830A (en) IP (Internet Protocol) address configuration method
CN111315037B (en) Communication link establishing method and device, computer equipment and storage medium
CN115174310A (en) PDN dialing and configuration method, system, device, equipment and storage medium
CN104283861A (en) Network access method, device and system for routing equipment in vehicle networking system
JP2007096539A (en) Conversion apparatus
CN101453396A (en) Method and system for multiple service provider device management
CN101170562B (en) A method for controlling access number of user device
KR20070079860A (en) System and method for managing plural element by public internet protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160608

RJ01 Rejection of invention patent application after publication