IPv6: The best way to configure static and DHCP IP addressing and cope with DNS

As IP expertise has matured, the vary of gadgets that the web protocol helps goes properly past computer systems to incorporate cell telephones, leisure programs, and Web of Issues (IoT) gadgets, which created the necessity for extra IP addresses and the event of IPv6 to supply them.

With increasingly gadget varieties requiring community connectivity, the demand for addresses in an IPv4-based community is at a premium. It could possibly present someplace south of 4,294,967,296 distinctive addresses. IPv6, however, can yield roughly 3.4×1038, which ought to be ample for a really very long time.

IPv6 additionally contains efficiency enhancements like refined multicasting, stateless deal with autoconfiguration (SLAAC), simplified headers to streamline router processing, and the choice to permit bigger packets. Safety additionally will get a possible increase in IPv6 with IPSec, which was initially constructed for IPv6 after which retrofitted for IPv4.

Coping with IPv6 contains familiarizing your self with two vital IP ideas: DHCP and DNS. Listed here are recommendations on each.

Key IPv6 addressing ideas

IPv6 addressing inside a community has just a few main variations from IPv4. With IPv4 sure deal with ranges are reserved for personal networks (comparable to 10.0.0.0/8 or 192.168.0.0/16) and link-local addressing with out dynamic host configuration protocol (DHCP) (169.254.0.0/16).

DHCP mechanically assigns IP addresses and distributes different info to hosts on a community to allow them to talk with different endpoints. On the similar time, by assigning lively IP addresses solely to lively gadgets, DHCP can reuse them to assist preserve IPv4 addresses. IPv6 has comparable ideas however refines every thought slightly additional.

Hyperlink-local addresses in IPv6 exist on every interface, no matter whether or not the interface has an deal with assigned from DHCP or is configured utilizing one other methodology. Hyperlink-local IPv6 addresses have a prefix of fe80::/10 and a 64-bit suffix which might be computed and managed by the host itself with out requiring extra networking elements. IPv6 hosts can confirm the individuality of their link-local addresses by way of a neighbor discovery course of, which reaches out to the native community with the intention to confirm that the deal with isn’t already in use.

As soon as a link-local deal with has been established, the IPv6 host makes an attempt to find out if an IPv6-capable router is on the market by way of using a router solicitation message. If an IPv6 router is on the market it would reply with a router commercial, which incorporates community configuration info comparable to a community prefix that’s used for automated deal with configuration utilizing SLAAC or whether or not the host ought to acquire extra configuration info from a DHCPv6 server.

Configuring a Static IPv6 deal with in Home windows

Typical to Home windows, there are 3 ways to configure a static IPv6 deal with for a community adapter, all of which work in Home windows 10 and in each Home windows Server 2016 and 2019. The primary manner makes use of the basic Management Panel methodology as follows.

From the Management Panel, navigate to Community and Web, Community and Sharing Heart, after which select the Change adapter settings hyperlink within the left panel. (You’ll be able to shortcut all the click by trying to find “View Community Connections” from the Begin Menu or the Search bar).

When you find the community adapter you want to configure, you’ll be able to view the properties and find the Web Protocol Model 6 (TCP/IPv6) node and configure the properties for the IPv6 protocol. As with IPv4 you’ll be able to set the adapter to acquire the IPv6 deal with mechanically or configure your individual IPv6 deal with, subnet, default gateway, and DNS server info. If you might want to set a number of IPv6 addresses this may be completed by clicking the Superior button.

The second methodology of setting a static IP deal with includes the extra fashionable Settings software. In Settings go to Community & Web and click on the Properties button for the interface you want to configure. Click on the Edit button below IP settings, change the configuration sort to Guide, allow IPv6, and populate your settings.

The third manner is to make use of the Home windows PowerShell command-line interface. To be able to set a static IPv6 deal with utilizing the New-NetIPAddress cmdlet you will want both the title or the numeric index of the adapter you want to configure. Each of those values can be found utilizing the Get-NetAdapter cmdlet. From an administrative PowerShell immediate enter one of many following instructions (on a single line) changing the small print as obligatory on your surroundings:

New-NetIPAddress -InterfaceIndex 10 -IPAddress fd3a:5e94:ff1e:a286::2 -PrefixLength 64 -DefaultGateway fd3a:5e94:ff1e:a286::1

or

New-NetIPAddress -InterfaceAlias “Native Space Connection” -IPAddress fd3a:5e94:ff1e:a286::2 -PrefixLength 64 -DefaultGateway fd3a:5e94:ff1e:a286::1

Managing IPv6 Addressing for a Home windows Community

Static IP addresses are typically OK to make use of when the gadget is internet hosting a crucial community service that requires retaining a constant community deal with, however for common use you’ll wish to have a strategy to automate deal with configuration.

In an IPv4 community DHCP is the apparent reply for IP configuration and also can present crucial networking particulars such because the default gateway or DNS-server addresses by way of DHCP choices. IPv6 provides three potential situations for managing addressing and community configuration.

SLAAC is a simple possibility assuming your router helps the suitable router-advertisement messages. DHCP is actually nonetheless in play to deal with stateful addressing within the type of DHCPv6. You may as well probably have a hybrid state of affairs the place your router handles addressing, and DHCPv6 merely gives the related network-configuration particulars.

In Home windows Server 2016 and 2019, configuring DHCPv6 is extraordinarily easy. In case your router is configured to deal with router commercials and addressing by way of SLAAC you’ll be able to merely handle the IPv6 server choices to configure DNS servers or different choices. In the event you want to roll with stateful addressing you’ll be able to add a number of DHCPv6 scopes and configure a prefix, any exclusions, and lease durations. DHCPv6 scopes will keep a listing of leases and their expirations simply as an IPv4 scope would, they usually additionally present a simple path for creating IPv6 reservations from current leases.

Establishing DNS Title Decision for IPv6

DNS is extremely vital in an IPv6 community, even moreso than in an IPv4 community as a result of attempting to configure connectivity and entry sources utilizing solely IPv6 addresses is borderline insane. The largest distinction to notice in regard to utilizing DNS with IPv6 is that the IPv4 A data, which convert a completely certified area title (FQDN) to an IPv4 deal with, are changed by AAAA (quad-A) data. All different document varieties comparable to CNAME, MX, NS, SOA, and the varied DNSSEC-related document varieties merely reference the FQDN of the AAAA document. Reverse lookup zones, that are used to discover a hostname from an IP deal with, are totally different in IPv6 just because they’re constructed on the IP deal with construction, however the course of of making and utilizing these zones are functionally similar.

The DNS server position in Home windows Server helps each IPv4 and IPv6 by way of an analogous set of instruments and processes. As with A data, AAAA data can both be created manually for crucial programs or the dynamic replace course of might be leveraged to handle DNS data for the complete enterprise.

AAAA data might be manually created utilizing the DNS console by way of the identical course of as A data: Proper click on the required DNS zone, choose the New Host (A or AAAA) possibility, and populate the Host title and IP deal with. Dynamic updates are enabled by way of the DNS console, however a lot of the work is finished by DHCP; the replace course of is configured throughout the DHCP console and updates are carried out by the DHCP consumer service on particular person hosts. Dynamic updates will also be manually initiated from the command line utilizing the ipconfig command with the /registerdns swap.

Copyright © 2021 IDG Communications, Inc.

Supply By https://www.networkworld.com/article/2228461/setting-up-dhcpv6-to-dynamically-issue-ipv6-addresses-in-a-network.html

Previous post Easy methods to use Search engine optimization for an excellent ABM technique
Next post Zhiyun will get into the professional lighting sport