Method and device to prevent an address access control means on the side of the network is distorted

A method to prevent an address media access control, MAC, on the side of the net, comprising falsifies: receiving at the port side user of a computer access a discovery message from a team of user, UE (101) and analyze the discovery message of the UE to obtain a MAC address of the UE (102); characterized in that the method further comprises: learning, by the access equipment, the MAC address of the UE if the MAC address of the UE is different from the MAC address of the computer known side of the network (105); forward, by the access equipment, the discovery message to the network side equipment; receiving, by the access equipment, a message from the computer supply side of the network; analyze, by the access equipment, a message offering to acquire a MAC address of the network side equipment; learn, by the access equipment, the MAC address of the computer network side (109); generating, by the access equipment, a table of MAC address learning using the MAC address learned from the network side equipment and set the table MAC address learning to be a static address table, where the MAC address the network side team in the static address table is locked; and filtering, by the access equipment, messages that have MAC addresses from the same source MAC address of the network side equipment and are from other ports on the side of user access equipment, using the learned MAC address of the computer the network side.