2008 D-Link Switch Training. 2 2 DHCP Relay Agent Information (Option 60/61)

Slides:



Advertisements
Similar presentations
Application Guide For Mesh AP – MAP-3120
Advertisements

Implementing Inter-VLAN Routing
Dynamic Host Configuration Protocol DHCP. Dynamic Host Configuration Protocol -- DHCP -- Networking protocol Obtains configuration information for operation.
DHCP Dynamic Host Configuration Part 7 NVCC Professional Development TCP/IP.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
1 Inter-VLAN routing Chapter 6 CCNA Exploration Semester 3 Modified by Profs. Ward and Cappellino.
Chapter 8 Administering TCP/IP.
RFC 2131 DHCP. Dynamic Host Configuration Protocol.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition Chapter 9 Network Services.
Sasken Confidential © 2007 Sasken Communication Technologies Host Configuration Protocol By Manikanta Velaga.
11 ASSIGNING IP ADDRESSES Chapter 2. Chapter 2: ASSIGNING IP ADDRESSES2 CHAPTER OVERVIEW  Describe the structure of IP addresses and subnet masks. 
Virtual LANs. VLAN introduction VLANs logically segment switched networks based on the functions, project teams, or applications of the organization regardless.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Using a Cisco Router as a DHCP Server.
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.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 4: Dynamic Host Configuration Protocol.
Interior Gateway Routing Protocol (IGRP) is a distance vector interior routing protocol (IGP) invented by Cisco. It is used by routers to exchange routing.
11 NETWORK PROTOCOLS AND SERVICES Chapter 10. Chapter 10: Network Protocols and Services2 NETWORK PROTOCOLS AND SERVICES  Identify how computers on TCP/IP.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
© 2006 Cisco Systems, Inc. All rights reserved. Network Security 2 Module 8 – PIX Security Appliance Contexts, Failover, and Management.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How IP Address Protocols Work INTRO v2.0—4-1.
DNS (Domain Name System) Protocol On the Internet, the DNS associates various sorts of information with domain names. A domain name is a meaningful and.
© 2006 Cisco Systems, Inc. All rights reserved.1 Microsoft Network Load Balancing Support Vivek V
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
Networking Components Presented by Jaisson Mailloux LTEC 4550 Network Systems Administration.
NUS.SOC.CS2105 Ooi Wei Tsang Application Transport Network Link Physical you are here.
Dynamic Host Configuration Protocol (DHCP). History Diskless workstations –needed to know configuration parameters like IP address, netmask, gateway address.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 2: Configuring Network Protocols.
CCNA 3 Week 9 VLAN Trunking. Copyright © 2005 University of Bolton Origins Dates back to radio and telephone Trunk carries multiple channels over a single.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
Page 1 Chapter 11 CCNA2 Chapter 11 Access Control Lists : Creating ACLs, using Wildcard Mask Bits, Standard and Extended ACLs.
SERVER I SLIDE: 5. Objectie 4.2 The DHCP IP address assignment process.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 Virtual Trunking Protocol.
Switch Features Most enterprise-capable switches have a number of features that make the switch attractive for large organizations. The following is a.
Chapter 17 BOOTP and DHCP.
TCP/IP Protocol Suite DHCP The Dynamic Host Configuration Protocol (DHCP) provides static and dynamic address allocation that can be manual or automatic.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Dynamic Host Configuration Protocol (DHCP)
1 Network Address Translation (NAT) and Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about private networks and NAT.
Switching Topic 2 VLANs.
Virtual Local Area Networks (VLANs) Part II
Configuring VLAN Chapter 14 powered by DJ 1. Chapter Objectives At the end of this Chapter you will be able to:  Understand basic concept of VLAN  Configure.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
1 Objectives Discuss the basics of Dynamic Host Configuration Protocol (DHCP) Describe the components and processes of DHCP Install DHCP in a Windows Server.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
 Router Configurations part2 2 nd semester
Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Introduction to Networking Technologies Dynamic Host Configuration Protocol (DHCP)
This courseware is copyrighted © 2016 gtslearning. No part of this courseware or any training material supplied by gtslearning International Limited to.
CHAPTER 10: DHCP Routing & Switching. Objectives 10.0 Introduction 10.1 Dynamic Host Configuration Protocol v Dynamic Host Configuration Protocol.
DHCP CONFIGURATION Routing & Switching. DHCPV4 OPERATION CONFIGURING A DHCPV4 SERVER A Cisco router running the Cisco IOS software can be configured to.
1 Kyung Hee University Chapter 16 Host Configuration : BOOTP and DHCP.
Basic Edge Core switch Training for Summit Communication.
Instructor Materials Chapter 2: Scaling VLANs
Network Load Balancing Addressing
Instructor Materials Chapter 8: DHCP
Dynamic Host Configuration Protocol
Unit 2 dhcp, apipa and ntp.
Chapter 10: DHCP Routing & Switching Chapter 10: DHCP
BOOTP and DHCP Objectives
Virtual LANs.
Chapter 2: Scaling VLANs
Net 431 D: ADVANCED COMPUTER NETWORKS
Routing and Switching Essentials v6.0
By - Ricardo Sanchez, Ken Wolters and William Hibbard
CCNA 3 v3 JEOPARDY Module 8 CCNA3 v3 Module 8 K. Martin.
Chapter 16 Host Configuration : BOOTP and DHCP
AbbottLink™ - IP Address Overview
Configuring Cisco 2650 Router By John Teissonniere Manny Jacome
Presentation transcript:

