Note: As with IPv6, this will be a VERY short introduction to IPv4, limited to the information you MUST know for the exam 70-410.
As mentioned in my previous IPv6 post, IPv4 was described in the IETF publication RFC791 on 1981.
As you may already know, IPv4 is a connectionless protocol, for use in packet-switched networks. IPv4 uses 32 bits (4-byte) addresses, it is usually written in a “dotted-decimal notation” (one decimal number every 8 bits followed by a dot).
The binary IPv4 address
11000000 10101000 00000001 00000001
is represented in dotted-decimal notation as
Configuration a Static IP address
You can use the following steps to configure the IPv4 properties of a network connection with a static IP address.
Open Network Connections:
- From the Start menu, open the Control Panel
- In the Control Panel, click Network and Internet.
- In Network and Internet, click Network and Sharing Center.
- In Network and Sharing Center, click Change adapter settings. The Network Connections windows will open.
- Open Server Manager.
- In the Console tree click Local Server.
- In the details pane, Properties section click the link next to Ethernet. The Network Connections windows will open.
From the Network Connections Windows:
- In Network Connections, right click the network connection you want to configure, then click Properties. The Properties windows will open.
- In “Ethernet” Properties (“Ethernet” is the default name, might be different in your PC), in This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and click Properties. The Internet Protocol Version 4 (TCP/IPv4) Properties windows opens.
- In Internet Protocol Version 4 (TCP/IPv4) Properties, on the General tab, click Use the following IP address radial button. Type the IP address, Subnet mask, and Default gateway that you want to use.
- Click the Use the following DNS server addresses radial button. Type the IP address of your DNS server in Preferred DNS server, and in Alternate DNS Server, type the IP address of your alternate DNS server, if any.
If you want your server to automatically configure the TCP/IP information you need to use a DHCP server. You can configure you server to use a DHCP server by following the steps shown I the previous section.
In Internet Protocol Version 4 (TCP/IPv4) Properties, click on Obtain an IP address automatically radial button, and the Obtain DNS server address automatically radial button. Then click OK.
Automatic Private IP Addressing
When you server fails to automatically configure its IP address through a DHCP server, the server will use Automatic Private IP Addressing (APIPA) to automatically self-configure an IP address and subnet mask. With APIPA the server will self-configure itself with a class B address in the range 169.254.x.x/16.
If a DHCP server is not found, and an APIPA configuration is not wanted, you can use a manually specified alternate configuration. The server will use this alternate configurations instead of APIPA. To configure this alternate IP follow the following steps:
- Open Network Connections.
- Right-click the network connection that you want to configure, and click Properties.
- In “Ethernet” Properties, in This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4), and click Properties. The Internet Protocol Version 4 (TCP/IPv4) Properties windows opens.
- In Internet Protocol Version 4 (TCP/IPv4) Properties, click the Alternate Configuration tab, there click the User configured radial button, and then type appropriate values for the IP address, Subnet mask, Default gateway, Preferred and alternate DNS server, and Preferred and alternate WINS server.