Download ECMM6018 Tutorial8

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Universal Plug and Play wikipedia , lookup

Piggybacking (Internet access) wikipedia , lookup

Wireless security wikipedia , lookup

Recursive InterNetwork Architecture (RINA) wikipedia , lookup

Distributed firewall wikipedia , lookup

Server Message Block wikipedia , lookup

Wake-on-LAN wikipedia , lookup

AppleTalk wikipedia , lookup

Remote Desktop Services wikipedia , lookup

Cracking of wireless networks wikipedia , lookup

Lag wikipedia , lookup

Zero-configuration networking wikipedia , lookup

Dynamic Host Configuration Protocol wikipedia , lookup

Transcript
ECMM6018
Enterprise Networking for Electronic
Commerce
Tutorial 7
Dynamic Host Protocol
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
Why Use It

The Growing size of Networks

Requires Less Human Interaction

Less Prone To Error

Portability
Who Uses It

Internet Service Providers

Universities

Large Corporations and Organizations

Anyone who has to deal with a large range of
Internet Addresses
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
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;
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;
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;
}
DHCP Server Configuration File
host MEC-1 {
hardware ethernet 08:00:2b:4c:59:23;
fixed-address 192.168.1.222;
}
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