2008 D-Link Switch Training

2 2 DHCP Relay Agent Information (Option 60/61)

3 3 Description Briefly speaking, this feature allow switch to watch option 60 and 61 content of DHCP client packet to decide to relay the packet to which DHCP server or simply drop it

4 4 Relationship about option 60,option 61,option 82 The relay will process option 82 first. About option 60 and option 61,the relay will process the option 60 first, then option 61.But if option 60 or option 61 need to drop the packet. The relay will perform drop regardless any other rule. If the option 60 and option 61 all are enable, but the packet do not contain them. The relay will process the DHCP packet as normal flow just like option 60 and option 61 are disable.

5 5 Option 60 Vendor Class Identifier (Option 60) can be used by DHCP clients to identify the vendor and functionality of a DHCP client. The information is a variable length string of characters or octets which has a meaning specified by the vendor of the DHCP client.

6 6 Option 60 configuration A string map to a DHCP server has two models. One is exact-match, the other is partial-match. exact-match is that the DHCP client string is an exact match of the specified string, and partial-match is that the DHCP client string is a partial match of the specified string. A string can map to multiple DHCP servers, but not over 4, also a DHCP server can map to multiple strings, but not over 50. The number of DHCP server must not be more than 4. The default state of DHCP option60 is disabled, and the default rule is “drop”

7 7 config dhcp_relay option_60 state config dhcp_relay option_60 state [enable|disable] –Used to configure dhcp_relay opton_60 state. This decides whether dhcp_relay will process the DHCP option 60 or not. When option_60 is enabled, if the packet does not have option 60, then the relay servers cannot be determined based on option 60. The relay servers will be determined based on either option 61 or per IPIF configured servers. If the relay servers are determined based on option 60 or option 61, then per IPIF configured servers will be ignored. If the relay servers are not determined either by option 60 or option 61, then per IPIF configured servers will be used to determine the relay servers.

8 8 config dhcp_relay option_60 add configure dhcp_relay option_60 add string relay [exact_match|partial_match] –Used to add a entry for dhcp_relay option_60 This command configures the option 60 relay rules. Note that different string can be specified with the same relay server, and the same string can be specified with multiple relay servers. The system will relay the packet to all the matching servers.

9 9 Parameters exact_match –The option 60 string in the packet must full match with the specified string. partial_match –The option 60 string in the packet only need partial match with the specified string. string –The specified string. ipaddress –Specify a relay server IP address.

10 config dhcp_relay option_60 default config dhcp_relay option_60 default [relay | mode [drop|relay] ] –Configure dhcp_relay option_60 default relay servers When there are no match servers found for the packet based on option 60, the relay servers will be determined by the default relay server setting. When drop is specified, the packet with no matching rules found will be dropped without further process. If the setting is no- drop, then the packet will be processed further based on option 61. The final relay servers will be the union of option 60 default relay servers and the relay servers determined by option 61.

