CN101227471A - Same network segment address analysis protocol agent method and method for communicating among internal processing plates - Google Patents

Same network segment address analysis protocol agent method and method for communicating among internal processing plates Download PDF

Info

Publication number
CN101227471A
CN101227471A CN 200810005945 CN200810005945A CN101227471A CN 101227471 A CN101227471 A CN 101227471A CN 200810005945 CN200810005945 CN 200810005945 CN 200810005945 A CN200810005945 A CN 200810005945A CN 101227471 A CN101227471 A CN 101227471A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
address
interface
arp
proxy
field
Prior art date
Application number
CN 200810005945
Other languages
Chinese (zh)
Inventor
张进涛
王阿忠
玮 石
秦春华
Original Assignee
中兴通讯股份有限公司
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

Links

Abstract

The invention provides a communication process among internal processing panels. A mobile communication system comprises several network elements which respectively comprise an internal processing panel and an interface panel, wherein the network elements are mutually connected through the interface panels. The communication among the internal processing panels of different network elements comprises the following steps that choosing a transferring interface for the internal processing panel to communicate with the external portion, allocating an interface address, building up a virtual interface on the internal processing panel and allocating a virtual address which is located in the same network section with the interface address of the transferring interface, establishing a address resolution protocol ARP local address list on the transferring interface, adding the virtual address of the internal processing panel which is transferred by the transferring interface in the list, and conducting the communications among the internal processing panels through the ARP agency of the transferring interface. The invention further provides an ARP processing process in the same network section.

Description

