摘要 |
Provided are a user access control method and apparatus, a relay device and a server. The control method comprises: acquiring a media access control (MAC) address of the client and access information about the client; encapsulating the MAC address of the client and the access information about the client into a DHCP request packet, and forwarding the DHCP request packet to a DHCP server; receiving a DHCP response packet fed back by the DHCP server; and according to the DHCP response packet, acquiring the MAC address of the client, the access information about the client and network configuration information, updating the network configuration information recorded in a corresponding table entry matching the client in a pre-set table, and then forwarding the DHCP response packet to the client. |