11 Parameters ipaddress –The specified ipaadress for dhcp_relay forward. –Specify a relay server IP for the packet that has no matching option 60 rules. drop –Specify to drop the packet that has no matching option 60 rules. relay –The packet will be relayed based on the relay rules.

12 Opotion 60 in Real Network Example For example, you might have an environment in which some DHCP clients require only Internet access, while other clients require IPTV service. The clients that need Internet access get their addresses assigned by the DHCP local server on the router. Clients requiring IPTV must be relayed to a specific DHCP server that provides the service. To support both types of clients, you configure two option 60 strings on the DHCP relay. Now, when any DHCP client packets are received with option 60 strings configured, the strings are matched against all strings configured on the DHCP relay. If the client string matches the first string you configured, that client is directed to the DHCP local server and gains Internet access. Client traffic with an option 60 string that matches your second string is relayed to the DHCP server that provides the IPTV service. In addition, you can configure a default action, which DHCP relay performs when a client option 60 string does not match any strings you have configured—for example, you might specify that all clients with non- matching strings be dropped.

13 DES-3526 ( ) DGS-3612 Network Diagram D-Link Set-Top Box DHCP Server with VCI to “dlink” /24 D-Link Set-Top Box DHCP Server with VCI to “dlink” /24 Internet DHCP Server (default Server) /24 Internet DHCP Server (default Server) /24 Internet ClientsD-Link Set-Top Box Client With Option 60 specified string “dlink” Need assign IP by the Internet DHCP Server /8 Need assign IP by the Set-Top Box DHCP Server /24

14 DES-3526 ( ) DGS-3612 Network Diagram D-Link Set-Top Box DHCP Server with VCI to “dlink” /24 D-Link Set-Top Box DHCP Server with VCI to “dlink” /24 Internet DHCP Server (default Server) /24 Internet DHCP Server (default Server) /24 Internet ClientsD-Link Set-Top Box Client With Option 60 specified string “dlink” Need assign IP by the Internet DHCP Server /8 Need assign IP by the Set-Top Box DHCP Server /24 config dhcp_relay option_60 add string "dlink" relay exact_match config dhcp_relay option_60 state enable enable dhcp_relay config dhcp_relay option_60 default mode relay config dhcp_relay option_60 default relay

15 Switches Configuration DGS-3612 config ipif System ipaddress /8 config vlan default delete 7-12 create vlan v2 tag 2 config vlan v2 add untagged 7-12 create ipif ipif /24 v2 DES-3526 config ipif System ipaddress /8 create iproute default config dhcp_relay option_60 add string "dlink" relay exact_match config dhcp_relay option_60 default mode relay config dhcp_relay option_60 default relay config dhcp_relay option_60 state enable enable dhcp_relay

16 DHCP server setting (haneWIN DHCP server) 1 Server IP:

17 DHCP server setting (haneWIN DHCP server) 2

18 DES-3526 ( ) DGS-3612 Result D-Link Set-Top Box DHCP Server with VCI to “dlink” /24 D-Link Set-Top Box DHCP Server with VCI to “dlink” /24 Internet DHCP Server (default Server) /24 Internet DHCP Server (default Server) /24 Internet ClientsD-Link Set-Top Box Client With Option 60 specified string “dlink” Need assign IP by the Internet DHCP Server /8 Need assign IP by the Set-Top Box DHCP Server /24 Switch will send the DHPC requests to Setup Box DHCP Server ( ). To those Clients who have matched option 60 VIC to “dlink” Other Clients’s DHCP requests without option 60 or mismatch the option 61 VIC will be sent to the defualt server ( )

19 Option 61 This option is used by DHCP clients to specify their unique identifier. DHCP servers use this value to index their database of address bindings.

20 Option 61 configuration : The number of option61 rule can not over 500. The default state of DHCP option61 is disabled, and the default ruler is “drop”. A option61 can configure to forward a specific DHCP server or drop, multiple option61 can map to a specific DHCP server, but a option61 only can specified a specific DHCP server.

