# US 2008/0301269 A1 · Method for binding an address of a user terminal in an access equipment

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

- Number: US 2008/0301269 A1
- Document ID: US20080301269A1
- Status: Published application
- Kind: A1
- Application number: 12/192,972
- Filed: 2008-08-15
- Published: 2008-12-04
- Earliest claimed: 2006-02-17
- Assignees: Huawei Technologies Co., Ltd.
- Inventors: Rujun SHI
- Web page: https://patentgrep.com/patent/US20080301269A1

## CPC

- H04L 61/5014: using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
- H04L 12/2856: {Access arrangements, e.g. Internet access (asynchronous transfer mode networks H04L12/5601; broadband local area networks H04L12/2801; optical access or distribution networks H04Q11/0067; access to open networks H04L12/5691; digital subscriber line end-user equipment and bit-level processing of data on a PSTN-based network H04M11/00; home network gateways H04L12/2834; wireless access networks H04W)}
- H04L 61/59: using proxies for addressing
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for binding an address of a user terminal in an access equipment includes the following steps. The user terminal requests a dynamic host configuration protocol (DHCP) server via the access equipment to assign an IP address, and the access equipment receives a response message from the DHCP server during the process in which the DHCP server assigns the IP address to the user terminal. The access equipment binds the address of the user terminal with a corresponding port of the access equipment according to the address information and the port information in the response message. By using the scheme of the invention, the access equipment may use the access information and the corresponding port information, which is obtained when the user terminal requests to assign the IP address for implementing binding the address of the user terminal and managing the user terminal effectively and expediently. In addition, since the binding relationship of the user terminal is created dynamically, it could be avoided effectively if the IP address is stolen.

## Claims

### Claim 1

A method for binding an address of a user terminal in an access equipment, comprising:
A. receiving, by the access equipment, a response message from a Dynamic host configuration protocol (DHCP) server during a process in which the DHCP server assigns an IP address to a user terminal; and
B. binding, by the access equipment, the address of the user terminal with a corresponding port on the access equipment according to address information and port information carried in the response message.

### Claim 2 (depends on 1)

The method according to claim 1, wherein a dynamic binding table is set, and the manner of binding in Step B comprises:
recording, by the access equipment, a binding relationship between the address information of the user terminal and the port information in the dynamic binding table.

### Claim 3 (depends on 2)

The method according to claim 2, subsequent to Step B, further comprising:
inquiring, by the access equipment, the dynamic binding table according to the address information of the user terminal in the IP message and the port information of the port where the IP message is captured when the access equipment captures the IP message carrying the address information of the user terminal; and if the address information of the user terminal corresponding to the port information exists, forwarding the captured IP message; otherwise, performing no process.

### Claim 4 (depends on 2)

The method according to claim 2, subsequent to Step B, further comprising:
deleting, by the access equipment, the binding relationship corresponding to the user terminal from the dynamic binding table when the access equipment captures a DHCP release message carrying the address information of the user terminal.

### Claim 5 (depends on 2)

The method according to claim 2, subsequent to Step B, further comprising:
setting an online detection timer for the user terminal; when the online detection timer reaches a timeout value, transmitting, by the access equipment, an address resolution protocol (ARP) request message to the user terminal, and determining whether the returned ARP response message is received; and if the returned ARP response message is received, refreshing the online detection timer; otherwise, deleting the binding relationship corresponding to the user terminal from the dynamic binding table.

### Claim 6 (depends on 2)

The method according to claim 2, wherein a lease timer is set for the user terminal in the access equipment, and subsequent to Step B, the method further comprises:
when the user terminal transmits a unicast lease renewal request message to the DHCP server, determining, by the access equipment, whether the returned unicast lease renewal response message is received; and if the returned unicast lease renewal response message is received, refreshing the lease timer according to the unicast lease renewal response message; otherwise, when the lease timer reaches the timeout value, deleting the binding relationship corresponding to the user terminal and the lease timer.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the address information of the user terminal in the response message in Step A is:
an IP address assigned to the user terminal by the DHCP server and/or an MAC address of the user terminal;
wherein the MAC address of the user terminal is obtained by the DHCP server during the process that the IP address is assigned to the user terminal.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the process that the DHCP server assigns the IP address to the user terminal comprises:
transmitting, by the user terminal, a DHCP protocol message to the access equipment; performing, by the access equipment, an information process on the received DHCP protocol message and then forwarding the processed DHCP protocol message to the DHCP server, wherein the processed DHCP protocol message carries the MAC address of the user terminal; and a Remote ID sub-option (RID) and/or a channel ID sub-option (CID) comprising the port information;
inquiring, by the DHCP server, a configuration database stored in the DHCP server according to the RID and/or the CID, determining the IP address assigned to the user terminal; and then returning the DHCP protocol response message to the user terminal via the access equipment, wherein the DHCP protocol response message carries the MAC address of the user terminal, the RID and/or the CID, and the IP address assigned to the user terminal.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the manner of performing, by the access equipment, the information process on the received DHCP protocol message comprises:
recording, by the access equipment, the port information of the port in which the DHCP protocol message is captured, generating a RID and/or a CID according to the port information, and then adding the RID and/or the CID into the received DHCP protocol message.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the port information is port description information and/or port position information.

