IP Address and MAC address

Source: Internet
Author: User

Tag: Address will refresh physical Add service based on primary DNS update

As we all know, each piece of network card at the factory burned the world's only MAC address, use this address can be in the network to identify different computers. At the same time, the Internet also uses IP address to locate the client, because the IP address is more convenient than the MAC address location, but also more convenient to remember.

1.1 IP Address
In most LANs, IP addresses are the only basis for communication between computers. When the number of computers in the network is relatively long, it is obviously unlikely that you want to accurately remember the IP address of each computer. If the network size is quite large, and the VLAN is divided, the network administrator will not be able to accurately remember the user IP address.

IP Information View--ipconfig
Ipconfig is a TCP/IP application that comes with Windows systems and is primarily used to display information such as the current TCP/IP network configuration of the local computer, refreshing Dynamic Host Configuration Protocol (DHCP), and Domain Name System (DNS). If the DHCP service is used in the network, Ipconfig can also detect whether the computer is correctly assigned to an IP address. As needed, the user can use it to release the existing IP address and retrieve the new IP address again.

1. Viewing network adapter Information
You can detect the IP address configuration information for a local network connection by running the ipconfig command with no parameters on the local computer. For example, run the "ipconfig" command directly at a command prompt in this computer to display IP configuration information for all network connections, including the IP address, the subnet mask (Subnet mask), and the default gateway.

You can also use this command to view the MAC address of your local computer card to meet the needs of binding the MAC address and IP address, remote management, and so on. At the command prompt, enter the following command:

Ipconfig/all

Press ENTER to run to display the MAC address of all network cards in the local computer. Among them, "Physical Address" is displayed after the MAC address of the network card.

The information displayed includes the network card type description information (Description), whether the DHCP service is enabled (DHCP enabled), and the IP address configuration information. In addition, at the top of the display, some additional Windows configuration information is displayed, in the Windows IP Configuration area, the hostname (host name), the primary DNS suffix (Primary DNS Suffix), Node type, whether IP routing is turned on (IP Routing enabled), whether the WINS proxy is turned on (WINS proxies enabled).

2. Retrieving the IP address again
When a DHCP server is used in the network, the client computer automatically obtains an IP address. However, sometimes the client computer cannot obtain an IP address because of a DHCP server failure or network cause, or when the leased IP address expires. At this point, the system will automatically assign a 169.254.x.x IP address to the NIC, then use the ipconfig command and retrieve the IP address with the parameters-renew and-release.
Before the client computer can regain the IP address, the administrator needs to release the previously acquired IP address. At the command prompt, enter the following command:
Ipconfig-release
Press ENTER to run, you can release the original IP address, you will find that the IP address and subnet mask becomes 0.0.0.0. At the command prompt, enter the following command:

Ipconfig-renew
Press ENTER to run, the system will automatically obtain a new IP address from the DHCP server, as well as the subnet mask, the default gateway and other information.

Small knowledge
When using ADSL to surf the internet, the IP address may not be properly obtained due to network reasons. You can then use the ipconfig command to release the IP address and then regain the IP address.

3. ipconfig command parameters

The ipconfig command format is as follows:

ipconfig [-all--renew [adapter]--release [Adapter]]

Parameter description:

-all: Displays the full information of the NIC. This includes IP addresses, subnet masks, gateway and DNS information, and so on.

-renew [Adapter]: Update DHCP configuration parameters. This option can only be used on systems running the DHCP Client service. To specify an adapter name, use the ipconfig command without parameters to display the name of the adapter.

-release [Adapter]: Releases the current IP configuration. Using this parameter disables TCP/IP on the local computer, and it is important to note that this parameter is available only on DHCP clients.????

IP Address and MAC address

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.