CIS 527



Lab 3 - DHCP

Special Thanks


Much of this information adapted from slides by Seth Galitzer

History

  • 1982 - TCP/IP Developed
  • 1985 - BOOTP Developed
  • 1987 - 20,000 Hosts on Internet
  • 1989 - DHC Working Group
  • 1993 - DHCP Defined (RFC 1531)
  • 1996 - ISC Server Released
  • 1997 - DHCP Finalized (RFC 2131)
  • 2003 - DHCP for IPv6 (RFC 3315)

Dynamic Host Configuration Protocol (DHCP)

  • Large Networks Difficult to Manage Manually
  • Computers Are Now Mobile
  • Need to Automatically Configure Network Settings

Why DHCP?

  • Leasing
  • Renewal
  • Configuration
  • Portability
  • Compatible with Static IP

Image Source: Fossbytes

Image Source: Seth Galitzer

Automatic Private IP Address (APIPA)

  • Used when DHCP Fails
  • Assigns a Link-Local IP Address
  • IPv4: 169.254.0.0/16
  • IPv6: fe80::/10

Sample Configuration

default-lease-time 600;  # in seconds
max-lease-time 7200;     # in seconds
authoritative;           # this server is authoritative
                         #   for this network segment

option domain-name “cis.ksu.edu”; option domain-name-servers 129.130.254.2, 129.130.254.3; option subnet-mask 255.255.254.0; option broadcast-address 129.130.11.255; option routers 129.130.10.1; option smtp-server smtp.cis.ksu.edu;

Sample Configuration

#fixed-address
host eth0_bronco {
	option host-name "bronco";
	hardware ethernet ec:a8:6b:fe:2e:b5;
	fixed-address 129.130.10.190;
}

#dynamic pool pool { range 129.130.10.209 129.130.10.229; range 129.130.10.245 129.130.10.255; range 129.130.11.201 129.130.11.254 }