DHCP at Stanford Kent Reuber 725-8092,

Slides:



Advertisements
Similar presentations
DHCP Dynamic Host Configuration Part 7 NVCC Professional Development TCP/IP.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
SYSTEM ADMINISTRATION Chapter 19
Nassau Community College
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
Chapter 11 Configuring Dynamic Host Configuration Protocol
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
DHCP and Network Settings What is DHCP and its function, what is a Gateway and why do we need one, what is DNS? Presentation written by Carol A. Hopkins.
Chapter 8 Administering TCP/IP.
Host Configuration: BOOTP and DHCP
Hands-On Microsoft Windows Server 2003 Networking Chapter 5 Dynamic Host Configuration Protocol.
DHCP (Dynamic Host Configuration Protocol) RD-CSY /09.
DHCP Dynamic Host Configuration Protocol. What is DHCP?  It does name resolution (one more?!) DNS resolves IP numbers and FQDN WINS resolves NetBIOS.
DHCP Server © N. Ganesan, Ph.D.. Reference DHCP Server Issues or leases dynamic IP addresses to clients in a network The lease can be subject to various.
Chapter Overview Understanding DHCP Configuring a DHCP Server
DHCP Dynamic Host Configuration Protocol.
Managing DHCP. 2 DHCP Overview Is a protocol that allows client computers to automatically receive an IP address and TCP/IP settings from a Server Reduces.
Installing a DHCP Server role on Windows Server 2008 R2 in a home network. This is intended as a guide to install the DHCP role on a Domain Controller.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 4: Dynamic Host Configuration Protocol.
Lesson 3 Introduction to Networking Concepts Lesson 3.
Support Protocols and Technologies. Topics Filling in the gaps we need to make for IP forwarding work in practice – Getting IP addresses (DHCP) – Mapping.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Addressing Networking for Home and Small Businesses – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Addressing Networking for Home and Small Businesses – Chapter.
Module 4 - Networking MIS5122: Enterprise Architecture for the IT Auditor.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Bootstrap and Autoconfiguration (DHCP)
Name Resolution Domain Name System.
DHC P Dynamic Host Configuration Protocol
DHCP Training.
Internet Addressing. When your computer is on the Internet, anything you do requires data to be transmitted and received. For example, when you visit.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 8 The Dynamic Host Configuration Protocol (DHCP)
Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol.
TCP/IP Addressing & Subnetting Unit objectives Discuss TCP/IP addressing and determine the IP address class and default subnet mask Discuss subnetting.
1 TGIF: NetDB for Power Users April 11, 2003 Sunia Yang Networking Systems.
Dynamic Host Configuration Protocol (DHCP). History Diskless workstations –needed to know configuration parameters like IP address, netmask, gateway address.
Sublayers Under the Network Layer: BOOTP & DHCP
Chapter 15 DHCP. Dynamic Host Configuration Protocol An Application Layer Protocol A client server protocol that automatically provides an IP host with.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
1 of 18 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.0: Module 1; 1.2.
Connecting to a Network Lesson 5. Objectives Understand the OSI Reference Model and its relationship to Windows 7 networking Install and configure networking.
Understanding Networking Joe Cicero Northeast Wisconsin Technical College.
 An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network.