### Claim 11 (depends on 1)

An access equipment when programmed for carrying out the method of claim 1 for binding an address of a user terminal,
a module adapted to receive a response message from a Dynamic host configuration protocol (DHCP) server during a process that the DHCP server assigns an IP address to a user terminal; and
a module adapted to bind the address of the user terminal with a corresponding port according to the address information and port information carried in the response message.

### Claim 12 (depends on 11)

The access equipment according to claim 11, further comprising:
a module adapted to record a binding relationship between the address information of the user terminal and the port information in the dynamic binding table; and
a module adapted to inquire the dynamic binding table according to the address information of the user terminal in the IP message and the port information of the port where the IP message is captured; and if the address information of the user terminal corresponding to the port information exists, forward the captured IP message.

### Claim 13 (depends on 12)

The access equipment according to claim 12, further comprising:
a module adapted to delete the binding relationship corresponding to the user terminal from the dynamic binding table when capturing a DHCP release message carrying the address information of the user terminal.

### Claim 14 (depends on 11)

The access equipment according to claim 11, further comprising:
a module adapted to perform an information process on a received DHCP protocol message and forward the processed DHCP protocol message to the DHCP server, wherein the processed DHCP protocol message carries the MAC address of the user terminal and the port information of a port of the access equipment corresponding to the user terminal.

### Claim 15

A dynamic host configuration protocol (DHCP) server, comprising:
a module adapted to receive a DHCP protocol message, wherein the DHCP protocol message carries the MAC address of a user terminal and the port information of a port of the access equipment corresponding to the user terminal;
a module adapted to determine the IP address assigned to the user terminal according to said port information; and
a module adapted to transmit the DHCP protocol response message to the access equipment, wherein the DHCP protocol response message carries the MAC address of the user terminal, and the IP address assigned to the user terminal.

### Claim 16 (depends on 11)

A system comprising an access equipment as claimed in claim 11, and a dynamic host configuration protocol (DHCP) server a first module for receiving a DHCP protocol message, wherein the DHCP protocol message carries the MAC address of a user terminal and the port information of a port of the access equipment corresponding to the user terminal; a second module for determining the IP address assigned to the user terminal according to said port information; and a third module for transmitting the DHCP protocol response message to the access equipment, wherein the DHCP protocol response message carries the MAC address of the user terminal, and the IP address assigned to the user terminal;
wherein the access equipment receives a response message from a DHCP server during a process in which the DHCP server assigns an IP address to a user terminal; and binds the address of the user terminal with a corresponding port on the access equipment according to address information and port information carried in the response message.

### Claim 17 (depends on 12)

A system comprising an access equipment as claimed in claim 12, and a dynamic host configuration protocol (DHCP) server a first module for receiving a DHCP protocol message, wherein the DHCP protocol message carries the MAC address of a user terminal and the port information of a port of the access equipment corresponding to the user terminal; a second module for determining the IP address assigned to the user terminal according to said port information; and a third module for transmitting the DHCP protocol response message to the access equipment, wherein the DHCP protocol response message carries the MAC address of the user terminal, and the IP address assigned to the user terminal;
wherein the access equipment receives a response message from a DHCP server during a process in which the DHCP server assigns an IP address to a user terminal; and binds the address of the user terminal with a corresponding port on the access equipment according to address information and port information carried in the response message.

### Claim 18 (depends on 13)

A system comprising an access equipment as claimed in claim 13, and a dynamic host configuration protocol (DHCP) server a first module for receiving a DHCP protocol message, wherein the DHCP protocol message carries the MAC address of a user terminal and the port information of a port of the access equipment corresponding to the user terminal; a second module for determining the IP address assigned to the user terminal according to said port information; and a third module for transmitting the DHCP protocol response message to the access equipment, wherein the DHCP protocol response message carries the MAC address of the user terminal, and the IP address assigned to the user terminal;
wherein the access equipment receives a response message from a DHCP server during a process in which the DHCP server assigns an IP address to a user terminal; and binds the address of the user terminal with a corresponding port on the access equipment according to address information and port information carried in the response message.

### Claim 19 (depends on 14)

A system comprising an access equipment as claimed in claim 14, and a dynamic host configuration protocol (DHCP) server a first module for receiving a DHCP protocol message, wherein the DHCP protocol message carries the MAC address of a user terminal and the port information of a port of the access equipment corresponding to the user terminal; a second module for determining the IP address assigned to the user terminal according to said port information; and a third module for transmitting the DHCP protocol response message to the access equipment, wherein the DHCP protocol response message carries the MAC address of the user terminal, and the IP address assigned to the user terminal;
wherein the access equipment receives a response message from a DHCP server during a process in which the DHCP server assigns an IP address to a user terminal; and binds the address of the user terminal with a corresponding port on the access equipment according to address information and port information carried in the response message.
