laboratory (03) dhcp servicedraelshafee.net/fall2016/networks-ii---lab-03.pdf · wins and dns •...

30
Laboratory (03) DHCP service By: Dr. Ahmed ElShafee Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II Laboratory ١ Agenda Introduction to DHCP Windows Server 2008 DHCP Install Environment WINS service Configuring DHCP Service Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II Laboratory ٢

Upload: others

Post on 12-Jul-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Laboratory (03)DHCP service

By:

Dr. Ahmed ElShafee

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐Laboratory١

Agenda

• Introduction to DHCP

• Windows Server 2008 DHCP Install Environment

• WINS service

• Configuring DHCP Service

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢

Page 2: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Before beginning

• Install VMware tools on Windows Server 2008

• Create new Virtual machine, install windows 7

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٣

Introduction to DHCP

• DHCP stands for Dynamic Host Configuration Protocol, and its main purpose in life is to give your computer an IP address so it can send and receive data on the network.

• DHCP works through 4 basic steps:

– 1. Discovery—When a computer is setup to use DHCP and is attached to the network it sends out a broadcast called DHCPDISCOVER looking for a DHCP server. Alternatively, it will request the last IP used by its DHCP client.

– 2. Offer— The DHCP server will respond with a lease offer that is called DHCPOFFER and includes the lease duration, IP address, subnet mask, clients MAC address, and IP address of the DHCP server.Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٤

Page 3: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

– 3. Request—Once the client computer receives the offer and accepts it, it then sends out a broadcast called DHCPRequest that contains the IP address of the DHCP server that issued the accepted client IP. This tells other DHCP servers that their offer if any was refused, and keeps the IPs free for others.

– 4. Acknowledgement— The DHCP server then sends out a DHCPACK packet to the client that includes lease duration and any other configuration information needed by the client. At this point the IP configuration process is done and the client configures its network interface.

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٥

• It is important to note that the majority of these messages are broadcasts which means that your routers must be configured to pass these on if the DHCP server is not on the same subnet as the client.

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٦

Page 4: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Windows Server 2008 DHCP Install Environment• we have the following already setup:

• Windows Server 2008 Installed

• Active Directory Domain Services 

• Installed DNS Server 

• Installed Static IP on DHCP Server

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٧

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٨

Page 5: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٩

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory١٠

Page 6: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory١١

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory١٢

Page 7: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory١٣

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory١٤

Page 8: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory١٥

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory١٦

Page 9: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

WINS service

• Although NetBIOS and NetBIOS names can be used with network protocols other than TCP/IP, WINS was designed specifically to support NetBIOS over TCP/IP (NetBT). WINS is required for any environment in which users access resources that have NetBIOS names.

• If you do not use WINS in such a network, you cannot connect to a remote network resource by using its NetBIOS name unless you use Lmhosts files, and you might be unable to establish file and print sharing connections.

• The following figure illustrates the role of WINS for computers that use NetBIOS names. 

• Typically, DHCP is used to assign IP addresses automatically.

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory١٧

• ClientA, which uses NetBIOS and is a WINS client, sends a name registration request to its configured primary WINS server (WINSA) when it starts up and joins the network. WINSA adds ClientA's NetBIOS name and IP address to the WINS database.

• When ClientB needs to connect to ClientA by its name, it requests the IP address from the WINS server.

• The WINS server locates the corresponding entry in its database and replies with ClientA's IP address.

١٨ Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory

Page 10: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

WINS and DNS

• WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves names in the NetBIOS namespace, DNS resolves names in the DNS domain namespace. 

• WINS primarily supports clients that run older versions of Windows and applications that use NetBIOS. 

• Windows 2000, Windows XP, and Windows Server 2003 use DNS names in addition to NetBIOS names. 

• Environments that include some computers that use NetBIOS names and other computers that use domain names must include both WINS servers and DNS servers.

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory١٩

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢٠

Page 11: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢١

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢٢

Page 12: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢٣

• The next screen will ask for the IPv6 DNS Server Settings, much like the IPv4 screen I am going to use the default for Parent Domain and then type ::1 for the DNS IPv6 address which is the equivalent of localhost. Click Next when done.

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢٤

Page 13: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢٥

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢٦

Page 14: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢٧

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢٨

Page 15: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٢٩

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٣٠

Page 16: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٣١

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٣٢

Page 17: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐ Laboratory٣٣

Configuring DHCP Service

Page 18: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 19: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 20: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 21: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 22: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 23: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 24: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 25: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 26: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 27: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 28: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 29: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves
Page 30: Laboratory (03) DHCP servicedraelshafee.net/Fall2016/networks-ii---lab-03.pdf · WINS and DNS • WINS and DNS are both name resolution services for TCP/IP networks. While WINS resolves

Thanks,..

See you next week (ISA),…

Dr. Ahmed ElShafee, ACU : Fall 2015, Networks II ‐Laboratory

٥٩