Configuring IP Unnumbered Interface

Similar documents
VLANs over IP Unnumbered SubInterfaces

Configuring Interface Characteristics

Configuring IP Unnumbered on IEEE 802.1Q VLANs

Configuring VLAN Trunks

Using AutoQoS. Understanding AutoQoS CHAPTER

Configuring Interfaces

Configuring DHCP Features and IP Source Guard

Configuring VLANs. Understanding VLANs CHAPTER

Configuring DHCP Features and IP Source Guard

Configuring VLANs. Understanding VLANs CHAPTER

VLAN Configuration. Understanding VLANs CHAPTER

22 Cisco IOS Commands for the Catalyst 4500 Series Switches interface


Configuring DHCP Features and IP Source Guard

Configuring Interfaces

DHCP Client. Finding Feature Information. Restrictions for the DHCP Client

Configuring the Cisco IOS DHCP Relay Agent

Command Reference for Voice VLAN

Configuring Interface Characteristics

Configuring DHCP. Finding Feature Information. Information About DHCP. DHCP Server. DHCP Relay Agent

Configuring DHCP. Finding Feature Information. Information About DHCP. DHCP Server. DHCP Relay Agent

Configuring DHCP Features

Remote Access MPLS-VPNs

AutoQoS. Prerequisites for AutoQoS CHAPTER

Configuring Interfaces

Configuring IP Multicast over Unidirectional Links

Configuring IPv6 First-Hop Security

Multiprotocol Label Switching

DHCPv6Relay LightweightDHCPv6RelayAgent

Configuring Interfaces

Configuring DHCP. Finding Feature Information. Information About DHCP. DHCP Server. DHCP Relay Agent

DHCPv6Relay LightweightDHCPv6RelayAgent

Configuring DHCP. Finding Feature Information. Information About DHCP. DHCP Server. DHCP Relay Agent

Configuring Web-Based Authentication

Configuring Interface Characteristics

Configuring Private VLANs

Configuring System MTU

Configuring CDP. Understanding CDP CHAPTER. This chapter describes how to configure Cisco Discovery Protocol (CDP) on the Catalyst 3560 switch.

Cisco Discovery Protocol Version 2

Configuring VLANs. Understanding VLANs CHAPTER

Configuring Multiprotocol Label Switching (MPLS)

Configuring IP Multicast over Unidirectional Links

Configuring Port-Based Traffic Control

BGP Named Community Lists

Lab Using the CLI to Gather Network Device Information Topology

Configuring Flex Links

Configuring VLANs. Finding Feature Information. Prerequisites for VLANs

IPv6 Snooping. Finding Feature Information. Restrictions for IPv6 Snooping

Configuring VLANs. Understanding VLANs CHAPTER

Configuring DHCP for WLANs

IEEE 802.1Q-in-Q VLAN Tag Termination

DHCP Server RADIUS Proxy

Configuring DHCP. Information About DHCP. DHCP Server. DHCP Relay Agent. DHCP Snooping

Lab - Configuring IPv6 Addresses on Network Devices

Configuring System MTU

DHCPv6 Individual Address Assignment

Switches running the LAN Base feature set support only static routing on SVIs.

Configuring Network Access to the GGSN

Configuring Port-Based Traffic Control

Configuring Web-Based Authentication

Configuring VLANs. Understanding VLANs CHAPTER

Configuring VLANs. Understanding VLANs CHAPTER

Cisco Discovery Protocol Version 2

Configuring VRF-lite CHAPTER

Cisco IOS Commands for the Catalyst 4500 Series Switches

Configuring Local SPAN and ERSPAN

IPv6 Client IP Address Learning

Cisco IOS Commands for the Catalyst 4500 Series Switches

Configuring Web Cache Services By Using WCCP

Configuring Port Security

DHCP Relay Server ID Override and Link Selection Option 82 Suboptions

Configuring Control-Plane Security

IEEE 802.1X Multiple Authentication

Configuring VLANs. Understanding VLANs CHAPTER

IPv6 Stateless Autoconfiguration

Configuring Private VLANs

Chapter 5 Lab 5-2 DHCP INSTRUCTOR VERSION

Configuring Interfaces

Configuring IEEE 802.3ad Link Bundling and Load Balancing

Configuring Port-Based Traffic Control

Providing Connectivity Using ATM Routed Bridge Encapsulation over PVCs

BGP-MVPN SAFI 129 IPv6

Using Cisco Discovery Protocol

Configuring VLANs. Understanding VLANs CHAPTER

