CN100454825C - Static user access network control method based on MAC address - Google Patents

Static user access network control method based on MAC address Download PDF

Info

Publication number
CN100454825C
CN100454825C CNB031783953A CN03178395A CN100454825C CN 100454825 C CN100454825 C CN 100454825C CN B031783953 A CNB031783953 A CN B031783953A CN 03178395 A CN03178395 A CN 03178395A CN 100454825 C CN100454825 C CN 100454825C
Authority
CN
China
Prior art keywords
user
mac address
network
access network
access
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.)
Expired - Fee Related
Application number
CNB031783953A
Other languages
Chinese (zh)
Other versions
CN1571358A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031783953A priority Critical patent/CN100454825C/en
Publication of CN1571358A publication Critical patent/CN1571358A/en
Application granted granted Critical
Publication of CN100454825C publication Critical patent/CN100454825C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a static user network access controlling method based on an MAC address, which comprises the following procedures: user information of a static user is configured on network access equipment, wherein the user's MAC address is configured into a false MAC address; the user responds to an ARP request message or actively sends out the ARP request message when accessing a network, the network access equipment updates the user's false MAC address into the user's actual MAC address according to the MAC address information carried in the message. The present invention which is applied enables the user to use the same MAC but to access the network in different physical positions by using different IP addresses, and thereby, the present invention nicely meets certain users' special requirements. Simultaneously, the present invention can also reduce configuring personnel's workload so that the configuring personnel need not configure the user's MAC address when configuring the static user's user information.

Description

