# US 2006/0041734 A1 · Associating mac addresses with addresses in a look-up table

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0041734 A1
- Document ID: US20060041734A1
- Status: Published application
- Kind: A1
- Application number: 10/519,665
- Filed: 2002-07-01
- Published: 2006-02-23
- Earliest claimed: 2002-07-01
- Inventors: Swee Lim; Hak Sim
- Web page: https://patentgrep.com/patent/US20060041734A1

## CPC

- H04L 45/745: Address table lookup; Address filtering
- H04L 61/00: Network arrangements, protocols or services for addressing or naming
- H04L 61/10: of different types
- H04L 61/4552: Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
- H04L 2101/604: Address structures or formats
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An ethernet switch associates addresses in a look-up table with received MAC addresses using a CRC algorithm, so that correspondence data about each MAC address can be stored in the corresponding section of the look-up table. When, as the look-up table is constructed, a given MAC address A0 hashes to an address H0 which is already associated with a previous MAC address, the MAC address is re-hashed using Walsh codes W1,m to provide a different look-up table address H1. This procedure can be performed any number of times y to generate different addresses Hn for n=1, . . . y. If it is performed sufficiently frequently, then it is likely that an address will be found which is free. In this way, the number of MAC addresses which will typically be associated with a single look-up table address is reduced, preferably to only one.

## Claims

### Claim 1

A method of associating look-up table addresses with media access control (MAC) addresses, the method including for successive MAC addresses A0:
using A0 to generate y+1 look-up table addresses H0, H1, H2, . . . , Hy, where y is an integer greater than or equal to one, wherein each of the addresses H1, H2, . . . , Hy is obtained from the address A0 by first forming a respective string A0 having the same number of bits as A0, and then applying the algorithm by which H0 is obtained from A0; and
according to at least one criterion associating the address A0 with a selected one of the addresses H0, H1, H2, . . . , Hy.

### Claim 2 (depends on 1)

A method according to claim 1 wherein the criterion is that A0 is associated with Hn where n is the smallest integer in the range 0 to y such that there is presently no MAC address associated with the address Hn.

### Claim 3 (depends on 1)

A method according to claim 1 wherein the criterion is that A0 is associated with Hn where n is the smallest integer in the range 0 to y such that the number of MAC addresses associated with the address Hn is less than a predetermined integer.

### Claim 4 (depends on 1)

A method according to claim 1 wherein the addresses H1 to Hy are generated successively upon it being found that the preceding Hn does not meet a criterion.

### Claim 5 (depends on 4)

A method according to claim 4 wherein the value of y is predetermined, whereby the maximum number of addresses H0, H1, H2, . . . , Hy which are generated is no more than a predetermined number, even if none of these addresses meets the criterion.

### Claim 6

(canceled)

### Claim 7 (depends on 1)

A method according to claim 1 wherein each An is obtained by modulating a string Sn obtained by a selection from A0 with a respective set of Walsh codes.

### Claim 8

A switch including a memory for defining a look-up table having a plurality of addresses and a processor for associating MAC addresses with addresses of the look-up table, the processor being arranged to use each MAC address A0 to generate y+1 look-up table addresses H0, H1, H2, . . . , Hy for y an integer greater than or equal to one, wherein each of the addresses H1, H2, . . . , Hy is obtained from the address A0 by first forming a respective string An having the same number of bits as A0, and then applying the algorithm by which H0 is obtained from A0, and according to at least one criterion to associate the address A0 with a selected one of the addresses H0, H1, H2, . . . , Hy.

### Claim 9 (depends on 2)

A method according to claim 2 wherein the addresses H1 to Hy are generated successively upon it being found that the preceding Hn does not meet a criterion.

### Claim 10 (depends on 8)

A method according to claim 8 wherein the addresses H1 to Hy are generated successively upon it being found that the preceding Hn does not meet a criterion.

### Claim 11 (depends on 3)

A method according to claim 3 wherein the addresses H1 to Hy are generated successively upon it being found that the preceding Hn does not meet a criterion.

### Claim 12 (depends on 10)

A method according to claim 10 wherein the addresses H1 to Hy are generated successively upon it being found that the preceding Hn does not meet a criterion.

### Claim 13

A method of associating look-up table addresses with media access control (MAC) addresses, the method comprising:
receiving a MAC address;
generating a first look-up table address based upon the MAC address, the first look-up address being generated using an algorithm;
determining whether the first look-up table address is occupied; and
if the first look-up table address is occupied, generating a second look-up table address by forming a string having the same number of bits as the MAC address and applying the algorithm to the string.

### Claim 13 (depends on 12)

The method of claim 12 and further comprising:
determining whether the second look-up table address is occupied; and
if the second look-up table address is occupied, generating a third look-up table address by forming a second string having the same number of bits as the MAC address and applying the algorithm to the string.

### Claim 14 (depends on 13)

The method of claim 13 and further comprising:
determining whether the third look-up table address is occupied; and
if the third look-up table address is occupied, generating a fourth look-up table address by forming a third string having the same number of bits as the MAC address and applying the algorithm to the string.

### Claim 15 (depends on 12)

The method of claim 12 wherein determining whether the first look-up table address is occupied comprises determining whether any other MAC address is associated with the first look-up table address such that only one MAC address is associated with any given look-up table address.

### Claim 16 (depends on 12)

The method of claim 12 wherein determining whether the first look-up table address is occupied comprises determining whether fewer than n MAC addresses associated with the first look-up table address such that the number of MAC addresses associated with the first look-up table address is less than n, wherein n is an integer greater than one.

### Claim 17 (depends on 12)

The method of claim 12 wherein generating a second look-up table address comprises modulating the string with a Walsh code.

### Claim 18 (depends on 12)

The method of claim 12 wherein generating a first look-up table address comprises hashing the MAC address with a Cyclic Redundancy Code (CRC).

### Claim 19 (depends on 12)

The method of claim 12 and further comprising, if the first look-up table address is not occupied, associating the MAC address with the first look-up table address.

### Claim 20 (depends on 19)

The method of claim 19 wherein the step of generating a second look-up table address is not performed if the first look-up table address is not occupied.

### Claim 21

The method of extracting information related to a media access control (MAC) address, the method comprising:
receiving a MAC address;
generating a first look-up table address by applying an algorithm to the MAC address;
determining whether the first look-up table address is associated with the MAC address;
if the first look-up table address is associated with the MAC address, extracting information related to the MAC address from a look-up table using the first look-up table address;
if the first look-up table address is not associated with the MAC address, generating a second look-up table address by forming a string having the same number of bits as the MAC address and applying the algorithm to the string;
determining whether the second look-up table address is associated with the MAC address; and
if the second look-up table address is associated with the MAC address, extracting information related to the MAC address from the look-up table using the second look-up table address.

### Claim 22 (depends on 21)

The method of claim 21 wherein determining whether the first look-up table address is associated with the MAC address comprises examining correspondence data at the first look-up table address in the look-up table.
