Configuration to obtain an IP address automatically

Windows 8 & 10

Microsoft manual

Change TCP/IP settings