Control method based on static subscriber's access network of MAC Address
Technical field
The present invention relates to network communications technology field, relate in particular to a kind of control method of the static subscriber's access network based on MAC Address.
Background technology
At present, the mode of user vlan access network mainly contains two kinds, and a kind of user of being is set to obtain automatically the network parameter that the IP address obtains being correlated with by DHCP (DHCP); Another is exactly that the user is provided with relevant network parameter by hand, and as IP address, DNS (name server) etc., we are referred to as the static subscriber latter.Use the user of static subscriber's mode access network must guarantee that maintenance is at this user's configuration information on network access equipment, configuration information generally includes the port at user's IP address, user place, user's VLAN ID and user's MAC Address etc.For the user with static subscriber's mode access network, when after having disposed corresponding configuration information for it on the network access equipment, all information of this user all will remain unchanged.
Increased configuration personnel's workload as can be seen on the one hand at static subscriber's configuration mode by above-mentioned description: the keeper needs to know the MAC Address of network interface card reality before each configuration, and need import long MAC Address, workload is very big, and makes mistakes easily; The mode of this static binding makes user access network lack flexibility on the other hand, in a single day the keeper has disposed a static subscriber, this user also can not be again with another IP address or at other physical location access networks, and the user also must notify the keeper to change corresponding configuration after changing network interface card.Therefore, prior art can't satisfy user's some specific demands in the accesses network process, for example, the user wishes to use same MAC Address from the different port access network of network access equipment, promptly uses same MAC Address to carry out the visit of network at different physical locations.
Summary of the invention
The control method that the purpose of this invention is to provide a kind of static subscriber's access network based on MAC Address, reducing configuration personnel's configuration effort amount, and can make static subscriber's access network more flexible, make things convenient for.
The object of the present invention is achieved like this:
The control method of described a kind of static subscriber's access network based on MAC Address comprises:
A, configuring static user's user profile, the mac address information in the user profile are the pseudo-MAC Address corresponding with this user;
When b, user access network, send message, carrying the employed actual MAC of user access network (medium access control) address in the message to network;
C, obtain this user's real mac address information, and the pseudo-MAC Address in this user's user information corresponding is updated to user's real mac address;
D, user use the real mac address after the renewal to carry out access to netwoks.
In the control method of described static subscriber's access network based on MAC Address, in the time of static subscriber of configuration, the user profile of configuration comprises: the user inserts the physical port at VLANID (VLAN ID), IP (Internet protocol) address, MAC Address and the user place of VLAN; Before being resolved to user's real MAC Address, user's mac address information is unique and this user-dependent pseudo-MAC Address, and can use this puppet MAC Address to discern this user.
Described pseudo-MAC Address is the unique pseudo-MAC Address that employing and user-dependent information are constituted, and described user's relevant information comprises user's IP address, VLANID, port numbers.
Described step b comprises following two kinds of processing procedures respectively:
Because the needs of accesses network need send the ARP request message to obtain the MAC Address that gateway also is a network access equipment to gateway (being network access equipment), carried user's actual MAC as the user of access network in this message;
When the user of access network receives network access equipment regularly to ARP request message that the static subscriber of configuration sends, respond this ARP request message, carrying user's real mac address in the message.
Described user is carrying the VLANID that the employed real mac address of user access network and user insert VLAN in the ARP message that network access equipment sends.
Described step c comprises following two kinds of processing procedures respectively:
After network access equipment is received user's ARP request message,, then the MAC Address in the user profile is updated to the MAC of user's reality if find that the user's MAC address in the user profile is pseudo-MAC Address;
After network access equipment is received user's arp response message,, then the MAC Address in the user profile is updated to the MAC of user's reality if the user's MAC address in the user profile is pseudo-MAC Address.
The control method of described static subscriber's access network based on MAC Address also comprises: after user's MAC Address is upgraded, network access equipment periodically sends the ARP request message to this user, whether survey the user online, promptly whether connect with network on, if the user disconnects with network, then the MAC Address in its user profile is reverted to pseudo-MAC Address, otherwise, proceed whether online detection.
Whether described detection user is online is: judge whether continuous several times is not received user's arp response message to network access equipment, if, think that then this user disconnects with network, otherwise, think that the user is still online.
By technique scheme as can be seen, the present invention has adopted not static subscriber's access scheme of binding MAC address, thereby make user access network have greater flexibility, the user can use same MAC, different IP addresses and VLANID access network, satisfy certain user's specific demand better, just can be as the user of mobile office easily at each office access network; Simultaneously, the present invention can also reduce configuration personnel's workload, uses the static subscriber that the present invention personnel of disposing can easier dispose a series of unbundling MAC.
Description of drawings
Fig. 1 is the specific embodiment of the present invention flow chart.
Embodiment
The specific embodiment of the present invention is as shown in Figure 1:
Step 1: in the terminal configuration VLAN of network access equipment user's user profile, and with the configuration user profile be issued in the list item, user profile is the concrete mac address information of user bound not, user profile comprises: user's VLANID, user's IP address, the information such as physical port at MAC Address and user place, mac address information does not need input, but automatically generate the pseudo-MAC Address of and the unique correspondence of this user by network access equipment, can use this puppet MAC Address to discern this user, but the user can't use this puppet MAC Address to carry out access to netwoks;
Described pseudo-MAC Address can generate according to known user profile, and described user profile includes but not limited to IP address, VLAN ID, port numbers etc., with the uniqueness of the pseudo-MAC Address that guarantees different users; Such as can adding that 16 systems of this IP address construct user's pseudo-MAC, can be ff-ff-14-01-01-14 as the user's of the pseudo-20.1.1.20 in IP address pseudo-MAC Address with ff-ff;
Step 2: network access equipment will periodically send ARP (address resolution protocol) request message to the user, so that can detect the user of access network exactly;
Step 3: during static subscriber's access network, comprise following two kinds of different processing procedures respectively:
A kind ofly be: if the user at first receives the ARP request message that network access equipment is sent, then promptly send an arp response message, the real mac address that uses comprising the user to network access equipment;
Another kind is: the user does not receive the ARP request message that network access equipment sends after being linked into network immediately, but because the needs of accesses network can initiatively send the broadcasting packet of an ARP request, equally, carrying the real mac address that the user uses in the message;
Step 4: after network access equipment is received the arp response message or ARP request message that the user sends, determine and the list item that this user is corresponding according to user's IP address, VLANID information, if the MAC Address in the judgement user profile is a pseudo-MAC Address, mac address information wherein will be updated to the real mac address that this user uses, the real mac address that described user uses is for to obtain from arp response message or ARP request message;
Simultaneously, if what receive is user's ARP request message, network access equipment also needs to arp response message of user response;
Step 5: after static subscriber's MAC Address was updated to the real mac address of user's use in the network access equipment, the user just can use this real mac address to carry out normal access to netwoks by network access equipment;
Whether simultaneously, after user's MAC Address was upgraded, network access equipment still can continue periodically to send the ARP request message to this user, still be connected on the network so that survey the user;
Step 6: the arp response message of not receiving the user when the network access equipment continuous several times, think that then this user leaves, be that the user is rolled off the production line, the MAC Address in its user profile is reverted to pseudo-MAC ground toe, so that the user uses other MAC Address to be linked on the network next time.
Through said process, make VLAN insert the user and use same MAC to come access network with different VLAN ID with different IP addresses, satisfied certain user's specific demand.