同网,殳地址解析协i义代理方法及内部处理^反间通信方法技术领域本发明涉及网络通讯技术领域,尤其是一种特定的同网4殳IP(因特网协议)进行地址解析协议(ARP)代理的方法及一种内部处理板间通信方法。 Different network, address resolution Shu sense co i ^ proxy method and the internal processing of communication between anti TECHNICAL FIELD The present invention relates to network communication technology, and in particular the same network 4 is a specific Shu IP (Internet Protocol) Address Resolution Protocol (ARP) the method of inter-board communication method and a proxy internal processing. 背景技术当IP数据包经过以太网传输时,需要把目的IP地址转换为目的链路层地址,这个转换通过地址解析协议(ARP)完成。 BACKGROUND When IP packets over Ethernet transport, destination IP address needs to be converted to a destination link layer address, this conversion is done by the Address Resolution Protocol (ARP). 其主要工作方式为本端发送一个包含目的IP地址的ARP请求报文,对端收到后回应一个包含自己的链路层地址ARP应答净艮文,本端4巴目的IP地址和链路层地址——对应的保存在ARP緩存表中。 The main mode of operation comprises the transmission destination IP address of an ARP request packet to the local end, the client receives a response to contain its own link-layer address net Gen ARP reply packet, the destination IP address bar end 4 and the link layer address - the corresponding stored in the ARP cache table. 之后的数据报文发送时,直接查询ARP緩存表即可。 When subsequent data packets sent directly query the ARP cache table can be. 因为ARP请求报文是以太网广播报文,路由器不会转发,所以在一般情况下,ARP报文只请求解析同一个物理网络内的主机的链路层地址。 Because the ARP request broadcast packet is an Ethernet packet, the router does not forward, so in general, ARP packets can only resolve the link-layer address of the host request in the same physical network. 但是如果ARP请求是从一个网络的主机发往另一个网络上的主机,那么连接这两个网络的路由器也可以回应该请求,这个过程称作ARP代理(Proxy ARP)。 However, if the ARP request is sent to the host from a host on a network to another network, the router connecting the two networks may also responds to the request, a process called ARP proxy (Proxy ARP). 如附图1,当主机a ( 192.168.0.2/16)向主机d ( 192.168丄2/16 )发送数据时,首先发送目的为192.168.1.2的ARP请求,当路由器收到该请求, 发现另一个端口上存在到达d的路由,于是用自身的链路层地址回应这个ARP请求,当主机a收到ARP应答后,把其写入ARP緩存,这样从主机a 发向主机d的报文都发送到了路由器上,路由器做正常的路由转发,报文最终到达主机d。 As indicated by reference 1, when the host transmits data to the host a d (192.168 Shang 2/16) (192.168.0.2/16), first sends an ARP request for the purpose of 192.168.1.2, when the router receives the request, find another d present on route to a port, so the link layer address with its own response to the ARP request, when a host ARP reply is received, the ARP cache written, are sent from the host so that a packet sent to the host d to the router, the router to do the normal routing and forwarding packets eventually reach the host d. 从主机d到主机a的过程类似。 d from host to host a similar process. 可以看出ARP代理实际上通过欺骗发起ARP请求的发送端使其误以为路由器就是目的主机。 It can be seen Proxy ARP ARP request is actually initiated by spoofing the sender router into believing that the destination host. 这样做的好处是可以使一个物理网络通过路由器对另一个网络实现隐藏,两个网络不用配置路由就可以直接通信。 The benefit of this is the realization of a physical network to another network via a router to hide, do not configure two network routing can communicate directly. 但是目前的ARP代理都是路由器在自身的不同端口之间进行代理,也就是说当路由器收到ARP请求时发现目的IP在接收接口的同一网段中时,是不做回应处理的。 However, the current ARP proxy agent is a router between its different ports, that is found when the router receives an ARP request for the destination IP are in the same network segment receiving interface, the response is not processed. 当前的网络应用中,通信处理设备有时会需要对外部暴露自己的内部处理板,如在移动通信网元中,每个网元大都由主控板、业务处理板、接口板等组成,在两个网元对接时,内部处理板之间要建立固定的通信链路,但网元之间都通过接口板互联,双方只能看到对端的接口板地址,这种情况下, 目前一般在内部处理板上创建一个虚接口,在此虚接口上配置一个地址,把这个地址暴露给对端,对端可以以这个虛地址作为才艮文的目的地址,这样既可保证目的板的确定性,但网元之间的实际物理连接只能建立在接口板之间,所以要使数据到达对端的处理板就必须配置路由,让接口板作为下一跳, 让接口板对数据进行转发。 Current network applications, the communication processing apparatus may be required to reveal their internal processing outside the plate, as in the mobile communication network element, each network Yuandadu the main control board, service processing boards, interface boards, etc., the two when a network element butt plate to be established between the internal processing of the communication link is fixed, but interconnected through an interface board, both ends of the interface board can only see addresses between network elements, in this case, within the general Create a virtual interface processing board, arranged a virtual interface on this address, this address is exposed to the peer, the peer may be the virtual address as a destination address of the packet only Burgundy, both to the purpose of certainty plate, However, the actual physical connection between the network element can only be established between the interface plate, to make the data processing board reaches the end of the route must be arranged so that as the next hop interface boards, interface boards allow data forwarding. 如附图2,网元A与网元B相连,双方的内部处理板A1、 B2建立通信连接,如果选定通过接口板al、 bl进行转发,那么就需要配置静态路由, 对于网元A要添加一条目的为B2,下一i^为bl的静态路由,对于网元B 要添加一条目的为Al,下一跳为al的静态路由。 As figures 2, NE A and NE B connected to both the internal processing board A1, B2 communication connection is established, if the selected forwarded through the interface board al, bl, then configure static routes for the network element A to add an object to B2, the next i ^ bl static routing, the network element B to be added for an object is al, the next hop of the static route al. 这样双方的内部处理板的数据流向为处理板Al<——>接口板al<——>接口板bl<——〉处理板B2。 Such internal data flow processing board to process both the plate Al <-> interface board al <-> interface board bl <-> processing board B2. 如附图2,网元A的内部处理^反A1需要与网元B的内部处理寿反B2建立通信连接,通过接口板al、 bl进行转发,接口板al的某接口地址为192.1.3.21/24,接口板bl的某接口地址为192.1.3.22/24。 As FIG. 2, the internal processing of the network element A ^ B2 and anti-anti-A1 requires internal processing life NE B establishing a communication connection through the interface board al, BL forwarded, an address of the interface is the interface board al 192.1.3.21/ 24, the interface board bl an interface address 192.1.3.22/24. 当处理板A1配置虚地址8.8.1.1/32,处理板B2配置虚地址8.1.1.1/32,此时必须配置静态路由:网元A: 8.1.1.1 MASK 255,255.255.255 nexthop: 192.1.3.22网元B: 8.8.1.1 MASK 255.255.255.255 nexthop: 192.1.3.21双方才可以相互访问。 When the process virtual address plate A1 disposed 8.8.1.1/32, B2 processing board disposed virtual address 8.1.1.1/32, you must configure static routes: NE A: 8.1.1.1 MASK 255,255.255.255 nexthop: 192.1.3.22 NE B: 8.8.1.1 MASK 255.255.255.255 nexthop: 192.1.3.21 parties can access each other. 同理若A1与B1、 A2与B1、 A2与B2进行通信时,均必须添加两条静态路由。 Similarly, if the time to communicate with the A1 B1, A2 and B1, A2 and B2, you must add two static routes. 可以看出,当任何两块不同网元的内部处理板需要相互通信时,都要配置两条静态路由,配置方式比较繁瑣。 As can be seen, when any internal processing board needs two network elements communicate with each other, are configured with two static routes, more cumbersome configuration. 发明内容本发明要解决的技术问题是提供一种内部处理板通信方法,解决现有内部处理板进行通信时,路由配置方式比较繁瑣的问题。 SUMMARY OF THE INVENTION The technical problem to be solved is to provide a method for internal communication processing boards, solving an existing internal communication processing boards, routing configuration is relatively troublesome. 为了解决上述技术问题,本发明提供了一种内部处理板间通信方法,移动通信系统包含若干网元,所述网元中包含内部处理板、接口板,网元间通过接口板互连,不同网元的内部处理板间要进行通信时,包含如下步骤:为内部处理板选择与外部通信时进行转发的接口,称为转发接口,该转发接口位于4妄口4反上,在该转发接口上配置4妄口地址;在内部处理板上创建虚接口,在该虚接口上配置一虚地址,该虚地址与该内部处理板的转发接口的接口地址在同一网#史中;在转发接口建立地址解析协议ARP本地地址列表,所述转发接口对其ARP本地地址列表中的地址进行ARP代理,在所述ARP本地地址列表中添加该转发接口进4亍转发的内部处理板的虚地址,内部处理板间通过其转发4妻口的ARP代理进行通信。 To solve the above technical problem, the present invention provides a communication between an internal plate processing method, a mobile communication system comprising a plurality of network element, the network element contains internal processing boards, interface boards, interface boards between NE interconnect different between the NEs is to be the internal communication processing board, comprising the steps of: forwarding interface for internal and external communication processing board selection, called forwarding interface, the interface is located on a forward opening 4 4 anti-jump, the forwarding interface 4 jump address port configuration; internal virtual interface processing board, arranged on a virtual address of the virtual interface, the interface to the forwarding address of the virtual address to the internal processing of the plate in the same network # history; the forwarding interface establishing a local ARP protocol address list, the local address of the interface of the forwarding address list carried in its ARP proxy ARP, adding the virtual address to forward the interface 4 into the interior right foot forward in the ARP processing board local address list, communication between the internal processing board 4 through which forwards the ARP proxy port wife. 进一步地,上述方法还可具有以下特点,当转发接口收到ARP请求报文时,才艮据该ARP请求净艮文中的目的地址查询该转发接口的ARP本地地址列表,如果查询到和目的地址相同的地址,则返回ARP应答报文,该报文的链路层源地址为该转发接口的链路层地址。 Further, the above method may have the following characteristics, when the interface receives the forwarding ARP request packet before the ARP request according to the Gen destination address net Gen text query the local ARP forwarding address list interface, and if the destination address of the query the same address, is returned ARP response packet, the packet source address is the link layer address of the interface link layer forwarding. 进一步地,上述方法还可具有以下特点,在系统中建立一全局代理ARP 地址列表,该列表中配置所有需要进行ARP代理的地址,对该列表中的每一地址进行检查,如果检查到该地址和接口的接口地址在同一网段中,将该地址加入该接口的ARP本地地址列表中。 Further, the above method may have the following characteristics, proxy ARP to establish a global address list in the system, the list needs to configure all ARP proxy addresses, each address of the check list, to check if the address and the interface address of the interface in the same segment, the local interface address to the address list in ARP. 进一步地,上述方法还可具有以下特点,所述全局代理ARP地址列表包含若千个表项,每个表项包含如下字段:地址字段,存储要进行ARP代理的地址;代理接口字段,存储为该地址进行ARP代理的接口;标志位字段,指示该代理接口字段中的接口能否为所述地址提供ARP代理。 Further, the above method may have the following features, the global address list contains proxy ARP If one thousand entries, each entry contains the following fields: an address field for storing an address to the ARP proxy; proxy interface field, stored as the ARP proxy address of the interface; flag bit field indicating that the proxy interface field suggest ARP proxy interface to said address. 进一步地,上述方法还可具有以下特点,定时对所述全局代理ARP地址列表进行检查,每次检查执行如下步骤:步骤31,对全局代理ARP地址的每个表项,检查该表项地址字段中的地址是否和本地某一接口的接口地址在同一网段中,如果是,记录该接口,执行步骤33,否则,执行步骤32;步骤32,将该表项的标志位字段设为无效,如果该表项的代理接口字段非空,从代理接口字段记录的接口的ARP本地地址列表中删除与本表项地址字段相同的地址,将代理接口字段置为空,结束;步骤33,将该表项的标志位字段设为有效,判断该表项的代理接口字段中的接口和当前记录的接口是否一致,如果一致,结束;否则,执行步骤34;步骤34,用当前记录的接口更新该表项的代理接口字段,从该表项代理接口字段原记录的接口的ARP本地地址列表中删除与该表项地址字段相同的地 Further, the above method may have the following characteristics, the timing of the global address list ARP proxy check each inspection following steps are performed: Step 31, each entry in the global address of proxy ARP, check the entry address field the address is the address of a local interface and interface in the same segment, if it is, the recording interface, step 33 is executed, otherwise, step 32; step 32, the flag bit field entry is invalidated, If the proxy interface field of the entry is not empty, the list is deleted from the local ARP proxy interface address field of the record with this interface table entry address fields of the same address, the proxy interface as null field, ending; step 33, the flag field is set to a valid entry, the entry is determined whether the proxy interface and the interface fields of the current record is consistent interface, if they are consistent, end; otherwise, executing step 34; step 34, the current record is updated with the interface agent Interface field entry, local interface ARP address list from the entry field in the original record of proxy interface to delete the same as the entry in the address field 址,从代理接口字段当前记录的接口的ARP本地地址列表中添加与该表项地址字,史相同的地址。 Site, add the same entry to the address of the word, history of addresses from the local address list ARP interface agent interface field in the current record. 进一步地,上述方法还可具有以下特点,在转发"l妄口的ARP本地地址列表中添加一地址后,发送以该地址为源地址和目的地址,链路层源地址为该转发接口的链路层地址的ARP报文。问,不用配置路由,双方接口板的转发处理对内部处理板透明,而且如果接口板的转发接口地址发生了变化而无法进行ARP代理时,可以自动重新寻找其他可进行ARP代理的接口^反接口。本发明还提出了一种同网段地址解析协议代理方法,包含如下步骤:在系统中设置一个全局代理ARP地址列表,保存要进行同网段ARP代理的地址;对全局代理ARP地址列表中的每一个地址,;险查该地址是否和系统中的某一接口在同一网段中,如果是,在该接口建立ARP本地地址列表,将该地址加入该接口的ARP本地地址列表中;当接口收到ARP请求报文时,根据该ARP请求报文携带的目的地址, 搜索本接 Further, the above method may have the following characteristics, after addition of a forwarding address in a local port l jump address list ARP "in order to transmit the address as a source address and destination address, source address of link-layer interfaces for forwarding chain ARP packet layer address of. ask, do not configure routing, forwarding both the interface board for internal processing board and transparent, and if the forwarding interface address of the interface board has changed and can not be proxy ARP, you can automatically re looking for other . ^ for anti-ARP proxy interface interfaces present invention also proposes a network with the address resolution protocol proxy method, comprising the steps of: providing a proxy ARP global address list, network segments to be saved ARP proxy address in the system ; each address global proxy ARP address list, and; insurance check whether the address is an interface and systems on the same network segment, and if so, to establish a local ARP address list in this interface, the address to this interface the local ARP address list; when receiving an ARP request packet, the destination address of the ARP request packet, and then the present search 口的ARP本地地址列表,如果找到和目的地址相同的地址,则返回ARP应答报文,该ARP应答报文的链路层源地址填写为本接口的链路层地址。进一步地,上述方法还可具有以下特点,所述全局代理ARP地址列表包含若干个表项,每个表项包含如下字段:地址字段,存储要进行ARP代理的地址;代理接口字段,存储为该地址进行ARP代理的接口;标志位字段,指示该代理接口字段中的接口能否为所述地址提供ARP代理。进一步地,上述方法还可具有以下特点,如果要在全局代理ARP地址列表中增加一个代理地址,执行如下步骤:根据该代理地址搜索全局代理ARP地址列表;如果找到和该代理地址相同的地址,结束,否则,检查该代理地址是否与某个接口的接口地址在同一网段中,如果不是,结束,如杲是,记录该接n;在全局代理ARP地址列表中增加一表项,将该代理地 ARP local port address list, if the destination address and the same address is found, it returns the ARP response packet, the ARP response packet to fill the link-layer source address of link-layer address-based interfaces. Furthermore, the above method further Interface proxy interface field for storing address for the ARP proxy; address field storing an address for a proxy ARP: may have the following characteristics, said proxy ARP global address list contains a number of entries, each entry contains the following fields ; flag bit field indicating whether the interface provides the interface to the proxy address field of the ARP proxy Furthermore, the above method may have the following characteristics, if the proxy ARP to increase the global address list in a proxy address, performed as follows. step: the agent according to the global address search proxy ARP address list; if the proxy address and the same address is found, ends, otherwise, check whether the proxy address with the interface address of an interface in the same segment, if not the end, Gao such that the recording of the n-contact; proxy ARP global address list entries an increase, to the agent 添加至该表项的地址字段中,将该表项的标志位字段设为有效,将所记录的接口填写在该表项的代理接口字段,在所记录的接口的ARP本地地址列表中添加该代理地址。进一步地,上述方法还可具有以下特点,定时对所述全局代理ARP地址列表进行检查,每次检查执行如下步骤:步骤31,对全局代理ARP地址的每个表项,检查该表项地址字段的地址是否和本地某一接口的接口地址在同一网段中,如果是,记录该接口,执行步骤33,否则,执行步骤32;步骤32,将该表项的标志位字段设为无效,如果该表项的代理接口字段非空,从代理接口字段记录的接口的ARP本地地址列表中删除与本表项地址字段中相同的地址,将代理接口字段置为空,结束;步骤33,将该表项的标志位字段设为有效,判断该表项的代理接口字段中的接口和当前记录的接口是否一致,如果一致,结 Adding to the address field of the entry in the entry field flag is set to effective, will fill in the agent interface field of the entry recorded in the interface, add the address list in the local ARP interfaces recorded in the proxy address Furthermore, the above method may have the following characteristics, the timing of the global address list ARP proxy check each inspection following steps are performed: step 31, a proxy ARP global address each entry, the table is checked address entry field if the address of a local interface address and the interface in the same segment, if it is, the recording interface, step 33 is executed, otherwise, step 32; step 32, the flag is set to bit field entry invalid, if the proxy interface field of the entry is not empty, remove the same as the current entry in the address field address from the ARP local address listing agent interface field of the record of the interface, the proxy interface field to blank ends; step 33 , the flag bit field is set to a valid entry, the proxy interface field determines the entry in the current interface and the recording interface are the same, if they are consistent, the junction ;否则,执行步骤34;步骤34,用当前记录的接口更新该表项的代理接口字段,从该表项代理接口字段原记录的接口的ARP本地地址列表中删除与该表项地址字段相同的地址,从代理接口字段当前记录的接口的ARP本地地址列表中添加与该表项地址字4殳相同的地址。 ; Otherwise, step 34; step 34, the current interface Update Agent Interface field for the entry to record with local address list interface ARP from the entry proxy interface field in the original record is deleted the same as the entry address field address entry is added to the same word address 4 Shu address from the local address of the proxy interface ARP entry list field in the current record. 进一步地,上述方法还可具有以下特点,如果要在全局代理ARP地址列表中删除一个代理地址,扭^亍如下步骤:根据该代理地址搜索所述全局代理ARP地址列表;如果没有找到和所述^理地址相同的地址,处理结束;如果在所述全局代理ARP地址列表中找到和所述代理地址相同的地址,查询该地址对应的表项中的标志位字段是否为无效,如果是,删除该地址对应的表项,结束;如果该标志位字段为有效,从该表项的代理接口字段找到对应的接口,从全局代理ARP地址列表中删除该表项,/人该对应的接口的ARP本地地址列表中删除该代理地址。 Further, the above method may have the following characteristics, if the ARP proxy list to delete a proxy in the global address, the step of twisting the right foot ^: Proxy ARP proxy address of the address list according to said global search; if not found and the ^ same address as the physical address, the process ends; find and address of the proxy proxy ARP if the same address in the global address list, the query corresponding to the address entries in the flag field is invalid, and if so, delete ARP if the flag field is valid, find the corresponding interface from the agent interface field of the entry, delete the entry from the global proxy ARP address list, / person the corresponding interface; corresponding to the address entry end local address list to remove the proxy address. 进一步地,上述方法还可具有以下特点,在接口的ARP本地地址列表中添加一个代理地址时,发送以该代理地址为源地址和目的地址的免费ARP 报文,报文中的链路层源地址为所述接口的链路层地址。 Furthermore, the above method may have the following characteristics, when adding a proxy ARP list address in the local address of the interface, send gratuitous ARP packets to the proxy address as the source address and destination address, the source link layer packet of link-layer address is the address of the interface. 进一步地,上述方法还可具有以下特点,在接口启动或4姿口链路层地址改变或接口状态由无效变为可用时,发送以该接口的ARP本地地址列表的每个地址为源地址和目的地址,链路层源地址为所述接口的链路层地址的免费ARP报文。 Further, the above method may have the following characteristics, or changes the state of the interface becomes available by an invalid, the transmission source address to the address of each ARP address list of the local interface and the interface is started or in link-layer address port pose 4 destination address, the source address is the link layer gratuitous ARP packets link layer address of the interface. 本发明实现了一种对同网段的特定IP地址进行ARP代理的方法,可以对某个特定的IP自动选择可进行ARP代理的接口,这种代理方式可以应用于需要对外暴露内部处理板地址的通信处理设备,简化了从外部访问通信设备的内部处理板的流程。 The present invention realizes a method of specific IP addresses with the network proxy ARP is performed, can be automatically selected proxy ARP can be a particular IP interface, it requires that the agent may be applied to the external address expose the internal processing board a communication processing apparatus, simplifying the process flow within the external access panel communication device. 附图说明图l是现有技术的ARP代理原理示意图;图2是现有技术的通信处理设备中从外部访问内部处理板方法示意图; 图3是本发明的同网段ARP代理方法的代理地址添加流程示意图; 图4是本发明的同网段ARP代理方法的定时处理示意图;图5是本发明的同网段ARP代理方法应用于从外部访问通信处理设备的内部处理板的方法步骤示意图。 FIG l is a schematic diagram ARP proxy prior art principles; FIG. 2 is a schematic view of the communication processing apparatus in the prior art panel accessible from outside the internal processing method; FIG. 3 is the same network segment address of the ARP proxy agent the method of the present invention adding a schematic flow; FIG. 4 is a schematic diagram of a timing network segments ARP proxy processing method according to the present invention; FIG. 5 is a network segments ARP proxy method of the present invention is applied to a schematic view of process steps from external access processing board inside the communication processing apparatus. 具体实施方式本发明提出一种特定地址同网段ARP代理方法,维护一个全局代理ARP地址列表,还要求在每个运行ARP协议的对外接口上维护一个ARP本地地址列表,保存在本接口上实施ARP代理的地址,在实施时还可以保存本才妄口的4妻口地址。 DETAILED DESCRIPTION The present invention proposes a specific address of network segments ARP proxy method, proxy ARP to maintain a global address list, but also required to maintain a list of addresses in the local ARP on the external interface of each ARP protocol operation, stored in the present embodiment the interface ARP proxy address, can be stored at 4 wife Shihai embodiment of the present port address jump before opening. 定时检查全局代理ARP地址列表所有代理的IP是否有效,全局是指整个设备或系统。 Regularly check of all global proxy ARP proxy IP address list is valid, or the global system refers to the entire apparatus. 全局代理ARP地址列表保存所有已代理的IP包括无效的IP, ARP本地地址列表只保存本接口的有效IP。 Global Address List proxy ARP save all proxy IP includes an invalid IP, ARP local IP address list only effective preservation of this interface. 本发明所述的同网段ARP代理方法包含如下步骤:步骤110,建立一张全局代理ARP地址列表,保存当前已配置的要进行同网#爻ARP代理的IP地址,在每个接口上维护一个ARP本地地址列表, 保存在该接口上正在进4于ARP代理的IP地址;建立全局代理ARP地址列表后,对全局代理ARP地址列表中的每一个地址,检查该地址是否和系统中的某一接口在同一网段中,如果是,在该接口建立地址解析协议ARP本地地址列表,将该地址加入该接口的ARP本地地址列表中;其中,全局代理ARP地址列表包含若干个表项,每个表项包含地址字段,用于保存要进行ARP代理的IP地址,还包含一个标志位字段,用于表示该IP地址是否能够实现ARP代理,该标志位为有效时表示可以为该IP 地址实现ARP代理,该标志位为无效时表示不能为该IP地址实现ARP代理,及一个代理接口字段,表示能够为该IP地址 ARP proxy network segments method according to the present invention comprises the following steps: Step 110, establishing a proxy ARP global address list, configured to save the current to be the same network # Yao ARP proxy IP address, is maintained on each interface an ARP local address list, save the ongoing 4 to ARP proxy IP address on the interface; the establishment of a global proxy ARP address list, the global agency for each address in the ARP address list, checking an address whether and systems an interface in the same segment, if so, to establish an interface in the local address resolution protocol ARP address list, the local address to the interface ARP address list; wherein, proxy ARP global address list contains a number of entries, each table entry contains the address field, to be used to save the ARP proxy IP address, also includes a flag field used to indicate whether the IP address of the proxy ARP can be achieved, which is a flag that can be achieved when a valid IP address proxy ARP, the flag that they can not achieve ARP proxy for the IP address, and a field agent interface when the bit is invalid, can indicate to the IP address 提供ARP代理的接口。 Provide proxy ARP interface. 步骤120,当接口接收到某源主机发送的ARP报文请求时,根据该ARP 报文请求的目的地址搜索本接口的ARP本地地址列表,如果找到和该目的地址相同的表项,则回应源主机一个ARP应答报文,该报文的链路层源地址填写为本接口的链路层地址;步骤130,源主机收到该ARP应答报文后,将报文中的链路层地址緩存在本地的ARP緩存表中,该源主机发送到目的地址的报文都发到该接口上, 该接口作正常的路由转发,报文最终到达目的地址。 Step 120, when the interface receives a source host sends an ARP request packets, according to the destination address in the ARP packet request a search of the local interface local address list ARP, if and the destination address of the same entry is found, the response source a host ARP response packet, the packet link-layer source address of link-layer address fill oriented interface; step 130, the source host receives the ARP response packet, the link-layer address packets buffered in in the local ARP cache table, the source host sends packets to the destination address are sent to the interface, which normal route for forwarding the packet eventually reaches the destination address. 进一步地,在某接口的ARP本地地址列表添加一项地址后,发送以该地址为目的地址和源地址的免费ARP报文,报文中的链路层源地址为该接口自身的链路层地址;进一步地,当接口状态由无效变为可用时或接口的链路层地址改变或接口启动时,轮询该接口的ARP本地地址列表,发送以该ARP本地;也址列表中每一个地址为目的地址和源地址的免费ARP报文,该报文的链路层源地址为该接口的链路层地址。 Further, after addition of a local address in the ARP address list of an interface, the address is sent to the source link layer address of the gratuitous ARP packet, the packet destination address and the source address of the interface itself for the link layer address; Furthermore, when the invalid state when the interface becomes available, or to change the link layer address interface or interface starts polling the interface local ARP address list, sent to the local ARP; also access each address in the list as the destination address and source address of gratuitous ARP packets, the packet link-layer address of the source link-layer address of this interface. 进一步地,如果要将某代理地址添加到上述地址列表中,如图2所示, 具体添加步骤如下:步骤21,根据该代理地址搜索全局代理ARP地址列表;步骤22,如果在全局的代理ARP地址列表中找到和该代理地址相同的地址,则处理结束;否则进入步骤23;步骤23, 4企查该代理地址是否可以进行ARP代理,即检查该4戈理地址是否和本地某个接口地址在同一网段中,并找到这个可进行代理的4矣口;检查的方法可以是检查该代理地址和接口之间的路由,如果能查到直连路由,则"i兑明可以找到,记录下该接口。步骤24,如果检查结果为找不到可进行代理的接口,则处理结束,否则进入步骤25;步骤25,把该代理地址加入全局代理ARP地址列表;在全局代理ARP地址列表中增加一个表项,把该代理地址填入该表项的地址字段,同时把该表项的标志位字段设为有效,并将所找到的接口 Further, if you want to add a proxy address to said address list, shown in Figure 2, the specific add the following: Step 21, the proxy ARP proxy address based on the address list of the global search; step 22, if the global Proxy ARP address list and found the same address as the proxy address, the process ends; otherwise, step 23; step 23, 4 corporate proxy address check whether the proxy ARP can be, that is, to check whether the 4 Ge physical address and a local address of an interface in the same segment, and 4 may be carried out to find the carry port agent; inspection method may be a route between the agent to check the address and the interface, can be found if the direct route, the "i against the invention can be found, record the next step of the interface 24, if the test results can not find the interface proxy, the process ends, otherwise, step 25; step 25, the proxy address to the proxy ARP global address list; in the global address list proxy ARP add an entry to the proxy address fill in the address field of the entry, while the flag field of the entry is set to take effect and found the interface 填写至该表项的代理接口字段。步骤26,根据该表项的代理接口字段找到该接口,在该接口的ARP本地地址列表中添加一个与该表项地址相同的地址,即添加该代理地址;步骤27,该接口发送以该代理地址为目的地址和源地址的免费ARP报文,该报文的链路层源地址为代理接口的链路层地址。进一步地,定时对全局代理ARP地址列表的表项进行检查,以确定每个表项是否仍可进行ARP代理,根据检查的结果对相应接口的ARP本地地址列表进行添加/删除处理。如图3所示,对全局代理ARP地址列表的表项定时进行检查的步骤如下:步骤31,对全局代理ARP地址列表的表项进行检查,检查每个标项是否仍可进4于ARP代理,即4会查每个标项是否有效;其中,对每个表项,检查该表项中的地址字段的IP地址是否和本地某个接口地址在同一网段中,以确定表项是否有效,如果在本 Fill to the proxy interface field of the entry step 26, to find the interfaces according to the proxy interfaces field of the entry, add a same as the entry address of the address in the ARP local address list for that interface, i.e., add the proxy address ;. step 27, the interface is sent to the proxy address gratuitous ARP packet destination address and source address, the packet is a link-layer source address of link-layer address proxy interfaces further, the timing of the global address proxy ARP list entry is checked to determine whether each entry is still an ARP proxy, add / delete processing corresponding ARP local interface address list according to a result of inspection., global address list proxy ARP 3 shown in FIG. the step of timing entries checked as follows: step 31, a proxy ARP global address list entries for inspections whether each item is still marked 4 in the intake ARP proxy, i.e. 4 will check whether a valid entry for each standard; wherein, for each entry, check the address field of the entry of the IP address is a local interface address in the same segment, to determine whether the entry is valid, if present 某个4妄口地址的同一网段中,则该表项有效,并找到这个可进行代理的接口;检查是否在同一网端中的方法可以是查询路由,如果能查到该表项的地址字段中的IP地址和本地某个接口地址之间存在直连路由,则该表项有效, 否则,该表项无效。步骤32,如果检查结果为该表项有效,进入步骤34,否则进入步骤33;步骤33,把该表项的标志位字段设为无效,如果该表项的代理接口字段不为空,则从代理接口字段中的接口的ARP本地地址列表中删除与该表项地址字段相同的地址,然后把该表项的代理接口字段置为空,进入步骤37;步骤34,把该表项当前的标志位字段设为有效;步骤35,判断该表项代理接口字段与步骤31中找到的接口是否一致, 如果一致则进入步骤37;如杲不一致进入步骤36;步骤36,更新该表项的代理接口字段,用步骤31中找到的接口填入该代理接口字 The same network port address of a jump to 4, then the entry is valid, and the interface can be found on the agency; check whether the same network at the end of the method can query the route, if the address of the entry can be found direct route between the present field and the IP address of a local interface address, the entry is valid, otherwise, the entry is invalid. step 32, if the result of the check for a valid entry, proceeds to step 34, otherwise to step 33; step 33, the flag field of the entry is invalidated, if the agent interface field of the entry is not empty, ARP address list from the local agent interface field in the interface to delete the field with the entry address the same address, then the proxy interface field to the entry is empty, proceeds to step 37; step 34, the flag of the entry is currently valid bit field is set; step 35, the entry is determined in step 31 field proxy interface whether consistent interfaces found, the process proceeds to step 37 if the same; Gao as inconsistent proceeds to step 36; step 36, the proxy interface update fields of the entry, filling the proxy interface interfaces with the word found in step 31 段,同时对接口的ARP本地地址列表进行操作,即从代理接口字段原记录的接口的ARP本地地址列表中删除与本表项地址字革爻相同的地址,然后在代理接口字段当前记录的接口的ARP本地地址列表中添加与本表项地址字^:相同的地址,进入步骤37;步骤37,设置定时器,当定时器超时,对全局代理ARP地址列表进4亍轮询,进入步骤31。 Interface segment, while the local address list ARP interface operation, i.e. a local address list ARP entry from the proxy interface fields of the original record delete this entry address word leather Yao same address, then the proxy interface field of the current record in the local ARP address list is added to this item of the address ^ words: the same address, proceeds to step 37; step 37, set the timer, when the timer expires, the global address list into the ARP proxy polling right foot 4, proceeds to step 31 . 进一步地,如果要将某代理地址从上述地址列表中删除,包含如下步骤:首先,根据代理地址搜索全局代理ARP地址列表,如果找不到和该代理地址相同的地址,则处理结束;然后,如果找到与该代理地址相同的地址,如果该地址所在表项的标志位字段为无效则删除该地址所在表项,处理结束;否则从该地址所在表项的代理接口字革炎中找到对应接口,从该接口的ARP本地地址列表中删除与该代理地址相同的地址,然后从全局代理ARP地址列表删除该地址所在表项。 Further, if you want to delete a proxy address from the address list, comprising the following steps: First, according to the end address search proxy ARP proxy global address list, and if no address is the same address as the proxy, the process; and, If the same as the proxy address address is found, if the flag field of the address where the entry is invalid then delete the address where the entry, the process is terminated; otherwise, find the corresponding interface from the agent interface words the address where the entry of leather inflammation in , delete the same as the address of the proxy ARP addresses from local address of the interface in the list, and then delete the address where the proxy ARP entries from the global address list. 在本发明另一实施例中,可以不建立全局ARP代理地址只维护ARP本地地址列表并且定时4全查。 In another embodiment of the present invention, it may not only build the global address of the ARP proxy ARP maintains a list of local addresses and the timing 4 full investigation. 将上述的同网段ARP代理方法用于通信处理设备的内部处理板的外部访问,可以^吏得配置流程则大大筒化,不用配置路由,只要为处理4反配置虚地址后,同网IS:ARP代理方法自动选择一个接口板接口进行ARP代理,双方虛地址即可进^亍通信。 The above-described method of network segments ARP proxy processing board for external access to internal communication processing apparatus can be configured to give ^ officials of the flow is greatly cylinder, not configured to route long to process virtual address 4 trans configuration, different network IS : proxy ARP method for automatically selecting an interface board interface ARP proxy, the two sides into the virtual address to communicate ^ right foot. 步骤41,对于内部处理板,选择与外部通信时进行转发的接口,称为转发接口,该转发接口位于网元的某一块接口板上,在该转发接口上配置一个或多个4妄口地址;步骤42,在内部处理板上创建虚接口,在虚接口上可以配置内部处理板的虛地址,要求虚地址在与选定的该内部处理才反的转发接口地址在同一网段中;步骤43,调用上述同网段ARP代理方法实现对该虚地址的ARP代理。 Step 41, forwarded to the internal interface processing board, and select the external communication, an interface called forwarding, the forwarded one or more ports jump address of the interface 4 is located in a network element interface board, disposed on the forwarding interface ; step 42, inside the virtual interface processing board, the internal processing can configure virtual address on virtual interface board, at the required virtual address internal processing only the selected anti forwarding interface addresses on the same network segment; step 43, the above-described call network segments implemented method ARP proxy ARP proxy of the virtual address. 具体包含:建立全局代理ARP地址列表,把虛地址加入该全局代理ARP地址列表,虚地址将自动加入到其转发接口的ARP本地地址列表,所述转发接口对其ARP本地地址列表中的地址进行ARP代理,内部处理4反间通过其转发接口的ARP代理进行通信。 DETAILED comprising: establishing a proxy ARP global address list, the virtual address is added to the proxy ARP global address list, the virtual address is added automatically forwarded to the local interface ARP address list, the local ARP forwarding interface its address list an address ARP proxy, through which the internal processing in communication proxy ARP forwarding interface between the counter-4. 其一应用实例如下:对于内部处理板A1与B2选定两块进行转发的接口寺反al、 bl;确定接口板al、 bl上用于转发的4矣口,并且配置接口地址如192.1.3.21/24、 192.1.3.22/24;为处理板Al配置一个与接口板al转发接口的接口地址同一网革殳的虚地址,如193.1.3.31/32。 One application example is as follows: For the internal processing two plates A1 and B2 selected forwarding interface Temple anti al, bl; determining interface board al, 4 carry port for forwarding the bl, and configured as an interface address 192.1.3.21 / 24, 192.1.3.22/24; al configure a forwarding interface board with the interface to the network address of the virtual address Shu leather, such as processing board 193.1.3.31/32 al. 为处理板B2配置一个与接口板bl转发接口的接口地址同一网段的虚地址,如193.1.3.32/32;在接口板上使用上述同网段ARP代理的方法对处理板的虚地址进行ARP代理,具体包括:在接口板上每个接口内保存一张本地地址列表,在主控板上保存全局代理ARP地址列表,所有的地址配置都在主控板上完成,完成后同步给内部处理板或接口板。 Processing board B2 is an interface address of an interface board with the same network interface bl forwarding virtual addresses, such as 193.1.3.32/32; virtual address of an ARP processing board interface board in the method of using the same network segment proxy ARP agent, including: the interface board is stored in a local address for each interface list, proxy ARP global address list stored in the main control board, all the addresses are arranged in the main control board is completed, after the completion of the synchronization process to the internal board or an interface board. 因为ARP协议的处理都在接口板上进行,所以ARP本地地址列表都保存在接口板上。 Because the ARP protocol processing are performed on the interface board, the local ARP address list are kept in the interface board. 添加一个虛地址时首先把虚地址加入主控板上的全局代理ARP地址列表,再寻找一个可以和该虚地址形成ARP代理关系的接口,然后把虚地址传给该接口所在的接口板,加入该接口的ARP本地地址列表。 First, the virtual address to the virtual address when adding a proxy ARP MPU global address list, and then looking for a virtual address of the interface agent relationship ARP, then the virtual address to the interface board which the interface belongs, is added local ARP address list of the interface. 当接口板的接口地址改变了,无法再代理这个虚地址时,从接口的ARP本地地址列表中删除虚地址,再寻找另一个接口进行代理。 When an interface address of the interface board changes, the agency is no longer the virtual address, delete the virtual address from the local address list ARP interface, the interface and then look for another agency. 通过定时检查全局代理ARP地址列表来实现对接口地址的监控和更换接口进行代理。 Monitoring is achieved by examining the address of the interface global address list and the timing of replacement proxy ARP proxy interfaces. 使用上述ARP代理方法,因为双方的内部处理板地址在同一网段中, 从处理板上看来双方可以直接访问,双方接口板的转发处理对处理板透明, 而且当接口板地址发生变化时,可以自动重新寻找可进行ARP代理的其他接口。 ARP proxy using the above method, because both the internal processing board address in the same segment, from the processing can directly access both the board appears, both forward processing interface board of transparent processing board, and the interface board when the address changes, can automatically re looking for other interfaces can be ARP proxy. 1 1

