Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7 Dynamic Host Protocol.

Similar presentations


Presentation on theme: "ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7 Dynamic Host Protocol."— Presentation transcript:

1 ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7 Dynamic Host Protocol

2 What Is It A protocol for assigning dynamic IP addresses to devices on a network Devices can be workstations, servers, routers, printers A device can have a different IP address every time it connects to the network It supports a mix of static and dynamic IP addresses e.g. Web server needs a static IP address

3 Why Use It The Growing size of Networks Requires Less Human Interaction Less Prone To Error Portability

4 Who Uses It Internet Service Providers Universities Large Corporations and Organizations Anyone who has to deal with a large range of Internet Addresses

5 DHCP Server Server which issues IP addresses to devices when they connect to the network Configuration file - This contains a range of options to send to the client machine

6 DHCP Server Configuration File subnet 192.168.1.0 netmask 255.255.255.0 { # The range of IP addresses the server # will issue to DHCP enabled PC clients # booting up on the network range 192.168.1.201 192.168.1.220; # Set the amount of time in seconds that # a client may keep the IP address default-lease-time 86400; max-lease-time 86400;

7 DHCP Server Configuration File # Set the default gateway to be used by # the PC clients option routers 192.168.1.1; # Don't forward DHCP requests from this # NIC interface to any other NIC # interfaces option ip-forwarding off; # Set the broadcast address and subnet mask # to be used by the DHCP clients option broadcast-address 192.168.1.255; option subnet-mask 255.255.255.0;

8 DHCP Server Configuration File Set the DNS server to be used by the # DHCP clients option domain-name-servers 192.168.1.100; # Set the NTP server to be used by the # DHCP clients option nntp-server 192.168.1.100; # If you specify a WINS server for your Windows clients, # you need to include the following option in the dhcpd.conf file: option netbios-name-servers 192.168.1.100; }

9 DHCP Server Configuration File host MEC-1 { hardware ethernet 08:00:2b:4c:59:23; fixed-address 192.168.1.222; }

10 DHCP Client Broadcasts DHCPDISCOVER request on the network Listening DHCP Server issues a DHCPOFFER response The server then assigns an IP address to that DHCP client machine


Download ppt "ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7 Dynamic Host Protocol."

Similar presentations


Ads by Google