Claims (10)

1, a kind of control method of the static subscriber's access network based on MAC Address is characterized in that comprising:
A, configuring static user's user profile, the media access control MAC address information in the user profile are the pseudo-MAC Address corresponding with this user;
When b, user access network, send message, carrying the employed real mac address of user access network in the message to network;
C, obtain this user's real mac address information, and the pseudo-MAC Address in this user's user information corresponding is updated to user's real mac address;
D, user use the real mac address after the renewal to carry out access to netwoks.
2, the control method of the static subscriber's access network based on MAC Address according to claim 1, it is characterized in that: in the time of static subscriber of configuration, described user profile comprises: the VLANID of user access virtual LAN ID VLAN, user's IP address, user's the MAC Address and the physical port at user place; And before being resolved to user's real MAC Address, user's mac address information is unique and this user-dependent pseudo-MAC Address, and can use this puppet MAC Address to discern this user.
3, the control method of the static subscriber's access network based on MAC Address according to claim 2 is characterized in that described pseudo-MAC Address is to adopt and a unique pseudo-MAC Address that user-dependent information is constituted.
4, the control method of the static subscriber's access network based on MAC Address according to claim 3 is characterized in that described user's relevant information comprises user's IP address, VLANID, port numbers.
5, the control method of the static subscriber's access network based on MAC Address according to claim 1 is characterized in that described step b comprises following two kinds of processing procedures respectively:
Because the needs of accesses network need be to gateway, promptly network access equipment sends the ARP request message to obtain the MAC Address that gateway also is a network access equipment, has carried user's actual MAC in this message as the user of access network;
When the user of access network receives network access equipment regularly to ARP request message that the static subscriber of configuration sends, respond this ARP request message, carrying user's real mac address in the message.
6,, it is characterized in that described user is carrying the VLANID that the employed real mac address of user access network and user insert VLAN in the ARP message that network access equipment sends according to claim 1 or 5 based on the control method of static subscriber's access network of MAC Address.
7, according to claim 1 or 5 based on the control method of static subscriber's access network of MAC Address, it is characterized in that described step c comprises following two kinds of processing procedures respectively:
After network access equipment is received user's ARP request message,, then the MAC Address in the user profile is updated to the MAC of user's reality if find that the user's MAC address in the user profile is pseudo-MAC Address;
After network access equipment is received user's arp response message,, then the MAC Address in the user profile is updated to the MAC of user's reality if the user's MAC address in the user profile is pseudo-MAC Address.
8, the control method of the static subscriber's access network based on MAC Address according to claim 1, it is characterized in that this method also comprises: after user's MAC Address is upgraded, network access equipment periodically sends the ARP request message to this user, whether survey the user online, promptly whether connect with network on, if the user disconnects with network, then the MAC Address in its user profile is reverted to pseudo-MAC Address, otherwise, proceed whether online detection.
9, the control method of the static subscriber's access network based on MAC Address according to claim 8, it is characterized in that described detection user is whether online is: judge whether continuous several times is not received user's arp response message to network access equipment, if, think that then this user disconnects with network, otherwise, think that the user is still online.
10, the control method of the static subscriber's access network based on MAC Address according to claim 6 is characterized in that described step c comprises following two kinds of processing procedures respectively:
After network access equipment is received user's ARP request message,, then the MAC Address in the user profile is updated to the MAC of user's reality if find that the user's MAC address in the user profile is pseudo-MAC Address;
After network access equipment is received user's arp response message,, then the MAC Address in the user profile is updated to the MAC of user's reality if the user's MAC address in the user profile is pseudo-MAC Address.
CNB031783953A 2003-07-19 2003-07-19 Static user access network control method based on MAC address Expired - Fee Related CN100454825C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031783953A CN100454825C (en) 2003-07-19 2003-07-19 Static user access network control method based on MAC address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031783953A CN100454825C (en) 2003-07-19 2003-07-19 Static user access network control method based on MAC address

Publications (2)

Publication Number Publication Date
CN1571358A CN1571358A (en) 2005-01-26
CN100454825C true CN100454825C (en) 2009-01-21