Connecting The Network Layer to Data Link Layer. ARP in the IP Layer The Address Resolution Protocol (ARP) The Address Resolution Protocol (ARP) Part.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
Networking in Windows NT Layered Network Architecture Network Interface Card Network Adapter Card Drivers NDIS InterfaceStreams Transport Protocols.
Module 3: Configuring a Client IP Address. Overview Configuring a Client to Use a Static IP Address Configuring a Client to Obtain an IP Address Automatically.
DHCP/BOOTP Dynamic Host Configuration Protocol Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically.
Networks and Protocols CE Week 3a. DHCP, ARP, DNS, TCP/UDP.
DHCP Meha Modi. “Dynamic Host Configuration Protocol” Automatically assigns IP addresses to devices (I.e. hosts) on your network. -Prevents to enter data.
Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol.
NetTech Solutions Common Connectivity Problems Lesson Eight.
CIS 856: TCP/IP and Upper Layer Protocols Karthik Ravindra Nov 11, 2008 Dynamic Host Configuration Protocol [DHCP] - RFC 2131.
Unit 2 - Hardware Networking. What is a network? A computer network is essentially a connection between two or more computers. This connection can be.
WEEK 11 – TOPOLOGIES, TCP/IP, SHARING & SECURITY IT1001- Personal Computer Hardware System & Operations.
DHCP as server. What is Dynamic Host Configuration Protocol (DHCP)? Dynamic Host Configuration Protocol (DHCP) is network protocol for automatically assigning.
1 Objectives Discuss the basics of Dynamic Host Configuration Protocol (DHCP) Describe the components and processes of DHCP Install DHCP in a Windows Server.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 9: Dynamic Host Configuration Protocol (DHCP)
ITE PC v4.0 Chapter 8 1 © 2007 Cisco Systems, Inc. All rights reserved.Cisco Public  Networks are systems that are formed by links.  People use different.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Introduction to Networking Technologies Dynamic Host Configuration Protocol (DHCP)
Xbox Wireless Errors & Troubleshooting. Network: Failed Internet: Failed Xbox LIVE: Failed NAT: Connection Warning.
Unit 7: DHCP, APIPA and NTP. Static versus dynamic IP addressing Dynamic IP addresses can change each time you connect to the Internet, while static IP.
Dynamic Host Configuration Protocol
Networks Problem Set 3 Due Nov 10 Bonus Date Nov 9
Networking for Home and Small Businesses – Chapter 5
Networks Problem Set 3 Due Oct 29 Bonus Date Oct 26
BOOTP and DHCP Objectives
Introduction to Networking
Networking for Home and Small Businesses – Chapter 5
Allocating IP Addressing by Using Dynamic Host Configuration Protocol
Presentation transcript:

DHCP at Stanford Kent Reuber ,

Outline What DHCP is, and how it works What’s special about DHCP at Stanford What happens when DHCP doesn’t work Q&A

Skills You’ll Learn How to check Netdb records to see if DHCP is working the way you want How to look at DHCP server logs to troubleshoot problems How to uncover rogue DHCP servers on your network

DHCP Basics

What is DHCP “Dynamic Host Configuration Protocol” (RFC 2131) Automatically assigns IP addresses to devices (I.e. hosts) on your network –Prevents having to manually enter data –Prevents typos that can cause connectivity problems or disrupt the network (e.g., exchanging IP address and gateway address)

DHCP Conversation Four step process between client (UDP port 68) and servers (UDP port 67) –Client sends Discover “Someone send me an address”. This is a broadcast. –Servers Offer “Use this address”. –Client Requests “I’ll use this one”. (broadcast) –Servers Acknowledge “OK or No Way!” (ACK/NAK)

DHCP Results Servers should provide address, net mask, DNS servers, domain, and gateway (and perhaps other stuff, e.g., WINS) Client will be allowed to use the address for a period of time called a Lease –Normal campus addresses: 2 day lease –Roaming addresses: 42 minutes

Lease Renewal Halfway through lease period, client asks its current server to continue using the address. –Client sends Request (unicast). –Server sends Acknowledge. If current server isn’t available, client will broadcast request. This may cause it to change servers. If lease expires, client must stop using the address and start the process from scratch.

Looking at DHCP Information MacOS X: –Use “ipconfig getpacket interface_name” (e.g., en0). Lease times are in hexadecimal. Windows NT/2000/XP: –Command line: “ipconfig /all” Windows 95/98 –Winipcfg GUI utility

DHCP at Stanford

DHCP at Stanford: Netdb Connection Have to have MAC (hardware) address in Netdb and DHCP box checked to get DHCP provided address If you specify one or more IP addresses for a MAC address, you will always get one of those addresses if appropriate Use more than one IP address if you have multiple “home bases”, for example, an office in one building and a lab in another building.

