Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of extended wireless controller equiment MAC ground
The method of the capacity of location forward table, the purpose of the MAC Address capacity of its energy extended wireless controller equiment;
Improve the work efficiency of wireless controller equipment.
The present invention is achieved in that the appearance of a kind of extended wireless controller equiment mac address forwarding table
The method of amount, described method is applied in an AP WLAN, sets in described wireless controller equipment
Being equipped with a MAC Address proxy module, this MAC Address proxy module realizes: set up each ether netting index
According to target MAC (Media Access Control) address in message and the corresponding relation of purpose IP address;And by Ethernet data message
In source MAC replace with in MAC Address proxy module arrange agent MAC address;Institute
The method of stating specifically includes following steps:
Step 1, MAC proxy module initialize, and arrange agency in MAC proxy module
MAC Address;Described wireless controller equipment judges it is now to send Ethernet data message or reception
Ethernet data message;If sending Ethernet data message then enter step 2;If reception Ethernet
Data message, then enter step 4;
One or more wireless terminal in step 2, AP WLAN is by corresponding ether netting index
According to message after WAP is sent to wireless controller equipment, wireless controller equipment to be transmitted
Operation, then the MAC Address proxy module in wireless controller equipment is by each Ethernet data message
Target MAC (Media Access Control) address be associated with corresponding purpose IP address;And by each Ethernet data
Source MAC in message all replaces with described agent MAC address;
Step 3, the Ethernet switching chip of wireless controller equipment receive the ether netting index after each is replaced
After message, and each Ethernet data message is sent to the server corresponding to each target MAC (Media Access Control) address
Equipment;Judge whether an arbitrary server apparatus has transmission Ethernet data message, be then to enter step
Rapid 4;No, then terminate flow process;
One or more server apparatus in step 4, AP WLAN is by corresponding Ethernet
Data message is sent to wireless controller equipment through router, and this Ethernet data message is that step 3 is replaced
Ethernet data message;Wireless controller equipment to be received operation, then in wireless controller equipment
MAC Address proxy module receive each Ethernet data message after, by purpose MAC in step 2
Address and the relation being associated of corresponding purpose IP address, will act on behalf of MAC in Ethernet data message
Address reverts to the target MAC (Media Access Control) address of correspondence;
Step 5, wireless controller equipment will recover after each Ethernet data message through WAP
It is sent to the wireless terminal of correspondence.
Present invention have the advantage that the present invention to pass through inside wireless controller equipment and create wireless terminal
The MAC Address proxy module of equipment, allows external server equipment can only see agent MAC address,
In WLAN, the maximum amount of wireless terminal device is hidden in wireless controller equipment on logical view
Software forward inside, use agent MAC address to replace relief they and PERCOM peripheral communication.On MAC ground
Location proxy module realizes the mapping table of the real MAC address of an IP address and wireless terminal device;From
And reach the purpose of the MAC Address capacity of extended wireless controller equiment;Improve wireless controller to set
Standby work efficiency.
Detailed description of the invention
Referring to shown in Fig. 2, the present invention is a kind of extended wireless controller equiment mac address forwarding table
The method of capacity, described method is applied in an AP WLAN, described wireless controller equipment
In be provided with a MAC Address proxy module, this MAC Address proxy module realize: set up each ether
Target MAC (Media Access Control) address and the corresponding relation of purpose IP address in network data message;And by Ethernet data
Source MAC in message replaces with the agent MAC address arranged in MAC Address proxy module;
Described method specifically includes following steps:
Step 1, MAC proxy module initialize, and arrange agency in MAC proxy module
MAC Address;Described wireless controller equipment judges it is now to send Ethernet data message or reception
Ethernet data message;If sending Ethernet data message then enter step 2;If reception Ethernet
Data message, then enter step 4;
One or more wireless terminal in step 2, AP WLAN is by corresponding ether netting index
According to message after WAP is sent to wireless controller equipment, wireless controller equipment to be transmitted
Operation, then the MAC Address proxy module in wireless controller equipment is by each Ethernet data message
Target MAC (Media Access Control) address be associated with corresponding purpose IP address;And by each Ethernet data
Source MAC in message all replaces with described agent MAC address;
Step 3, the Ethernet switching chip of wireless controller equipment receive the ether netting index after each is replaced
After message, and each Ethernet data message is sent to the server corresponding to each target MAC (Media Access Control) address
Equipment;Judge whether an arbitrary server apparatus has transmission Ethernet data message, be then to enter step
Rapid 4;No, then terminate flow process;
One or more server apparatus in step 4, AP WLAN is by corresponding Ethernet
Data message is sent to wireless controller equipment through router, and this Ethernet data message is that step 3 is replaced
Ethernet data message;Wireless controller equipment to be received operation, then in wireless controller equipment
MAC Address proxy module receive each Ethernet data message after, by purpose MAC in step 2
Address and the relation being associated of corresponding purpose IP address, will act on behalf of MAC in Ethernet data message
Address reverts to the target MAC (Media Access Control) address of correspondence (will purpose IP address in Ethernet data message
The target MAC (Media Access Control) address that this purpose IP address is corresponding is searched in the relation being associated, will be with after finding
Too in network data message, agent MAC address reverts to this target MAC (Media Access Control) address found);
Step 5, wireless controller equipment will recover after each Ethernet data message through WAP
It is sent to the wireless terminal of correspondence.
In the present invention, passing through alternately between described WAP and wireless controller equipment
CAPWAP host-host protocol is carried out, and this agreement is and controls and the agreement of configuration wireless access point device;
The protocol define control passage and data tunnel;Described control channel function is: WAP detects
Finding wireless controller equipment, wireless controller equipment can carry out batch configuration management WAP;Institute
Stating data tunnel function is: how Ethernet data message completes data industry by the data tunnel of this agreement
The concentration of business forwards management;The most described wireless terminal by corresponding Ethernet data message through WAP
It is sent to wireless controller equipment with the data tunnel of CAPWAP host-host protocol.
It addition, the conventional ethernet local area network agreement used in WLAN includes ARP protocol, IPv4
Agreement, IPv6 agreement.The feature of these agreements is that message can extract MAC Address and IP simultaneously
Address.Utilize this feature can realize MAC ground in the software forward module of wireless controller equipment
Location agent functionality.
When described wireless controller equipment is multi-service board machine frame form, need to be the most right in each business board
One MAC proxy module should be set;Each MAC proxy module is correspondingly arranged one and acts on behalf of MAC ground
Location;The MAC proxy module that each business board in wireless controller equipment is corresponding complete to receive with
Too network data message or transmission Ethernet data message;This MAC proxy module complete receive or send with
The too concrete scheme of network data message is identical to 5 with the step 1 of the method for the present invention.
Below in conjunction with specific embodiment, the invention will be further described:
First embodiment: refer to shown in Fig. 3, wireless controller equipment sends Ethernet data message
Flow process.Wherein wireless terminal device logically belongs to inside wireless controller equipment, the most respectively and nothing
Line access point apparatus communicates with server apparatus.So in the Ethernet switching chip of wireless controller equipment
Forwarding part avoids the need for preserving substantial amounts of wireless terminal device MAC Address, and has only to preserve wireless
Access point apparatus and the MAC Address of server apparatus, these equipment total number in a LAN
Amount generally thousand of.
MAC proxy module initializes, and arranges in MAC proxy module with acting on behalf of MAC
Location;Described wireless controller equipment is now to send Ethernet data message;
Two wireless terminals in AP WLAN by corresponding Ethernet data message through wireless access
After point is sent to wireless controller equipment, wireless controller equipment to be transmitted operation, then controlled in wireless
MAC Address proxy module in device equipment is by the target MAC (Media Access Control) address in each Ethernet data message
It is associated with corresponding purpose IP address;And by the source MAC in each Ethernet data message
Address all replaces with described agent MAC address;
The Ethernet switching chip of wireless controller equipment receives the Ethernet data message after each is replaced
After, and each Ethernet data message is sent to the server apparatus corresponding to each target MAC (Media Access Control) address.
As can be drawn from Figure 3, can at one mac address forwarding table item of Ethernet switching chip module
With corresponding two wireless terminal devices (STA).The message that wireless terminal device (STA) sends passes through
After MAC Address proxy module, source MAC is replaced, and MAC ground is acted on behalf of in unified use
Location sends.Ethernet switching chip module carries out source MAC study after receiving message to be sent,
At this time extract from two message datas is all agent MAC address, so defining same
Mac address forwarding table item.
Second embodiment: refer to shown in Fig. 4, wireless controller equipment receives Ethernet data message
Flow process.
MAC proxy module initializes, and arranges in MAC proxy module with acting on behalf of MAC
Location;Described wireless controller equipment is now to receive Ethernet data message;
Two server apparatus in AP WLAN by corresponding Ethernet data message through router
Being sent to wireless controller equipment, this Ethernet data message is the Ethernet data message replaced;Wireless
Controller equiment to be received operation, then the MAC Address proxy module in wireless controller equipment connects
After receiving each Ethernet data message, by the phase of target MAC (Media Access Control) address with corresponding purpose IP address
The relation of association, reverts to purpose MAC of correspondence by agent MAC address in Ethernet data message
This purpose (will be searched in the purpose IP address in Ethernet data message in the relation being associated in address
The target MAC (Media Access Control) address that IP address is corresponding, by agent MAC address in Ethernet data message after finding
Revert to this target MAC (Media Access Control) address found);
Each Ethernet data message after wireless controller equipment will recover is sent to through WAP
Corresponding wireless terminal.
That is MAC Address proxy module does contrary operation, according to the purpose IP address of message
In internal list item, search target MAC (Media Access Control) address then replace, thus recover original Ethernet message and send
To wireless terminal device equipment.
3rd embodiment: refer to shown in Fig. 5, wireless controller equipment is multi-service board machine frame form
Time, the implementation of MAC proxy module.This figure depicts one and possesses two business boards and
Open the wireless controller equipment (AC) of complete machine exchange board composition.One is arranged for every business board
Agent MAC address, this agent MAC address represents this wireless terminal handled by this business board
(STA) business, complete machine exchange board can be according to the concrete numerical value of agent MAC address corresponding industry
Business message is distributed on the business board of correspondence.When there being N to open business board, need to arrange N
Individual agent MAC address.
The foregoing is only presently preferred embodiments of the present invention, all according to scope of the present invention patent done equal
Deng change and modification, the covering scope of the present invention all should be belonged to.