21 config dhcp_relay option_61 state config dhcp_relay option_61 state [enable|disable] –Used to configure dhcp_relay opton_61 state. This decides whether dhcp_relay will process the DHCP option 61 or not. When option_61 is enabled, if the packet does not have option 61, then the relay servers cannot be determined based on option 61. If the relay servers are determined based on option 60 or option 61, then per IPIF configured servers will be ignored. If the relay servers are not determined either by option 60 or option 61, then per IPIF configured servers will be used to determine the relay servers.

22 config dhcp_relay option_61 add config dhcp_relay option_61 add [mac_address |string ] [relay | drop] –Used to add a rule for dhcp_relay option_61 This command adds a rule to determine the relay server based on option 61. The match rule can base on either MAC address or a user-specified string. Only one relay server can be specified for a MAC-address or a string, If relay servers are determined based on option 60, and one relay server is determined based on option 61, the final relay servers will be the union of these two sets of the servers.

23 Parameters mac_address –The client’s client-ID which is the hardware address of client. string –The client’s client-ID,which is specified by administrator. relay –Specify to relay the packet to a IP address. drop –Specify to drop the packet.

24 config dhcp_relay option_61 default config dhcp_relay option_61 default [relay |drop] – Used to configure the default ruler for option 61. Up to default server IP address can be specified.This setting will be used to determine the rule to process those packets that have no option 61 matching rules. The default default-rule is drop.

25 Opotion 60 in Real Network Example An address binding is a mapping between the IP address and MAC address of a client. The IP address of a client can be assigned manually by an administrator or assigned automatically from a pool by a DHCP server. Manual bindings are IP addresses that have been manually mapped to the MAC addresses of hosts that are found in the DHCP database. Automatic bindings are IP addresses that have been automatically mapped to the MAC addresses of hosts that are found in the DHCP database. With option 61 all DHCP clients send a client identifier (DHCP option 61) in the DHCP packet. (In our case the Switch will add the client’s MAC address to option 61 field in the DHCP request packet) The DHCP Sever will check the client identifier information (for example MAC address) to assign a corresponded IP address to the Client base on it’s address Binding table.

26 DES-3526 ( ) DGS-3612 Network Diagram DHCP Server with address Binding /24 DHCP Server with address Binding /24 Default DHCP Server /24 Default DHCP Server /24 Other ClientsSpecific Clients need assign with specific IP address base on their MAC Address Other clients will assign IP by the default DHCP Server /8 Need assign IP by the Specific DHCP Server /24

27 DES-3526 ( ) DGS-3612 Network Diagram DHCP Server with address Binding /24 DHCP Server with address Binding /24 Default DHCP Server /24 Default DHCP Server /24 Other ClientsSpecific Clients need assign with specific IP address base on their MAC Address Other clients will assign IP by the default DHCP Server /8 Need assign IP by the Specific DHCP Server /24 config dhcp_relay option_61 add mac_address relay config dhcp_relay option_61 state enable enable dhcp_relay config dhcp_relay option_61 default relay

28 Switches Configuration DGS-3612 config ipif System ipaddress /8 config vlan default delete 7-12 create vlan v2 tag 2 config vlan v2 add untagged 7-12 create ipif ipif /24 v2 DES-3526 config ipif System ipaddress /8 create iproute default config dhcp_relay option_61 add mac_address relay config dhcp_relay option_61 default relay config dhcp_relay option_61 state enable enable dhcp_relay

29 DHCP server setting (haneWIN DHCP server) 1 Server IP:

30 DHCP server setting (haneWIN DHCP server) 2

31 DES-3526 ( ) DGS-3612 Result DHCP Server with address Binding /24 DHCP Server with address Binding /24 Default DHCP Server /24 Default DHCP Server /24 Other ClientsSpecific Clients need assign with specific IP address base on their MAC Address Other clients will assign IP by the default DHCP Server /8 Need assign IP by the Specific DHCP Server /24 Switch will send the DHPC requests to DHCP Server ( ). To those Clients’ ID (MAC address) have matched in the Switch option 61 rules. Other clients’ DHCP requests will be sent to the default DHCP Server

32 End