Family

ID=34472759

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031783953A Expired - Fee Related CN100454825C (en) 2003-07-19 2003-07-19 Static user access network control method based on MAC address

Country Status (1)

Country Link
CN (1) CN100454825C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571511A (en) * 2010-12-29 2012-07-11 中国移动通信集团山东有限公司 Local area network access control system and method, and server

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286948B (en) * 2008-05-30 2010-10-06 杭州华三通信技术有限公司 Access authority control method and wireless access equipment
CN101640689B (en) * 2009-08-27 2013-02-27 中兴通讯股份有限公司 Static user access method and device thereof
CN101945110B (en) * 2010-09-20 2014-08-20 中兴通讯股份有限公司 Configuration method and device of address resolution protocol entry
US8990371B2 (en) * 2012-01-31 2015-03-24 International Business Machines Corporation Interconnecting data centers for migration of virtual machines
CN105144652A (en) * 2013-01-24 2015-12-09 惠普发展公司,有限责任合伙企业 Address resolution in software-defined networks
CN103905582A (en) * 2014-03-18 2014-07-02 汉柏科技有限公司 Method and system for automatically detecting and binding IP/MAC
CN107517138A (en) * 2016-06-16 2017-12-26 中兴通讯股份有限公司 Equipment detection method and device
CN108268300B (en) * 2016-12-30 2022-01-25 中移(苏州)软件技术有限公司 Virtual machine migration method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315789A (en) * 2000-03-27 2001-10-03 四川诺尔实业(集团)有限公司 Broad-band full-service integrated network access method
CN1392708A (en) * 2001-06-19 2003-01-22 深圳市中兴通讯股份有限公司 Allocation method of wide band access user
CN1411210A (en) * 2002-03-08 2003-04-16 华为技术有限公司 Method of acting address analytic protocol Ethernet Switch in application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315789A (en) * 2000-03-27 2001-10-03 四川诺尔实业(集团)有限公司 Broad-band full-service integrated network access method
CN1392708A (en) * 2001-06-19 2003-01-22 深圳市中兴通讯股份有限公司 Allocation method of wide band access user
CN1411210A (en) * 2002-03-08 2003-04-16 华为技术有限公司 Method of acting address analytic protocol Ethernet Switch in application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571511A (en) * 2010-12-29 2012-07-11 中国移动通信集团山东有限公司 Local area network access control system and method, and server

Also Published As

Publication number Publication date
CN1571358A (en) 2005-01-26

Similar Documents

Publication Publication Date Title
EP2351315B1 (en) A virtualization platform
CN100407625C (en) Method for providing business according to its type
CN101194470B (en) For managing the Apparatus and method for of the equipment of two types
CN105245629B (en) Host communication method based on DHCP and device
US20030172170A1 (en) Providing multiple ISP access to devices behind NAT
CN100534101C (en) Method and device for allocation of network terminal device addresses in a profinet-io network
CN1889572B (en) Internet protocol address distributing method and dynamic main machine configuration protocol relay
CN101883158A (en) Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses
US20100202441A1 (en) Method and apparatus for the user-specific configuration of a communications port
CN104813644A (en) Identifying nated devices for device-specific traffic flow steering
WO2009047215A1 (en) Configuration of routers for dhcp service requests
CN104320502B (en) Terminating gateway IP address distribution method, the method for data transfer, MME and system
CN101179603A (en) Method and device for controlling user network access in IPv6 network
CN106464745B (en) Server, client and the method for data synchronization of DNS
WO1998020646A3 (en) A system and a method for accessing services
CN100454825C (en) Static user access network control method based on MAC address
CN104980368A (en) Bandwidth guarantee method and apparatus in software defined network (SDN)
WO2009047334A2 (en) Method of configuring routers using external servers
CN103069750B (en) The method and system of the connection for being efficiently used between communication network and this communication network and customer rs premise equipment
CN104601743A (en) IP (internet protocol) forwarding IPoE (IP over Ethernet) dual-stack user access control method and equipment based on Ethernet
CN105635335B (en) Social resources cut-in method, apparatus and system
CN101483657A (en) Implementation method and system for same side private network device access by private user
CN107995124B (en) Traffic scheduling method and device
CN100382524C (en) Method and arrangement for configuration of a device in a data network
EP2071810B1 (en) Method to obtain an Internet protocol address

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090121

Termination date: 20190719