OSPFv2 Local RIB. Finding Feature Information

Providing Connectivity Using ATM Routed Bridge Encapsulation over PVCs

Configuring VLANs. Understanding VLANs CHAPTER

Match-in-VRF Support for NAT

Configuring VLANs. Finding Feature Information. Prerequisites for VLANs

Configuring the PPPoE Intermediate Agent

IEEE 802.1ah on Provider Backbone Bridges

Configuring the Cisco Discovery Protocol

Per-User ACL Support for 802.1X/MAB/Webauth Users

IPv6 Snooping. Finding Feature Information. Restrictions for IPv6 Snooping

Using the Command-Line Interface

Configuring Control-Plane Security

Configuring LLDP, LLDP-MED, and Location Service

mls qos (global configuration mode)

Configuring the Cisco IOS XE DHCP Server

BGP Event-Based VPN Import

Transcription:

CHAPTER 14 This chapter discusses the IP Unnumbered Interface feature, which allows you to enable IP processing on an interface without assigning an explicit IP address. This chapter contains these sections: Overview of IP Unnumbered Support, page 14-2 Limitations and Restrictions, page 14-4 Support with DHCP Server, page 14-5 Support with Connected Host Polling, page 14-7 Displaying IP Unnumbered Interface Settings, page 14-8 Troubleshooting IP Unnumbered, page 14-9 Note For complete syntax and usage information for the switch commands used in this chapter, refer to the Catalyst 4500 Series Switch Cisco IOS Command Reference and related publications at this location: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122sr/cr/index.htm 14-1

Overview of IP Unnumbered Support Chapter 14 Related Documents Related Topic DHCP and other IP addressing configuration tasks DHCP and other IP addressing commands VLAN configuration tasks VLAN configuration commands Document Title IP Addressing and Services section of the Cisco IOS IP Addressing Services Configuration Guide, Release 12.4 Cisco IOS IP Addressing Services Command Reference, Release 12.4 T Virtual LANs chapter of the Cisco IOS LAN Switching Configuration Guide, Release 12.4 Cisco IOS LAN Switching Command Reference, Release 12.4 T Overview of IP Unnumbered Support Before you configure VLANs and LAN interfaces with IP unnumbered interfaces, you should understand the following concepts: IP Unnumbered Interface Support with DHCP Server and Relay Agent, page 14-2 IP Unnumbered with Connected Host Polling, page 14-4 IP Unnumbered Interface Support with DHCP Server and Relay Agent The IP unnumbered interface configuration allows you to enable IP processing on an interface without assigning it an explicit IP address. The IP unnumbered interface can borrow the IP address from another interface that is already configured on the Catalyst 4500 series switch, thereby conserving network and address space. When employed with the DHCP server/relay agent, this feature allows a host address assigned by the DHCP server to be learned dynamically at the DHCP relay agent. Figure 14-1 shows a sample network topology implementing the IP Unnumbered Interface feature. In this topology, IP routes are dynamically established by the aggregation switch when the DHCP server assigns IP addresses to the hosts. 14-2

Chapter 14 Overview of IP Unnumbered Support Figure 14-1 Sample Network Topology Using the VLANs over IP Unnumbered Interfaces Feature DSL access multiplexer with Gigabit Ethernet (GE) uplink DHCP server DSL DSL GE DSL DSL DSL GE Multilayer Ethernet switch GE IP unnumbered interface Aggregation router GE IP/MPLS 802.1Q VLAN 95961 DHCP Option 82 DHCP provides a framework for passing configuration information to hosts on a TCP/IP network. Configuration parameters and other control information are carried in tagged data items that are stored in the options field of the DHCP message. The data items are also called options. Option 82 is organized as a single DHCP option that contains information known by the relay agent. The IP Unnumbered Interface feature communicates information to the DHCP server using a suboption of the DHCP relay agent information option called agent remote ID. The information sent in the agent remote ID includes an IP address identifying the relay agent and information about the interface and the connection over which the DHCP request entered. The DHCP server can use this information to make IP address assignments and security policy decisions. Figure 14-2 shows the agent remote ID suboption format that is used with the IP Unnumbered Interfaces feature. Figure 14-2 Format of the Agent Remote ID Suboption 1 12 bytes Type (byte 1) Length (byte 2) Reserved (bytes 3-4) NAS IP address (bytes 5-8) Interface (byte 9) Reserved (byte 10) VLAN ID (bytes 11-12) 103088 Table 14-1 describes the agent remote ID suboption fields displayed in Figure 14-2. 14-3

