Table Of Contents
DMVPN Configuration Using FQDN
Finding Feature Information
Contents
Prerequisites for DMVPN Configuration Using FQDN
Restrictions for DMVPN Configuration Using FQDN
Information About DMVPN Configuration Using FQDN
DNS Functionality
DNS Server Deployment Scenarios
How to Configure DMVPN Configuration Using FQDN
Configuring a DNS Server on a Spoke
Configuring a DNS Server
Configuring an FQDN with a Protocol Address
Configuring a FQDN Without an NHS Protocol Address
Verifying DMVPN FQDN Configuration
Configuration Examples for DMVPN Configuration Using FQDN
Example: Configuring a Local DNS Server
Example: Configuring an External DNS Server
Example: Configuring NHS with a Protocol Address and an NBMA Address
Example: Configuring NHS with a Protocol Address and an FQDN
Example: Configuring NHS Without a Protocol Address and with an NBMA Address
Example: Configuring NHS Without a Protocol Address and with an FQDN
Additional References
Related Documents
Standards
MIBs
RFCs
Technical Assistance
Feature Information for DMVPN Configuration Using FQDN
DMVPN Configuration Using FQDN
First Published: July 9, 2010
Last Updated: July 9, 2010
The DMVPN Configuration Using FQDN feature enables next hop clients (NHCs) to register with the next hop server (NHS).
This feature allows you to configure a fully qualified domain name (FQDN) for the nonbroadcast multiple access network (NBMA) address of the hub (NHS) on the spokes (NHCs). The spokes resolve the FQDN to IP address using the DNS service and get registered with the hub using the newly resolved address. This allows spokes to dynamically locate the IP address of the hub using FQDN.
With this feature, spokes need not configure the protocol address of the hub. Spokes learn the protocol address of the hub dynamically from the NHRP registration reply of the hub. According to RFC 2332, the hub to which the NHRP registration was sent responds with its own protocol address in the NHRP registration reply and hence the spokes learn the protocol address of the hub from the NHRP registration reply packet.
In Cisco IOS Release 15.1(2)T and earlier releases, in Dynamic Multipoint VPN (DMVPN), NHS NBMA addresses were configured with either IPv4 or IPv6 addresses. Because NHS was configured to receive a dynamic NBMA address, it was difficult for NHCs to get the updated NBMA address and register with the NHS. This limitation is addressed with the DMVPN Configuration Using FQDN feature. This feature allows NHC to use an FQDN instead of an IP address to configure NBMA and register with the NHS dynamically.
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for DMVPN Configuration Using FQDN" section.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for DMVPN Configuration Using FQDN
•
Restrictions for DMVPN Configuration Using FQDN
•
Information About DMVPN Configuration Using FQDN
•
How to Configure DMVPN Configuration Using FQDN
•
Configuration Examples for DMVPN Configuration Using FQDN
•
Additional References
•
Feature Information for DMVPN Configuration Using FQDN
Prerequisites for DMVPN Configuration Using FQDN
Cisco IOS Domain Name System (DNS) client must be available on the spoke.
Restrictions for DMVPN Configuration Using FQDN
If the NBMA IP address resolved from the FQDN is not mapped to an NHS configured with the protocol address, the spoke cannot register with the hub.
Information About DMVPN Configuration Using FQDN
•
DNS Functionality
•
DNS Server Deployment Scenarios
DNS Functionality
A Domain Name System (DNS) client communicates with a DNS server to translate a hostname to an IP address.
The intermediate DNS server or the DNS client on the route enters the FQDN DNS reply from the DNS server into the cache for a lifetime. If the DNS client receives another query before the lifetime expires, the DNS client uses the entry information from the cache. If the cache expires, the DNS client queries the DNS server. If the NBMA address of the NHS changes frequently, the DNS entry lifetime must be short, otherwise the spokes may take some time before they start using the new NBMA address for the NHS.
DNS Server Deployment Scenarios
A DNS server can be located either in a hub network or outside a hub and spoke network.
Following are the four DNS server load balancing models:
•
Round robin—Each DNS request is assigned an IP address sequentially from the list of IP addresses configured for an FQDN.
•
Weighted round robin—This is similar to round-robin load balancing except that the IP addresses are assigned weights and nodes, where higher weights can take more load or traffic.
•
Geography or network—Geography-based load balancing allows the requests to be directed to the optimal node that is geographically the nearest or the most efficient to the requester.
•
Failover—Failover load balancing sends all requests to a single host until the load balancer determines a particular node to be no longer available. It then directs traffic to the next node available in the list.
How to Configure DMVPN Configuration Using FQDN
•
Configuring a DNS Server on a Spoke (optional)
•
Configuring a DNS Server (optional)
•
Configuring an FQDN with a Protocol Address (required)
•
Configuring a FQDN Without an NHS Protocol Address (required)
•
Verifying DMVPN FQDN Configuration (optional)
Configuring a DNS Server on a Spoke
Perform this task to configure a DNS server on a spoke. You must perform this task only if you want to resolve FQDN using an external DNS server.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip name-server ip-address
4.
exit
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
• Enter your password if prompted.
|
Step 2
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3
|
ip name-server ip-address
Example:
Router(config)# ip name-server 192.0.2.1
|
Configures a DNS server on a spoke.
|
Step 4
|
exit
Example:
Router(config)# exit
|
Exits global configuration mode.
|
Configuring a DNS Server
Perform this task to configure a DNS server. You must perform the configuration on a DNS server.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip dns server
4.
ip host hostname ip-address
5.
exit
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
• Enter your password if prompted.
|
Step 2
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3
|
ip dns server
Example:
Router(config)# ip dns server
|
Enables a DNS server.
|
Step 4
|
ip host hostname ip-address
Example:
Router(config)# ip host host1.example.com
192.0.2.2
|
Maps a FQDN (hostname) with the IP address in the DNS hostname cache for a DNS view.
Note Configure the ip host command on a DNS server if you have configured a DNS server on the spoke and configure the command on the spoke if you have not configured a DNS server on the spoke. See the "Configuring a DNS Server on a Spoke" section.
|
Step 5
|
exit
Example:
Router(config)# exit
|
Exits global configuration mode.
|
Configuring an FQDN with a Protocol Address
Perform this task to configure an FQDN with a protocol address. You must know the protocol address of the NHS while you are configuring the FQDN. This configuration registers spoke to a hub using NBMA.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface tunnel number
4.
ip nhrp nhs nhs-address [nbma {nbma-ipaddress | FQDN-string}] [multicast] [priority value] [cluster number]
5.
end
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
• Enter your password if prompted.
|
Step 2
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3
|
interface tunnel number
Example:
Router(config)# interface tunnel 1
|
Enters interface configuration mode.
|
Step 4
|
ip nhrp nhs nhs-address [nbma {nbma-address |
FQDN-string}] [multicast] [priority value]
[cluster number]
Example:
Router(config-if)# ip nhrp nhs 192.0.2.1 nbma
examplehub.example1.com multicast
|
Registers a spoke to a hub.
• You can configure the command in the following two ways:
– ip nhrp nhs protocol-ipaddress nbma FQDN-string—Use this command to register spoke to a hub using the FQDN string.
– ip nhrp nhs protocol-ipaddress nbma nbma-ipaddress—Use this command to register spoke to a hub using the NHS NBMA IP address.
Note You can use the ipv6 nhrp nhs protocol-ipaddress [nbma {nhs-ipaddress | FQDN-string}] [multicast] [priority value] [cluster number] command for registering IPv6 address.
|
Step 5
|
end
Example:
Router(config-if)# end
|
Exits interface configuration mode and returns to privileged EXEC mode.
|
Configuring a FQDN Without an NHS Protocol Address
Perform this task to configure an FQDN without an NHS protocol address.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface tunnel number
4.
ip nhrp nhs dynamic nbma {nbma-address | FQDN-string} [multicast] [priority value] [cluster value]
5.
end
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
enable
Example:
Router> enable
|
Enables privileged EXEC mode.
• Enter your password if prompted.
|
Step 2
|
configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3
|
interface tunnel number
Example:
Router(config)# interface tunnel 1
|
Enters interface configuration mode.
|
Step 4
|
ip nhrp nhs dynamic nbma {nbma-address |
FQDN-string} [multicast] [priority value]
[cluster value]
Example:
Router(config-if)# ip nhrp nhs dynamic nbma
examplehub.example1.com
|
Registers a spoke to a hub.
• The NHS protocol address is dynamically fetched by the spoke. You can configure the command in the following two ways:
– ip nhrp nhs dynamic nbma FQDN-string—Use this command to register a spoke to a hub using the FQDN string.
– ip nhrp nhs dynamic nbma nbma-address—Use this command to register a spoke to a hub using the NHS NBMA IP address.
Note You can use the ipv6 nhrp nhs dynamic nbma {nbma-address | FQDN-string} [multicast] [priority value] [cluster value] command for registering IPv6 address.
|
Step 5
|
end
Example:
Router(config-if)# end
|
Exits interface configuration mode and returns to privileged EXEC mode.
|
Verifying DMVPN FQDN Configuration
This task shows how to display information to verify DMVPN FQDN configuration. The following show commands can be entered in any order.
SUMMARY STEPS
1.
enable
2.
show dmvpn
3.
show ip nhrp nhs
4.
show running-config interface tunnel tunnel-number
5.
show ip nhrp multicast
DETAILED STEPS
Step 1
enable
Enables privileged EXEC mode. Enter your password if prompted.
Step 2
show dmvpn
Displays DMVPN-specific session information.
Legend: Attrb --> S - Static, D - Dynamic, I - Incomplete
N - NATed, L - Local, X - No Socket
# Ent --> Number of NHRP entries with same NBMA peer
NHS Status: E --> Expecting Replies, R --> Responding, W --> Waiting
UpDn Time --> Up or Down Time for a Tunnel
==========================================================================
Interface: Tunnel1, IPv4 NHRP Details
Type:Spoke, NHRP Peers:1,
# Ent Peer NBMA Addr Peer Tunnel Add State UpDn Tm Attrb
----- --------------- --------------- ----- -------- -----
1 192.0.2.1 192.0.2.2 UP 00:00:12 S
Step 3
show ip nhrp nhs
Displays the status of the NHS.
IPv4 Registration Timer: 10 seconds
Legend: E=Expecting replies, R=Responding, W=Waiting
192.0.2.1 RE NBMA Address: 192.0.2.2 (h1.cisco.com) priority = 0 cluster = 0
Step 4
show running-config interface tunnel tunnel-number
Displays the contents of the current running configuration file or the tunnel interface configuration.
Router# show running-config interface tunnel 1
Building configuration...
Current configuration : 462 bytes
ip address 192.0.2.1 255.255.255.0
ip nhrp authentication testing
ip nhrp group spoke_group2
ip nhrp nhs dynamic nbma h1.cisco.com multicast
ip nhrp registration no-unique
ip nhrp registration timeout 10
tunnel source Ethernet0/0
tunnel mode gre multipoint
tunnel protection ipsec profile DMVPN
Step 5
show ip nhrp multicast
Displays NHRP multicast mapping information.
Route# show ip nhrp multicast
Tunnel1 192.0.2.1 Flags: nhs
Configuration Examples for DMVPN Configuration Using FQDN
•
Example: Configuring a Local DNS Server
•
Example: Configuring an External DNS Server
•
Example: Configuring NHS with a Protocol Address and an NBMA Address
•
Example: Configuring NHS with a Protocol Address and an FQDN
•
Example: Configuring NHS Without a Protocol Address and with an NBMA Address
•
Example: Configuring NHS Without a Protocol Address and with an FQDN
Example: Configuring a Local DNS Server
The following example shows how to configure a local DNS server:
ip host host1.example.com 192.0.2.2
Example: Configuring an External DNS Server
The following example shows how to configure an external DNS server:
On a spoke
On a DNS Server
ip host host1.example.com 192.0.2.2
Example: Configuring NHS with a Protocol Address and an NBMA Address
The following example shows how to configure NHS with a protocol address and an NBMA address:
ip nhrp nhs 192.0.2.1 nbma 209.165.200.225
Example: Configuring NHS with a Protocol Address and an FQDN
The following example shows how to configure NHS with a protocol address and an FQDN:
ip nhrp nhs 192.0.2.1 nbma examplehub.example1.com
Example: Configuring NHS Without a Protocol Address and with an NBMA Address
The following example shows how to configure NHS without a protocol address and with an NBMA address:
ip nhrp nhs dynamic nbma 192.0.2.1
Example: Configuring NHS Without a Protocol Address and with an FQDN
The following example shows how to configure NHS without a protocol address and with an FQDN:
ip nhrp nhs dynamic nbma examplehub.example1.com
Additional References
Related Documents
Standards
Standard
|
Title
|
No new or modified standards are supported by this feature and support for existing standards has not been modified by this feature.
|
—
|
MIBs
MIB
|
MIBs Link
|
No new or modified MIBs are supported by this feature, and support for existing MIBs has not been modified by this feature.
|
To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL:
http://www.cisco.com/go/mibs
|
RFCs
RFC
|
Title
|
RFC 2332
|
NBMA Next Hop Resolution Protocol (NHRP)
|
Technical Assistance
Description
|
Link
|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.
|
http://www.cisco.com/cisco/web/support/index.html
|
Feature Information for DMVPN Configuration Using FQDN
Table 1 lists the release history for this feature.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note
Table 1 lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Table 1 Feature Information for DMVPN Configuration Using FQDN
Feature Name
|
Releases
|
Feature Information
|
DMVPN Configuration Using FQDN
|
15.1(2)T
|
The DMVPN Configuration Using FQDN feature enables the NHC to register with the NHS. It uses the NHRP without using the protocol address of the NHS.
The following commands were introduced or modified: clear dmvpn session, debug nhrp condition, ip nhrp nhs,and ipv6 nhrp nhs.
|
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
© 2010 Cisco Systems, Inc. All rights reserved.