DHCP Training. Server Backup ETS 10.251.128.159 WAN Server Primary School 10.x.192.9 All IPs used in...

22
DHCP Training

Transcript of DHCP Training. Server Backup ETS 10.251.128.159 WAN Server Primary School 10.x.192.9 All IPs used in...

DHCP Training

ServerBackup

ETS10.251.128.159

WAN

ServerPrimarySchool

10.x.192.9

All IPs used in the Static Ranges

10.x.192.1-193.255

Wire10.x.192.1 199.254

Wireless10.x.176.1 192.254

Look Up LAN running 24 hoursSearching every hour for new IP

addresses

Posts to a server and uploaded into a Filemaker Pro database that is web enabled

Scopes Currently Not Established

Schools

ServerBackup

ETS10.251.128.159 WAN

ServerPrimary

KCW10.202.0.9

All IPs used on all floorsOf KCW in the Static Ranges

10.x.0.1-255

Floor 14

Floor 1

Wireless

Look Up Lan running 24 hoursSearching every hour for new IP

addresses

Posts to a server and uploaded into a filemakerpro database that is web enabled

KCW

Backup

Primary

DHCP BasicsDHCP BasicsOverview

•What is DHCP?•Why use it?•How does it work?

What is DHCP?

DHCP allows a host to learn its configuration parameters from a server. It automates IP configuration, making it much easier to connect to a network. It allows re-use of IP addresses.

Why use DHCP?•Visitor convenience•Speeds setup of new machines•Simplifies conference room connections•Allows roaming laptops•Centralizes IP management

DHCP BasicsDHCP BasicsHow does DHCP work?1. Server discovery

• Client DHCPDISCOVER packet asking “Who can give me DHCP information?” Hello

2. Servers make an offer• All servers on the subnet unicast a DHCPOFFER packet saying “I can supply you with

DHCP information, if you like.” What Do You need

3. Client requests•The client selects one of the responses, and broadcasts a DHCPREQUEST packet saying

“I choose server XYZ. Server XYZ, here’s my MAC address, what’s my IP address?” Give Me An Address•The unchosen servers treat this as a rejection.•The request can specify a preferred IP address, if the client has a preference.•The request can ask for additional information.

4. Server responds Here It is and for How long•The server responds with a DHCPACK packet saying “Here is your IP address. It’s good for 24 hours.”•The response can contain additional information, if the client asked for it.•The server records that the IP address is in use.

5. Client releases You Can Have it Back•The client finishes it’s work, and send a DHCPRELEASE packet saying “I’m done with the IP address.”•The server records that the IP address is not in use.

DHCP BasicsDHCP Basics

Clients refresh leases• When half the lease time has expired, a client broadcasts another DHCPREQUEST packet saying “I choose server XYZ. Server XYZ, I want IP address N. Can I have it?”. The server responds yes or no.

Servers can refuse• If a server can’t supply an unused IP address, or if the server can’t supply an IP address that matches the client’s MAC address, the server sends a DHCPNAK packet saying “you can’t have an IP address”. The client is then free to make another request.

Clients preserve addresses• A client can remember its last-used IP address in non-volatile memory. When it boots, it can request the address from the server. This improves the chances that a client will retain the same IP address over long periods of time.

DHCP BasicsDHCP Basics

What DHCP can provide•IP address and lease time•subnet mask•default route•DNS, NIS, LPR, NTP, logging server(s)•WINS NBNS node type•More

Static vs. dynamic addresses•DHCP servers manage two kinds of IP addresses:

o Static IP addresses, which the server gives to clients based on the client’s MAC addresso Dynamic IP addresses, which the server gives to clients as requested. These come from a “pool” of addresses in a subnet, set aside for this purpose

Network ParametersIP AddressTracking Management

Exclusion Area

Scope sizeLease Times

Reservations

DHCP BasicsDHCP Basics

Client Address Leases

DHCP BasicsDHCP Basics

Typical Client Parameters Provided

Typical DHCP Properties

DHCP BasicsDHCP BasicsReservations

Exclusion Areas

DHCP Wireless Clients (1020 Addresses)

Reserved Network Equipment (255 Addresses)

Elementary/Middle/High Primary Wired VLAN:Elementary/Middle/High Primary Wired VLAN:10.x.192.1 10.x.128.1 10.x.193.255 10.x.129.255

10.x.194.1 10.x.130.1 10.x.198.255 10.x.134.255

10.x.199.1 10.x.135.1 10.x.199.254 10.x.135.254

Elementary/Middle/High Primary Wireless (176) VLAN: Elementary/Middle/High Primary Wireless (176) VLAN: 10.x.176.1 10.x.112.110.x.176.255 10.x.112.255

10.x.177.1 10.x.113.110.x.188.255 10.x.125.255