Limitations and Restrictions Chapter 14 Table 14-1 Agent Remote ID Suboption Field Descriptions Field Type Length Reserved NAS IP Address Interface Reserved VLAN ID Description Format type. The value 2 specifies the format for use with this feature. (1 byte) Length of the Agent Remote ID suboption, not including the type and length fields. (1 byte) Reserved. (2 bytes) IP address of the interface specified by the ip unnumbered command. (4 bytes) Physical interface. This field has the following format: slot (4 bits) module (1 bit) port (3 bits). For example, if the interface name is interface ethernet 2/1/1, the slot is 2, the module is 1, and the port is 1. (1 byte) Reserved. (1 byte) VLAN identifier for the Ethernet interface. (2 bytes) IP Unnumbered with Connected Host Polling Note This feature option is applicable to LAN and VLAN interfaces only. In some cases, the host IP address is assigned statically. The IP Unnumbered Interfaces feature can learn the static host IP address dynamically. Limitations and Restrictions Limitations and restrictions include: For IP unnumbered interfaces, the following features are not supported: Dynamic routing protocols HSRP/VRRP Static arp Unnumbered interface and Numbered interface in different VRFs The option to add dhcp host routes as connected routes is available in Cisco IOS. When using connected mode, however, the clear ip route * command deletes the dhcp host connected routes permanently. Workarounds: For a layer 3 interface (SVI), enter shut then no shut. To enable IP unnumbered to use static routes, enter the ip dhcp route static command. IP Redirect is not sent by an interface configured with IP unnumbered. (CSCse75660). An IP unnumbered interface is unable to forward multicast source packets. (CSCse61766) 14-4

Chapter 14 Support with DHCP Server Support with DHCP Server Note DHCP must be configured and operational. This section contains the following procedures: Support on LAN and VLAN Interfaces, page 14-5 Support on a Range of Ethernet VLANs, page 14-6 Support on LAN and VLAN Interfaces SUMMARY STEPS DETAILED STEPS To configure IP unnumbered interface support on a single LAN or VLAN interface, perform this task. 1. enable 2. configure terminal 3. interface [fastethernet gigabitethernet tengigabitethernet vlan vlan} port-channel loopback] 4. ip unnumbered type number Command Purpose Step 1 Switch# enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 Switch# configure terminal Enters global configuration mode. Step 3 Switch(config)# interface [fastethernet gigabitethernet tengigabitethernet vlan vlan port-channel loopback] Enters interface configuration mode and the interface to be configured as a tunnel port. Step 4 Switch(config-if)# ip unnumbered type number Enables IP processing on an interface without assigning an explicit IP address to the interface. The type and number arguments specify another interface on which the switch has an assigned IP address. The interface specified cannot be another unnumbered interface. Step 5 Switch(config-if)# exit Returns to global configuration mode. Step 6 Switch(config)# end Returns to privileged EXEC mode. Step 7 Switch# show running-config Verifies that IP unnumbered support has been configured correctly. In the following example, Ethernet VLAN 10 is configured as an IP unnumbered interfaces: Switch> enable Switch# configure terminal 14-5

Support with DHCP Server Chapter 14 Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# interface vlan 10 Switch(config-if)# ip unnumbered Lookback 0 Support on a Range of Ethernet VLANs SUMMARY STEPS DETAILED STEPS To configure IP unnumbered interface support on a range of Ethernet VLAN interfaces, perform this task. 1. enable 2. configure terminal 3. interface range {{fastethernet gigabitethernet vlan vlan} slot/interface {fastethernet gigabitethernet vlan vlan} slot/interface macro macro-name} 4. ip unnumbered type number Command or Action Purpose Step 1 Switch# enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 Switch# configure terminal Enters global configuration mode. Step 3 Switch(config)# interface range {{fastethernet gigabitethernet vlan vlan} slot/interface {fastethernet gigabitethernet vlan vlan} slot/interface macro macro-name} Executes commands on multiple interfaces at the same time. A hyphen must be entered with a space on either side to separate the range information. Step 4 Switch(config-if)# ip unnumbered type number Enables IP processing on an interface without assigning an explicit IP address to the interface. The type and number arguments specify another interface on which the switch has an assigned IP address. The specified interface cannot be another unnumbered interface. Step 5 Switch(config-if)# exit Returns to global configuration mode. Step 6 Switch(config)# end Returns to privileged EXEC mode. Step 7 Switch# show running-config Verifies that IP unnumbered support has been configured correctly. In the following example, Vlan in the range from 1 to 10 are configured as IP unnumbered interfaces, sharing ip address of fastethernet 3/1: Switch> enable Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# interface range vlan 1-10 Switch(config-if)# ip unnumbered fastethernet 3/1 Switch(config-if)# exit Switch(config)# end 14-6

