CN1571358A - 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
CN1571358A
CN1571358A CN 03178395 CN03178395A CN1571358A CN 1571358 A CN1571358 A CN 1571358A CN 03178395 CN03178395 CN 03178395 CN 03178395 A CN03178395 A CN 03178395A CN 1571358 A CN1571358 A CN 1571358A
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.)
Granted
Application number
CN 03178395
Other languages
Chinese (zh)
Other versions
CN100454825C (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 invention relates to a MAC address-based static user access network controlling method, configuring static user information on network access equipment, where the user MAC address is configured as quasi-MAC address; as the user connects to the network, responding to the ARP request message or initiatively sending the ARP request message, updating the user quasi-MAC address into user actual-MAC address by using the network access equipment according to the MAC address information carried in the message. It can make the user use the same MAC but use different IP addresses to connect to the network in different physical positions, better meeting special requirements of some users. Simultaneously, it can reduce workload of configuring person, where the configuring person need not configure user MAC address as configuring static 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 information such as user's IP address, VLANID, 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 Address, 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 (9)

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 MAC in the user profile (medium access control) address information is 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 user inserts the VLANID (VLAN ID) of VLAN, user's IP (Internet protocol) address, user's 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 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.
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 the control method of claim 1,5 or 6 described static subscriber's access networks based on 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.
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 true CN1571358A (en) 2005-01-26
CN100454825C 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 (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
CN101945110A (en) * 2010-09-20 2011-01-12 中兴通讯股份有限公司 Configuration method and device of address resolution protocol entry
CN101640689B (en) * 2009-08-27 2013-02-27 中兴通讯股份有限公司 Static user access method and device thereof
WO2013113264A1 (en) * 2012-01-31 2013-08-08 International Business Machines Corporation Interconnecting data centers for migration of virtual machines
CN103905582A (en) * 2014-03-18 2014-07-02 汉柏科技有限公司 Method and system for automatically detecting and binding IP/MAC
WO2014115157A1 (en) * 2013-01-24 2014-07-31 Hewlett-Packard Development Comany, L.P. Address resolution in software-defined networks
WO2017215492A1 (en) * 2016-06-16 2017-12-21 中兴通讯股份有限公司 Device detection method and apparatus
CN108268300A (en) * 2016-12-30 2018-07-10 中移(苏州)软件技术有限公司 The moving method and device of a kind of virtual machine

Families Citing this family (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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1148899C (en) * 2000-03-27 2004-05-05 四川诺尔实业(集团)有限公司 Broad-band full-service integrated network access method
CN1241366C (en) * 2001-06-19 2006-02-08 中兴通讯股份有限公司 Allocation method of wide band access user
CN1177439C (en) * 2002-03-08 2004-11-24 华为技术有限公司 Method of acting address analytic protocol Ethernet Switch in application

Cited By (17)

* 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
CN101945110A (en) * 2010-09-20 2011-01-12 中兴通讯股份有限公司 Configuration method and device of address resolution protocol entry
CN101945110B (en) * 2010-09-20 2014-08-20 中兴通讯股份有限公司 Configuration method and device of address resolution protocol entry
US8996675B2 (en) 2012-01-31 2015-03-31 International Business Machines Corporation Interconnecting data centers for migration of virtual machines
WO2013113264A1 (en) * 2012-01-31 2013-08-08 International Business Machines Corporation Interconnecting data centers for migration of virtual machines
CN104081733B (en) * 2012-01-31 2016-12-07 国际商业机器公司 Interconnection data center for the migration of virtual machine
GB2510770A (en) * 2012-01-31 2014-08-13 Ibm Interconnecting data centers for migration of virtual machines
CN104081733A (en) * 2012-01-31 2014-10-01 国际商业机器公司 Interconnecting data centers for migration of virtual machines
GB2510770B (en) * 2012-01-31 2014-11-19 Ibm Interconnecting data centers for migration of virtual machines
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
WO2014115157A1 (en) * 2013-01-24 2014-07-31 Hewlett-Packard Development Comany, L.P. Address resolution in software-defined networks
CN103905582A (en) * 2014-03-18 2014-07-02 汉柏科技有限公司 Method and system for automatically detecting and binding IP/MAC
WO2017215492A1 (en) * 2016-06-16 2017-12-21 中兴通讯股份有限公司 Device detection method and apparatus
CN108268300A (en) * 2016-12-30 2018-07-10 中移(苏州)软件技术有限公司 The moving method and device of a kind of virtual machine
CN108268300B (en) * 2016-12-30 2022-01-25 中移(苏州)软件技术有限公司 Virtual machine migration method and device

Also Published As

Publication number Publication date
CN100454825C (en) 2009-01-21

Similar Documents

Publication Publication Date Title
CN1232080C (en) Method of providing internal service apparatus in network for saving IP address
CN1297123C (en) Method and system for coupling data networks
CN1177439C (en) Method of acting address analytic protocol Ethernet Switch in application
CN100411390C (en) Method for realizing neighbour discovery
CN1611053A (en) Network address translation of incoming SIP connections
CN101043430A (en) Method for converting network address between equipments
CN1812424A (en) Method and device for allocation of network terminal device addresses in a profinet-io network
CN1571358A (en) Static user access network control method based on MAC address
WO1998020646A3 (en) A system and a method for accessing services
CN1605076A (en) Method and apparatus for adaptively configuring a router
CN1578243A (en) Method and arrangement for configuration of a device in a data network
CN1553341A (en) Network address distributing method based on customer terminal
CN100344122C (en) Implementing Method for sending datagram type message from assigned port
CN1578296A (en) Method for realizing double-stack transition
CN108471440A (en) A kind of digital intercom method and system
CN101065930A (en) Control points for controlling devices in a network
CN1631018A (en) Method and appartus to retrieve information in a network
CN1771713A (en) Method and arrangement for configuring a device in a data network
JP2000312211A (en) Communication unit
CN1556622A (en) Universal network equipment register method based on universal attribute register protocol
CN1426169A (en) Method for improving route repeat liability of access server
CN1285198C (en) Method for detecting and controlling user access by using Internet control protocol
CN1536831A (en) Method for sending address analytic protocol request message into specific object in local area network
JP2002185464A (en) Client server system and its address altering method
CN1716890A (en) Network system and connecting method thereof

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