Claims (13)

  1. 1、一种内部处理板间通信方法,移动通信系统包含若干网元,所述网元中包含内部处理板、接口板,网元间通过接口板互连,不同网元的内部处理板间要进行通信时,其特征在于,包含如下步骤: 为内部处理板选择与外部通信时进行转发的接口,称为转发接口,该转发接口位于接口板上,在该转发接口上配置接口地址; 在内部处理板上创建虚接口,在该虚接口上配置一虚地址,该虚地址与该内部处理板的转发接口的接口地址在同一网段中; 在转发接口建立地址解析协议ARP本地地址列表,所述转发接口对其ARP本地地址列表中的地址进行ARP代理,在所述ARP本地地址列表中添加该转发接口进行转发的内部处理板的虚地址,内部处理板间通过其转发接口的ARP代理进行通信。 1, a communication between an internal plate processing method, a mobile communication system comprising a plurality of network element, the network element contains internal processing boards, interface boards, interface boards between NE interconnection between different network elements to the internal processing board when communicating, characterized by comprising the steps of: forwarding interface for internal and external communication processing board selection, called forwarding interface, the interface adapter board the transponder is disposed on the interface address forwarding interface; internal virtual interface processing board, arranged on a virtual address of the virtual interface, the interface forwards the address of the interface of the virtual address to the internal processing of the plate in the same network segment; the forwarding interface establish a local ARP address list ARP, the said forwarding interface ARP proxy ARP their local address list address, adding the virtual address forwarding interface to forward the interior of the processing board local ARP address list, through its proxy ARP forwarding interface between the internal processing board communication.
  2. 2、 如权利要求l所述的方法,其特征在于,当转发接口收到ARP请求报文时,根据该ARP请求报文中的目的地址查询该转发接口的ARP本地地址列表,如果查询到和目的地址相同的地址,则返回ARP应答报文,该报文的链路层源地址为该转发接口的链路层地址。 2. The method of claim l, wherein, when the interface receives the forwarding ARP request packet, forwarding the query interface according to the destination address of the ARP request packet the local ARP address list, and if it is queried the same address of the destination address, is returned ARP response packet, the packet source address is the link layer address of the interface link layer forwarding.
  3. 3、 如权利要求1或2所述的方法,其特征在于,在系统中建立一全局代理ARP地址列表,该列表中配置所有需要进行ARP代理的地址,对该列表中的每一地址进行检查,如杲检查到该地址和接口的接口地址在同一网段中,将该地址加入该接口的ARP本地地址列表中。 3. A method as claimed in claim 1 or 2, wherein establishing a proxy ARP global address list in the system, the list needs to configure all proxy ARP addresses, each address of the inspection list as Gao checks the address and the interface address of the interface in the same segment, the local interface address to the address list in ARP.
  4. 4、 如权利要求3所述的方法,其特征在于,所述全局代理ARP地址列表包含若干个表项,每个表项包含如下字段:地址字段,存储要进行ARP 代理的地址;代理接口字段,存储为该地址进行ARP代理的接口;标志位字段,指示该代理接口字段中的接口能否为所述地址提供ARP代理。 Field proxy interface; an address field for storing an address for a proxy ARP: 4. The method of claim 3, wherein said proxy ARP global address list contains a number of entries, each entry contains the following fields storing addresses for ARP proxy interface; flag bit field indicating that the proxy interface field suggest ARP proxy interface to said address.
  5. 5、 如权利要求4所述的方法,其特征在于,定时对所述全局代理ARP 地址列表进行检查,每次检查执行如下步骤:步骤31,对全局代理ARP地址的每个表项,检查该表项地址字段中的地址是否和本地某一^^妄口的^妄口地址在同一网^:中,如果是,记录该^接口, 执行步骤33,否则,执行步骤32;步骤32,将标志位字段设为无效,如果该表项的代理接口字段非空, 从代理接口字段记录的接口的ARP本地地址列表中删除与本表项地址字殺二相同的地址,将代理接口字段置为空,结束;步骤33,将该表项的标志位字段设为有效,判断该表项的代理接口字段中的接口和当前记录的接口是否一致,如果一致,结束;否则,执行步骤34;步骤34,用当前记录的接口更新该表项的代理接口字段,从该表项代理接口字段原记录的接口的ARP本地地址列表中删除与该表项地址字段相同的 5. The method as claimed in claim 4, wherein the timing of the global address list ARP proxy check each inspection following steps are performed: Step 31, each entry in the global address of proxy ARP, the inspection item of the address field and the address is a local port ^ ^^ jump jump ^ port address in the same network: and, if so, the recording ^ interfaces, step 33 is executed, otherwise, step 32; step 32, the flag field is set to null, non-empty field if the proxy interface of the entry, local address list from the proxy ARP interface Interface field recorded delete this entry address of the word to kill the two the same address, the proxy interface field to empty, end; step 33, the flag bit field is set to a valid entry, the agent determines whether the interface fields of the entry in the interface and the interface consistent with the current record, if the same end; otherwise, executing step 34; step 34, the current interface update agent Interface field for the entry to record with local interface ARP address list from the entry proxy interface field in the original record delete the same as the entry address field 址,从代理接口字段当前记录的接口的ARP本地地址列表中添加与该表项地址字,爻相同的地址。 Site, add the entry word address, the same address from the local address list Yao ARP interface agent interface field in the current record.
  6. 6、 如权利要求1或5所述的方法,其特征在于,在转发接口的ARP本地地址列表中添加一地址后,发送以该地址为源地址和目的地址,链路层源地址为该转发接口的链路层地址的ARP报文。 6. The method as claimed in claim 1 or 5, wherein, after addition of a local interface address forwarding the ARP address list, the address is sent to the source address and destination address, source address is the link layer forwarding ARP packet interface link-layer address.
  7. 7、 一种同网段地址解析协议代理方法,其特征在于,包含如下步骤:在系统中设置一个全局代理ARP地址列表,保存要进行同网段ARP代理的地址;对全局代理ARP地址列表中的每一个地址,才企查该地址是否和系统中的某一接口在同一网段中,如果是,在该接口建立ARP本地地址列表,将该地址加入该接口的ARP本地地址列表中;当接口收到ARP请求净艮文时,根据该ARP请求报文携带的目的地址, 搜索本接口的ARP本地地址列表,如果找到和目的地址相同的地址,则返回ARP应答报文,该ARP应答报文的链路层源地址填写为本接口的链路层地址。 7. A network with proxy ARP method comprising the steps of: setting a global system address proxy ARP list, to be stored in the same network segment address of the ARP proxy; proxy ARP global address list each address only corporate check whether the address is an interface and systems on the same network segment, and if so, at this interface to establish a local ARP address list, the address to the interface in the local ARP address list; when interface receives an ARP request net Gen culture, the ARP request packet destination address carried in accordance with, the local ARP address list search this interface, if the destination address and the same address is found, the ARP reply from the ARP reply text link layer link-layer address the source address of the current interface.
  8. 8、 如权利要求7所述的方法,其特征在于,所述全局代理ARP地址列表包含若干个表项,每个表项包含如下字段:地址字段,存储要进行ARP代理的地址;代理接口字段,存储为该地址进行arp代理的接口;标志位字段,指示该代理接口字段中的接口能否为所述地址提供arp代理。 8. A method as claimed in claim 7, wherein the Proxy ARP global address list contains a number of entries, each entry contains the following fields: an address field for storing an address to an ARP proxy; proxy interface field , arp proxy address for the storage interface; flag bit field indicating that the proxy interface field suggest arp interface to the proxy address.
  9. 9、 如权利要求8所述的方法,其特征在于,如果要在全局代理arp地址列表中增加一个代理地址,执行如下步骤:根据该代理地址搜索全局代理arp地址列表;如果找到和该代理地址相同的地址,结束,否则,检查该代理地址是否与某个接口的接口地址在同一网段中,如果不是,结束,如果是,记录该接在全局代理arp地址列表中增加一表项,将该代理地址添加至该表项的地址字段中,将该表项的标志位字段设为有效,将所记录的接口填写在该表项的代理接口字段,在所记录的接口的arp本地地址列表中添加该代理地址。 9. A method as claimed in claim 8, wherein, if the agent to add a proxy address in the global address list arp, perform the following steps: a global address list of the proxy arp proxy address according to a search; and if the proxy address found same address, end, otherwise, check whether the proxy address with the interface address of an interface in the same segment, if not the end, if it is, then the record in the global address list proxy arp entry is added to a will the proxy address to the address field of the entry in the entry field flag is set to effective, will fill in the agent interface field of the entry recorded interfaces, arp local address in the list of interfaces recorded add the proxy address.
  10. 10、 如权利要求8所述的方法,其特征在于,定时对所述全局代理arp 地址列表进行检查,每次检查执行如下步骤:步骤31,对全局代理arp地址的每个表项,检查该表项地址字段中的地址是否和本地某一接口的接口地址在同一网段中,如果是,记录该接口, 执行步骤33,否则,执行步骤32;步骤32,将标志位字段设为无效,如果该表项的代理接口字段非空, 从代理接口字段记录的接口的arp本地地址列表中删除与本表项地址字段相同的地址,将代理接口字段置为空,结束;步骤33,将该表项的标志位字段设为有效,判断该表项的代理接口字段中的接口和当前记录的接口是否一致,如果一致,结束;否则,执行步骤34;步骤34,用当前记录的接口更新该表项的代理接口字段,从该表项代理接口字段原记录的接口的arp本地地址列表中删除与该表项地址字段相同的地址 10. A method as claimed in claim 8, wherein the timing of the global address list arp proxy checks, check is performed each time the following steps: step 31, for each entry in the global address arp proxy, which checks item of the address field and the address is local interface address of an interface in the same segment, if it is, the recording interface, step 33 is executed, otherwise, step 32; step 32, the flag is set to invalid bit field, If the proxy interface field of the entry is not empty, the list is deleted from the local address field of the record arp proxy interface interfaces with the current entry in the address field of the same address, the proxy interface as null field, ending; step 33, the flag field is set to a valid entry, the entry is determined whether the proxy interface and the interface fields of the current record is consistent interface, if they are consistent, end; otherwise, executing step 34; step 34, the current record is updated with the interface agent Interface field entry, local address list from the entry arp proxy interface field original recording interface to delete the entry with the same address field address ,从代理接口字段当前记录的接口的arp本地地址列表中添加与该表项地址字段中相同的地址。 Adding the list of interfaces from the local address field in the current record arp proxy interfaces with the entry in the address field of the same address.
  11. 11、 如权利要求8或9或io所述的方法,其特征在于,如果要在全局代理ARP地址列表中删除一个代理地址,执行如下步骤:根据该代理地址搜索所述全局代理ARP地址列表;如果没有找到和所述代理地址相同的地址,处理结束;如果在所述全局代理ARP地址列表中找到和所述代理地址相同的地址,查询该地址对应的表项中的标志位字段是否为无效,如果是,删除该地址对应的表项,结束;如果该标志位字段为有效,从该表项的代理接口字段找到对应的接口,从全局代理ARP地址列表中删除该表项,从该对应的接口的ARP本地地址列表中删除该代理地址。 11, or method as claimed in claim 8 or io claim 9, wherein, if the global address list proxy ARP delete a proxy address, perform the following steps: Proxy ARP proxy address of the address list according to said global search; If the proxy address and the same address is not found, the process ends; find the proxy address and the same address as proxy ARP if the global address list, the query entries corresponding to the address in the flag field is invalid If it is, delete the entries in the address corresponding to the end; if the flag field is valid, find the corresponding interface from the agent interface field of the entry, delete the entry from the global proxy ARP address list, from which the corresponding the local address list interface ARP remove the proxy address.
  12. 12、 如权利要求7至IO任一所述的方法,其特征在于,在接口的ARP 本地地址列表中添加一个代理地址时,发送以该代理地址为源地址和目的地址的免费ARP报文,报文中的链路层源地址为所述接口的链路层地址。 12. The method as claimed in any one of claims 7 to IO, and so characterized that, when adding a proxy address, address is sent to the agent gratuitous ARP packet source and destination addresses in the local ARP address list of the interface, link-layer source address of packets as link-layer address of the interface.
  13. 13、 如权利要求7至IO任一所述的方法,其特征在于,在接口启动或4妾口链路层地址改变或接口状态由无效变为可用时,发送以该接口的ARP 本地地址列表的每个地址为源地址和目的地址,链路层源地址为所述接口的链路层地址的免费ARP报文。 13. The method as claimed in any one of claims 7 to IO, and so characterized, changing the interface 4 or the start port concubine link layer address or interface can be used by the state becomes inactive, to send a local ARP address list of the interface each address as a source address and a destination address, a link layer source address gratuitous ARP packets link layer address of the interface.
