Bind IP addresses and MAC addresses to prevent IP address theft.

Source: Internet
Author: User

Bind IP addresses and MAC addresses to prevent IP address theft.
In a local area network, the most convenient way to disrupt the network is to steal others' IP addresses. Computers with stolen IP addresses are not only unable to use the campus network normally, but also frequently prompt the dialog box when IP addresses are occupied, it brings great risks to campus network security and user applications.

Binding IP addresses and mac addresses can effectively avoid this phenomenon. What is a mac address Nic? There are two types of addresses in use: one is an IP address that everyone is familiar with, and the other is ......

What is mac address?

Two types of IP addresses are available for NICs. One is the IP address that everyone is familiar with, and the other is the mac address, that is, the physical address of the NIC, also known as the hardware address or link address, this is the only identifier of the network card. It is like our ID card and cannot be changed at will. It has nothing to do with the network. No matter where the network adapter is connected, the mac address remains unchanged. The length is 48-bit binary, from 12 00 ~ 0ffh consists of hexadecimal numbers. Each hexadecimal number is separated by "-", for example, "00-10-5c-ad-72-e3 ".

How to find a mac address

1. In windows 9x/2000/xp, click Start/program and find ms-dos mode or command prompt ".

2. Enter "ipconfig/all" at the command prompt, and press enter to display the dialog box shown in the figure. The "physical address" is the mac address.

How to bind mac addresses and IP addresses

Enter "ms-dos mode" or "command prompt", and enter the command arp-s 10.88.56.72 00-10-5c-ad-72-e3 at the command prompt to bind the mac address and IP address together.

In this way, no IP address is stolen and the campus network cannot be used normally (of course, no error prompt dialog box is displayed), which can effectively ensure the security of the campus network and users' applications.

Note:Arp commands are only useful for LAN proxy servers and are for static IP addresses. If modem is used for dial-up Internet access or dynamic IP addresses, they do not work. The parameters of the arp command have the following functions:

Arp-s-d-a-s: bind the corresponding IP address to the physical address, as shown in the example in this article.

-D: Delete the binding between the corresponding IP address and the physical address.

-A: query the arp Protocol table to display the IP address and the corresponding physical address.

Bundling IP addresses and mac addresses can effectively prevent computers with stolen IP addresses from using campus networks and prompt dialog boxes that frequently occupy IP addresses, it guarantees the security of campus network security and user applications.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.