CN1407769A - Address number control method for address form of network switching device - Google Patents

Address number control method for address form of network switching device Download PDF

Info

Publication number
CN1407769A
CN1407769A CN01131327A CN01131327A CN1407769A CN 1407769 A CN1407769 A CN 1407769A CN 01131327 A CN01131327 A CN 01131327A CN 01131327 A CN01131327 A CN 01131327A CN 1407769 A CN1407769 A CN 1407769A
Authority
CN
China
Prior art keywords
address
network switch
package
address form
network
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.)
Granted
Application number
CN01131327A
Other languages
Chinese (zh)
Other versions
CN100338922C (en
Inventor
吴玉钦
黄英惠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
D Link Corp
Original Assignee
D Link Corp
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 D Link Corp filed Critical D Link Corp
Priority to CNB011313277A priority Critical patent/CN100338922C/en
Publication of CN1407769A publication Critical patent/CN1407769A/en
Application granted granted Critical
Publication of CN100338922C publication Critical patent/CN100338922C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

A method for controlling address number in an address form in network is carried out by adding a control mechanism and an auto agingout mechanism in its learning function so as to lock the address form when the address number is larger than the preset value and to abandon the follow-up packets with incongruent addresses in order not to fill up the address form, and shifting the concerned data in an addrss if it is not used in a preset period so as to empty a space for learning a new address.

Description

The control method of address number in the address form of network switch
Technical field
The present invention relates to the network switch technology, the control method of address number in especially a kind of address form of network switch.
Background technology
Press, at present in second too on the network (Ethernet), the second of different sections too network 1,2 all is connected with more than one network switch 3 (switch), consult shown in Figure 1, this interchanger can be a network equipment with a plurality of connectivity ports (port), no matter its outward appearance is piled up by the plurality of networks device forms, or only be single network equipment, as long as borrow different bridge joint agreement package (BridgeProtocol Data Units between these interchangers, be called for short BPDUs), link up each other, be the alleged network switch of the present invention.
These interchangers 3 are main in order to the packet information to being transmitted between the heterogeneous networks section, monitor, when interchanger receives the package that a certain section network transmits, controller on the interchanger will be at the purpose and the address, source of package, address form (Address Table) 31 in its data bank, compare with its address of having write down, if find the destination address of this package, the end host 4 that belongs to same section network, interchanger promptly abandons this package, and do not do any transmission, to finish the filtration (filtering) that package is transmitted, if the address, source of finding this package not in this address form, then adds it, to finish the dynamic login to this packet source address.
Therefore, address form in the network switch is mainly in order to determine the foundation of packet-switched approach, the setting program of present this address form, mainly go up additional a plurality of information in a lot of physical address (MAC address), to set, its operating type can be earlier by the user on the network terminal main frame with these information inputs after, download (Download) network switch again, or directly reach an agreement on by network management by the user, set physical address and information thereof one by one, its program is not only quite time-consuming, and makes mistakes easily again.
In addition, because general legacy network interchanger all possesses study (learning) function, the network management personnel can't be easily with its address form, locked (locking), cause the address, source of unwarranted end host, can take the storage area of this address form arbitrarily, and destination address when the package that network switch received, when not being recorded in this address form (that is not learnt) by this network switch, then this package will be exchanged to other all connectivity ports, form the unnecessary waste of this network switch on frequency range utilizes.
In recent years, because the network market is popularized for general community and family gradually, network system supplier utilizes each connectivity port on the network switch, is connected with each family, makes the plural platform computer of being installed in each family.Can pass through this connectivity port simultaneously, with second network system line mutually too, with the vast information on the share web.So, if network system supplier can not be to the computer number of each user side online, effectively controlled, or suitably limited, the huge package of quantity then, when swarming network simultaneously, or when the huge undesired package of quantity taking place pouring in network, all may take the address form of network switch moment, cause spendable frequency range and reduce rapidly.So, on a community network, the package that contains different addresses most probably because of the undesired generation of a certain user side in a large number, and cause being taken with the address form of the network switch of its line, and these packages are carried out unnecessary expansion to be broadcast, take spendable frequency range undesiredly, make the spendable frequency range of other user sides successively decrease, even the thing of network takes place to use.
Press, the address learning method of existing network interchanger mainly can be distinguished into following two kinds:
1, the self-teaching function of address form is provided by webmastering software, in this practice,, can not be limited or adjust at the size of the address form of each connectivity port though the size of the address form of network switch is had certain restriction.
2, finish the port learning functionality by the hardware of network switch, in this practice, first address (source address), source that each connectivity port of network switch only learns to be received, its shortcoming is that this network switch is when learning the address number of each connectivity port, because of its hardware can't be adjusted and control, and can't provide overtime information timing (the auto aging out timer) function of deletion automatically, so if there are 10 computers in a family, but each time point has only a computer to connect to the Net, then this network switch causes it only to allow an electricity to use too network of second from start to finish because of only learning address (source address), a source.
Summary of the invention
Because the address number in the address form of each connectivity port in the aforementioned conventional network switch, can't suitably be adjusted or be limited the problems that cause of difficulty, the inventor is the control method that works out address number in a kind of address form of network switch, with in the learning functionality of network switch, set up a controlling mechanism, make arbitrary connectivity port of this network switch, the address number of learning detecting, but when surpassing predefined maximum learned addresses number, promptly, lock (locking), stop study this address form, and give up the package of follow-up received mail returned on ground of incorrect address, to prevent on this network switch, pour in the huge undesired package of quantity, and the thing that this address form is taken, significantly promote the frequency range of network switch, and efficient on keyholed back plate and fail safe.
A purpose of the present invention, be after network switch receives a package, can with the address of having write down in its address form, compare, if find the address of this package, when being consistent with the address of being learnt in this address form, promptly this package is exchanged, if do not find the person of conforming to, and the address number of having learnt, when surpassing on this connectivity port predefined maximum number as yet,, be recorded in this address form then with the address, source and the relevent information of this package, and the address number that preestablishes study in this connectivity port subtracted one, the address number of learning up to this connectivity port, when having surpassed this predetermined maximum number, the beginning is given up (not carrying out packet-switched) with the package of follow-up received mail returned on ground of incorrect address.Therefore, the present invention can pass through webmastering software, sets the address number that can learn on this connectivity port respectively, with the user's number on the different connectivity ports of effective control.
Another object of the present invention, be on this network switch, to set up the automatic delete function of an overtime, make the arbitrary address and the relevent information that in this address form, have write down, when overtime is not used again, be about to this address and relevent information and in this address form, remove,, make this connectivity port can learn a new address again with vacating space, and it is added in this address form, reach and regularly upgrade the function that network uses present situation automatically.
Description of drawings
Shown in Figure 1 is the too line schematic diagram between network and interchanger of second;
Shown in Figure 2 be the present invention in the learning functionality of network switch, start the schematic flow sheet of its controlling mechanism;
Shown in Figure 3 be the present invention in the learning functionality of network switch, start the automatically schematic flow sheet of the chronograph mechanism of deletion of its overtime.
Embodiment
As previously mentioned, general legacy network interchanger is when receiving the package that a certain section network transmits, controller on this network switch will be at the destination address and the address, source of this package, address form to its data bank, compare with its address of having write down, and this package is sent to the end host of this destination address; If can not find the destination address that meets, this interchanger is about to that this address is general send (flooding) to each connectivity port just in use; If the end host of destination address is responded this package, this interchanger is about in the address form that this destination address is recorded in its data bank, if the address, source of finding this package is in this address form, the address of also should originating is recorded in this address form.This network switch is promptly planted learning functionality whereby, keeps the integrality and the correctness of this address form, and according to the information in this address form, to the end host on the network, provides network to connect required data, and upgrade the data in other network switch.
In the most preferred embodiment of the present invention, mainly, set up controlling mechanism by in the aforementioned learning functionality of this network switch, consult shown in Figure 2ly, make arbitrary connectivity port of this network switch, after receiving a package, can to the package address that is received, handle according to the following step:
(10),, compare with the address of having write down in its address form at the package address that is received;
(11), when being consistent, promptly this package is exchanged, again execution in step (15) with the address of previous study and record in this address form if find the address of this package; Otherwise, continue the following step;
(12) if find with this address form in the address person of being consistent of previous study and record, then judge the address number N that has learnt in this address form again, whether the address number N that can learn above a predefined maximum on this connectivity port MAX
(13) if judge the not predefined as yet address number N that should maximum can learn MAXThe time, then address, source and the relevent information with this package is recorded in this address form, and after the address number of having learnt in this connectivity port added one, i.e. N=N+1, execution in step (15) again; Otherwise, continue the following step;
(14) surpass the predefined address number N that should maximum can learn on this connectivity port respectively if judge MAXThe time, promptly, lock (locking) to this address form respectively, stop study, and give up the package of follow-up received mail returned on ground of incorrect address, and these packages are not exchanged;
(15) continue to receive the package that transmits on the network, and repeat aforementioned processing.
According to the above, the present invention can pass through webmastering software, set the address number that to learn on this connectivity port respectively, with the user's number on the different connectivity ports of effective control, effectively avoid pouring in the huge undesired package of quantity on respectively this connectivity port of this network switch, and will be respectively the thing that takes of this address form, so can significantly promote the frequency range of network switch, and efficient on keyholed back plate and fail safe.
In addition, in another most preferred embodiment of the present invention, in the aforementioned learning functionality of this network switch, set up the overtime clocking capability of deletion automatically, make this network switch can be according to the timer (timer) on it, consult shown in Figure 3ly, regularly the address information that is present in this address form carried out following processing:
(20) in judging during one sets, whether once the address information in this address form was upgraded; If judge this address information in this address form, be updated in during this setting, then execution in step (22); Otherwise, continue the following step;
(21) if judge this interior address information of this address form, be not updated in during this setting, represent that promptly these information have not been inconsistent the network present situation, at this moment, this network switch promptly directly will be older this address information, deletion in this address form certainly, and the address number of having learnt in this connectivity port subtracted, be N=N-1, make this connectivity port continue the study and the login operation of new address;
(22) continue the next address information in this address form is carried out aforementioned processing, in during this setting, finish the overtime that is present in all the address information in this address form is deleted processing automatically.
So, any one address information is gone beyond the time limit that sets in this address form, and when not being used again, this network switch can be with the corresponding information in this address form, in this address form, remove,, make this connectivity port can learn a new address again with vacating space, and it is added in this address form, reach and regularly upgrade the function that network uses present situation automatically.
The above embodiment only is explanation technological thought of the present invention and characteristics, its purpose makes the personage who has the knack of this skill can understand content of the present invention and is implementing according to this, when not limiting claim of the present invention with it, promptly the equalization of doing according to disclosed spirit generally changes or modifies, and must be encompassed in the claim scope of the present invention.

Claims (7)

1, the control method of address number in a kind of address form of network switch, it is characterized in that: this method is in the learning functionality of a network switch, set up a controlling mechanism, make arbitrary connectivity port of this network switch, the address number of learning detecting, but surpass when being pre-set in the number of the maximum learned addresses in its address form, promptly to this address form, lock, stop study, and give up the package of follow-up received mail returned on ground of incorrect address, to prevent on this network switch, pour in the huge undesired package of quantity, and the thing that this address form is taken.
2, the control method of address number in the address form of network switch as claimed in claim 1, it is characterized in that: arbitrary address information in this address form, go beyond the time limit that sets, when not being used again, it can be removed in this address form, with vacating space, make this connectivity port learn a new address again, reach and regularly upgrade the function that network uses present situation automatically.
3, the control method of address number in the address form of network switch as claimed in claim 1 or 2 is characterized in that: arbitrary connectivity port of this network switch, after receiving a package,,, handle the package that is received according to the following step:
At first, at the package address that is received,, compare with the address of having write down in its address form;
If find with this address form in the address person of conforming to of previous study and record, then judge the address number N that has learnt in this address form again, but whether above a predefined maximum learned addresses number N on this connectivity port MAX
But if judge surpass as yet predefined should maximum learned addresses number N MAXThe time, then, be recorded in this address form, and after the address number of having learnt in this connectivity port added one, i.e. N=N+1 the address, source and the relevent information of this package;
Continue to receive the package that transmits on the network again, and repeat aforementioned processing.
4, the control method of address number in the address form of network switch as claimed in claim 3 is characterized in that: but if judge surpass respectively predefined on this connectivity port should maximum learned addresses number N MAXThe time, promptly, lock (locking) to this address form respectively, stop study, and give up the package of follow-up received mail returned on ground of incorrect address, and these packages are not exchanged.
5, the control method of address number in the address form of network switch as claimed in claim 3 is characterized in that: if find the address of this package, when being consistent with the address of previous study and record in this address form, promptly this package is exchanged.
6, the control method of address number in the address form of network switch as claimed in claim 3 is characterized in that: this network switch can be according to the timer on it, regularly to being present in the address information in this address form, following processing:
At first, judge during one sets in, whether once the address information in this address form was upgraded;
If judge this address information in this address form, be not updated in during this setting, represent that promptly these money flood have not been inconsistent the network present situation, at this moment, this network switch promptly directly will be older this address information, deletion in this address form certainly, and the address number of having learnt in this connectivity port subtracted, be N=N-1, make this connectivity port continue the study and the login operation of new address;
Continuation is carried out aforementioned processing to the next address information in this address form, in during this setting, finishes the overtime that is present in all the address information in this address form is deleted processing automatically.
7, the control method of address number in the address form of network switch as claimed in claim 6, it is characterized in that: judge this address information in this address form, be updated in during this setting, then continue the next address information in this address form is carried out aforementioned processing.
CNB011313277A 2001-09-11 2001-09-11 Address number control method for address form of network switching device Expired - Fee Related CN100338922C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011313277A CN100338922C (en) 2001-09-11 2001-09-11 Address number control method for address form of network switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011313277A CN100338922C (en) 2001-09-11 2001-09-11 Address number control method for address form of network switching device

Publications (2)

Publication Number Publication Date
CN1407769A true CN1407769A (en) 2003-04-02
CN100338922C CN100338922C (en) 2007-09-19

Family

ID=4670508

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011313277A Expired - Fee Related CN100338922C (en) 2001-09-11 2001-09-11 Address number control method for address form of network switching device

Country Status (1)

Country Link
CN (1) CN100338922C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323517C (en) * 2003-04-14 2007-06-27 华为技术有限公司 Method of limiting address number of dynamic address table
CN101351995B (en) * 2004-01-14 2011-02-02 利福斯通网络公司 Managing processing utilization in a network node

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115358A (en) * 1995-06-05 2000-09-05 General Data Comm, Inc. Controlling the flow of ATM cells in an ATM network
WO2000003522A1 (en) * 1998-07-08 2000-01-20 Broadcom Corporation A method of sending packets between trunk ports of network switches
DE69934644T2 (en) * 1998-10-05 2007-11-15 Alcatel Lucent Network switching equipment with distributed based on use diversion databases
WO2000056013A2 (en) * 1999-03-17 2000-09-21 Broadcom Corporation Method for avoiding out-of-ordering of frames in a network switch
TW406495B (en) * 1999-04-27 2000-09-21 D Link Corp Address table control method for network switch

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323517C (en) * 2003-04-14 2007-06-27 华为技术有限公司 Method of limiting address number of dynamic address table
CN101351995B (en) * 2004-01-14 2011-02-02 利福斯通网络公司 Managing processing utilization in a network node

Also Published As

Publication number Publication date
CN100338922C (en) 2007-09-19

Similar Documents

Publication Publication Date Title
CN101069144B (en) Computer and method for on-demand network access control
CN100347991C (en) Data network integrated monitoring and measuring system
CN100499661C (en) Port state shift method
CN1210911C (en) Method for real time detecting ethernet connected computer on-line state through insertion equipment
CN1929448A (en) Method of processing packets with different grade service quality in network switch
CN108011894A (en) Botnet detecting system and method under a kind of software defined network
CN101547198A (en) Method and device for controlling connections of network security equipment
CN1407769A (en) Address number control method for address form of network switching device
CN103780472B (en) A kind of aggregation port group chooses mouthful management method and equipment
CN1917477B (en) Method and device of preventing interference of flow control frames
CN1848745A (en) Worm virus detecting method based on network flow characteristic
CN1507204A (en) Control method for on-line network users
CN1285198C (en) Method for detecting and controlling user access by using Internet control protocol
CN101800741B (en) Device and method for preventing illegal media access control (MAC) address transfer
CN101719845A (en) Method for remotely monitoring local maintenance terminal
CN1512749A (en) Warning method for frequent discrete event fault
CN101516091A (en) Wireless local area network access control system and method based on ports
CN103490964A (en) Method and device for flexibly configuring number of access terminals
CN1426169A (en) Method for improving route repeat liability of access server
CN101969425A (en) Method for simulating to open and execute file
CN108199986A (en) A kind of data transmission method, stack equipment and pile system
CN1521987A (en) Implement method for network management system operation
CN100466510C (en) A method for preventing network address translation (NAT) device from being attacked by network user
Cisco Managing Your Catalyst 3900
Cisco Managing Your Catalyst 3900

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070919

Termination date: 20150911

EXPY Termination of patent right or utility model