CN 200810005945 2008-02-18 2008-02-18 Same network segment address analysis protocol agent method and method for communicating among internal processing plates CN101227471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810005945 CN101227471A (en) 2008-02-18 2008-02-18 Same network segment address analysis protocol agent method and method for communicating among internal processing plates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810005945 CN101227471A (en) 2008-02-18 2008-02-18 Same network segment address analysis protocol agent method and method for communicating among internal processing plates

Publications (1)

Publication Number Publication Date
CN101227471A true true CN101227471A (en) 2008-07-23

Family

ID=39859221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810005945 CN101227471A (en) 2008-02-18 2008-02-18 Same network segment address analysis protocol agent method and method for communicating among internal processing plates

Country Status (1)

Country Link
CN (1) CN101227471A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562807B (en) 2009-05-27 2011-04-20 华为技术有限公司 Mobile virtual private network (VPN) communication method and device and system thereof
WO2013064951A1 (en) * 2011-11-02 2013-05-10 International Business Machines Corporation Distributed address resolution service for virtualized networks

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562807B (en) 2009-05-27 2011-04-20 华为技术有限公司 Mobile virtual private network (VPN) communication method and device and system thereof
US9084108B2 (en) 2009-05-27 2015-07-14 Huawei Technologies Co., Ltd. Method, apparatus, and system for mobile virtual private network communication
WO2013064951A1 (en) * 2011-11-02 2013-05-10 International Business Machines Corporation Distributed address resolution service for virtualized networks