Chapter 14 Support with Connected Host Polling Support with Connected Host Polling To configure IP unnumbered interface support with connected host polling, perform this task: Command Purpose Step 1 Switch# enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 Switch# configure terminal Enters global configuration mode. Step 3 Switch(config)# interface vlan vlan-id Enters interface configuration mode and the interface to be configured as a tunnel port. Step 4 Switch(config-if)# ip unnumbered type number poll Enables IP processing and connected host polling on an interface without assigning an explicit IP address to the interface type and number specify another interface on which the switch has an assigned IP address. The interface specified cannot be another unnumbered interface. The type argument can have the values: loopback, fastethernet, gigabitethernet, svi, and portchannel. Step 5 Switch(config-if)# exit Returns to global configuration mode. Step 6 Switch(config)# ip arp poll queue <10-10000> Configures the global backlog queue of host addresses to be discovered. Default for the queue size is 1000 Step 7 Switch(config)# ip arp poll rate <10-10000> Configures the maximum number of arp requests sent over unnumbered interfaces. Default number of arp requests is 1000 packet per second Step 8 Switch(config)# end Returns to privileged EXEC mode. Step 9 Switch# show running-config Verifies that IP unnumbered support has been configured correctly. The following example shows how to enable IP processing and connected host polling on Fast Ethernet interface 6/2. It also shows how to set the global backlog queue to 2000 and the maximum number of arp requests to 500: Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# interface fastethernet 6/2 Switch(config-if)# no switchport Switch(config-if)# ip unnumbered loopback 0 poll Warning: dynamic routing protocols will not work on non-point-to-point interfaces with IP unnumbered configured. Switch(config-if)# exit Switch(config)# ip arp poll queue 2000 Switch(config)# ip arp poll rate 500 Switch(config)# end 14-7

Displaying IP Unnumbered Interface Settings Chapter 14 Displaying IP Unnumbered Interface Settings Use the show ip interface [type number] unnumbered [detail] command to display status of an unnumbered interface with connected host polling for the switch. To display status of an unnumbered interface, perform one or more of these tasks: Command Switch# show ip interface [type number] unnumbered [detail] Purpose Displays the status of unnumbered interface with connected host polling for the Catalyst 4500 series switch. The following example shows how to display the status of unnumbered interface with connected host polling: Switch# show ip interface loopback 0 unnumbered detail Number of unnumbered interfaces with polling: 1 Number of IP addresses processed for polling: 2 10.1.1.7 10.1.1.8 Number of IP addresses in queue for polling: 2(high water mark: 3) 10.1.1.17 10.1.1.18 To display key statistic for the backlog of unnumbered interface with connected host polling for the switch, use the show ip arp poll command. Command Switch# show ip arp poll [detail] Purpose display key statistic for the backlog of unnumbered interface with connected host polling for the switch The following example shows how to display key statistic for the backlog of unnumbered interface with connected host polling: Switch# show ip arp poll Number of IP addresses processed for polling: 439 Number of IP addresses in queue for polling: 3 (high water mark: 0, max: 1000) Number of requests dropped: Queue was full: 0 Request was throttled by incomplete ARP: 0 Duplicate request was found in queue: 0 To clear the key statistic for the backlog of unnumbered interface, use the clear ip arp poll statistic command, as follows: Switch# clear ip arp poll statistic Switch# show ip arp poll Number of IP addresses processed for polling: 0 Number of IP addresses in queue for polling: 0 (high water mark: 0, max: 1000) Number of requests dropped: Queue was full: 0 Request was throttled by incomplete ARP: 0 Duplicate request was found in queue: 0 14-8

Chapter 14 Troubleshooting IP Unnumbered Troubleshooting IP Unnumbered To understand how to debug connect host polling, see the IOS documentation of the debug arp command on cisco.com. When an IP unnumbered interface shares the IP address of a loopback interface whose prefix is advertised in an OSPF network, you must modify the loopback interface as a point to point interface. Otherwise, only the loopback interface host route will be advertised to an OSPF neighbor. Switch(config)# int loopback 0 Switch(config-if)# ip address Switch(config-if)# ip address 10.1.0.1 255.255.0.0 Switch(config-if)# ip ospf network point-to-point Switch(config-if)# end 14-9

Troubleshooting IP Unnumbered Chapter 14 14-10