10.x.189.1 10.x.126.110.x.191.254 10.x.127.254

Backup DHCP Server (764 Addresses)

Static Printers and Servers (255Addresses)

DHCP Wired Clients (3060 Addresses)

SBBC Dynamic Host Control Protocol (DHCP) Network Standard

Gateway 10.x.192.1-2 10.x.128.1-2Server range 10.x.192.1-20 10.x.128.1-20Printers:10.x.192.21-193.255 10.x.128.21-129.255 (510 Addresses)

44 Floor 1 Floor 1

Backup DHCP Server (255 Addresses)

Static Printers and Servers (255Addresses)

DHCP Wired Clients (1275 Addresses)

10.201.0.310.201.0.255

10.201.1.010.201.5.255

10.201.6.010.201.6.255

10.201.7.010.201.7.254

Network Equipment Range (254 Addresses)

55 Floor 2Floor 2

10.202.0.310.202.0.255

10.202.1.010.202.5.255

10.202.6.010.202.6.255

10.202.7.010.202.7.254

66 Floor 3 Floor 3

10.203.0.310.203.0.255

10.203.1.010.203.5.255

10.203.6.010.203.6.255

10.203.7.010.2037.254

77 Floor 4 Floor 4

10.204.0.310.204.0.255

10.204.1.010.204.5.255

10.204.6.010.204.6.255

10.204.7.010.204.7.254

22 Floor 5 Floor 5

10.205.0.310.205.0.255

10.205.1.010.201.5.255

10.205.6.010.205.6.255

10.205.7.010.205.7.254

8 8 Floor 6Floor 6

Backup DHCP Server (255 Addresses)

Static Printers and Servers (255Addresses)

DHCP Wired Clients (1275 Addresses)

10.206.0.310.206.0.255

10.206.1.010.206.5.255

10.206.6.010.206.6.255

10.206.7.010.206.7.254

Network Equipment Range (254 Addresses)

99 Floor 7 Floor 7

10.207.0.310.207.0.255

10.207.1.010.207.5.255

10.207.6.010.207.6.255

10.207.7.010.207.7.254

33 Floor 8 Floor 8

10.208.0.310.208.0.255

10.208.1.010.208.5.255

10.208.6.010.208.6.255

10.208.7.010.208.7.254

1010 Floor 9 Floor 9

10.209.0.310.209.0.255

10.209.1.010.209.5.255

10.209.6.010.209.6.255

10.209.7.010.209.7.254

1414 Floor 10Floor 10

10.210.0.310.210.0.255

10.210.1.010.210.5.255

10.210.6.010.210.6.255

10.210.7.010.210.7.254

1111 Floor 11 Floor 11

Backup DHCP Server (255 Addresses)

Static Printers and Servers (255Addresses)

10.211.0.310.211.0.255

10.21.1.010.211.5.255

10.211.6.010.211.6.255

10.211.7.010.211.7.254

Network Equipment Range (254 Addresses)

12 12 Floor 12Floor 1210.212.0.310.212.0.255

10.212.1.010.212.5.255

10.212.6.010.212.6.255

10.212.7.010.212.7.254

1313 Floor 13 Floor 1310.213.0.310.213.0.255

10.213.1.010.213.5.255

10.213.6.010.213.6.255

10.213.7.010.213.7.254

11 Floor 14 Floor 1410.214.0.310.214.0.255

10.214.1.010.214.5.255

10.214.6.010.214.6.255

10.214.7.010.214.7.254

WirelessWireless10.215.0.310.215.0.255

10.215.1.010.215.5.255

10.215.6.010.215.6.255

10.215.7.010.215.7.254

VOIPVOIP10.216.0.310.216.0.255

10.216.1.010.216.5.255

10.216.6.010.216.6.255

10.216.7.010.216.7.254

DHCP Wired Clients (1275 Addresses)

DHCP Server IP Addresses

Primary room 202 CER:10.202.0.9

Backup a ETS:10.252.128.159

Enter Name

Or

Enter TCP Scope Range

10.25. Cypress Bay

Step 1

Step 2

Step 3

These are IP addresses that have been pinged at one time. An Available IP address is one that does not show up in the Database example: 10.25.192.24

DHCP BasicsDHCP BasicsReservations

On Server Open DHCP

DHCP BasicsDHCP BasicsReservations

Click on the wired scope and select reservations

DHCP BasicsDHCP BasicsReservations

Click Action then select New Reservation

DHCP BasicsDHCP BasicsReservations

Enter the printer information as shown. Use the Mac address from the printer and type in the ip address of the printer

DHCP BasicsDHCP BasicsReservations

The reservation will show as follows

DHCP BasicsDHCP BasicsReservations

The reservation will show as follows