Similar Documents

Publication Publication Date Title
US8051157B2 (en) Discovery apparatus and method
US8923293B2 (en) Adaptive multi-interface use for content networking
US6907039B2 (en) Method and apparatus for routing and forwarding between virtual routers within a single network element
US20010014917A1 (en) Position identifier management apparatus and method, mobile computer, and position identifier processing method
US20130282860A1 (en) Name-Based Neighbor Discovery and Multi-Hop Service Discovery in Information-Centric Networks
US20110055392A1 (en) Network traversal method and network communication system
US20090254658A1 (en) Access control device, and access control method
US20100214979A1 (en) Gateway advertisement in a wireless mesh
US20100191813A1 (en) Automatically releasing resources reserved for subscriber devices within a broadband access network
US20090222582A1 (en) Failover in an internet location coordinate enhanced domain name system
CN101656765A (en) Address mapping system and data transmission method of identifier/locator separation network
US8432791B1 (en) Network route injections
GB2283645A (en) Digital communication systems
US20120084840A1 (en) Terminal connection status management with network authentication
CN102143068A (en) Method, device and system for learning MAC (Media Access Control) address
US20030123387A1 (en) Device and method for filtering network traffic
CN101127681A (en) Method and device for binding server MAC address with uplink port
US20100214959A1 (en) Automatic network address assignment in a wireless mesh
CN102447618A (en) Route switching method in LISP network and apparatus thereof
US20140029617A1 (en) Packet processing approach to improve performance and energy efficiency for software routers
US20110055622A1 (en) Network system and network relay apparatus
CN102308534A (en) Application switch system and application switch method
US20100217655A1 (en) Services advertisement in a wireless mesh
CN101877671A (en) Sending method of mirror image message, switch chip and Ethernet router
JP2012175394A (en) Flow switch, flow control system and flow control method

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C12 Rejection of an application for a patent