Example Whois Record Multiple interfaces with multiple addresses: name: lapwarmer type: Node (Advanced) cpu: Apple PowerBook op-sys: MacOS X interfaces: 1) name: slab-en0 hw-addr: 000a.95a0.03ce dhcp roam ip-addr: slab slab-clark-92 2) name: slab-en1 hw-addr: eb.26dd dhcp roam ip-addr: slab-ap

DHCP and Netdb: Roaming Checking “roaming” allows you to get an address from the local roaming address pool if none of the IP addresses associated with your MAC address are appropriate For example, my laptop wired interface has two “home” addresses, and When on those nets, I’ll get the appropriate address. On other campus nets, I’ll get an address from the local roaming pool if one is available. If local roaming pool is full or doesn’t exist, I’m stuck!

How Big is the Local Roaming Pool? The number of addresses available for roaming is specified by the LNA Look at the network record for the network of interest: [mac-kent-x:~] reuber% whois name: Pine-B-net.Stanford.EDU ip-subnets: 1) addr space: /24 lo: 5 hi: 5 dhcp-addr: DNab4014f2.Stanford.EDU DNab4014f3.Stanford.EDU DNab4014f4.Stanford.EDU DNab4014f5.Stanford.EDU DNab4014f6.Stanford.EDU

More Roaming Trivia Each DHCP server (dusk, dawn) is responsible for 1/2 of the roaming pool. For example, if one of the servers were unavailable, only 1/2 of our roaming pool would be available.

Policy Issues Never add residential ( *.*) or Stanford West ( *) to campus Netdb records. Add campus address to residential or Stanford West records. Never assign clients new addresses in these ranges. Clients must contact RCC or Comm Services. More Stanford West info: cns/stanfordwest/faq.html

TroubleshootingTroubleshooting

SUNet Reports Troubleshooting Page (Off the main SUNet reports page. Must be a registered LNA to access this page.) Has links for looking at DHCP conversation for a particular client and for DHCP Dynamic (I.e., roaming) Address Utilization

Roaming Address Utilization Shows how many of your roaming addresses were used in the last 24 hrs. Pine-B-net / % Very rough indicator of usage.

DHCP Client Conversation Report Takes practice to read. Look for common date and time for messages Most helpful if you type in the MAC address rather than the IP address –Can see where the laptop has been –Can see the discover message (I.e., before the device gets an address)

Odd Addresses You Might Encounter 10.*.*.*: Hospital uses this range, but Airport base stations also give out this range (esp *) *.*. Used for a few special purposes on campus, but often used by rogue wireless access points *.* “Zero-conf” address -- device can’t contact DHCP server. May be indicative of Netdb, cabling, inactive jack, etc *.* Wireless guest network range (experimental). Will get this address on certain wireless nets when MAC address isn’t in Netdb.

Troubleshooting Questions For DHCP Problems What address if any did clients receive? Is their Netdb record set up correctly (correct MAC, DHCP/roaming checked)? What network is the user connected to when they’re trying to use DHCP? What is the network range? Does the user have an address on this network or is the user roaming? Are there available roaming addresses (roaming is defined and there are free addresses)? Check DHCP server report? What happened? There may be a physical problem (cabling issues, jack not activated, NIC problems, etc.).

Finding Rogue DHCP Servers If users are getting inappropriate 10.* or * addresses, may need to hunt for a rogue server on your net. Often, these rogue servers are poorly configured access points or PCs/Macs set for “Internet Sharing”. Note: Internet Sharing means sharing your *address* not your files! This shouldn’t be used at Stanford!

Finding Rogue Servers Must do this from a machine getting a “bad” address! Ping the machine acting as your DHCP server. Can get this info from the command line. Often the rogue will advertise itself as the gateway. Get the MAC address: –OS X: arp IP_ADDR –Windows: arp -a IP_ADDR Give MAC address to your LNA or submit a HelpSU ticket.

Questions?Questions?