Cisco Cisco IOS Software Release 12.2(13)T

Page de 56
 
      Cisco Easy VPN Remote Feature
Configuration Tasks
13
Cisco IOS Release 12.2(13)T
Note
The ip dhcp pool command supports a number of options for configuring the DHCP server pool. These 
other options are typically not needed for a Cisco Easy VPN Remote configuration. 
Verifying the DHCP Server Pool
To verify that the DHCP server pool has been correctly configured, use the following procedure. 
Step 1
Use the show ip dhcp pool command in Privileged EXEC mode to display the server pools that have 
been created:
Router# show ip dhcp pool 
Step 3
Router(dhcp-config)# default-router 
address
 [
address2
 ... 
address8
Specifies the IP address of the default router for a DHCP client. 
You must specify at least one address. You can optionally specify 
additional addresses, up to a total of eight addresses per 
command. 
Tip
The first IP address for the default-router option should 
be the IP address that is assigned to the router’s Ethernet 
address. 
Step 4
Router(dhcp-config)# import all 
Imports the following DHCP option parameters from a central 
DHCP server into the router’s local DHCP database:
Domain Name 
DNS Server 
NetBIOS WINS Server 
Note
This option requires that a central DHCP server be 
configured to provide the DHCP options. The central 
DHCP server should be on the same subnet as was 
configured using the network option. (On Cisco IOS 
routers, this is done using the ip dhcp database 
command.)  If you are using the PPP/IPCP protocol on the 
WAN interface, or the client on the WAN interface 
supports the Easy IP feature, the central DHCP server can 
be on a different subnet or network. 
Note
You can also specify the DHCP option parameters manually by using the domain-namedns-server, and 
netbios-name-server options but this is not recommended. Almost all installations should use the import 
all
 option to ensure that the router is configured with the proper DHCP parameters. 
Step 5
Router(dhcp-config)# lease {days 
  [hours][minutes] | infinite
(Optional) Specifies the duration of the DHCP lease. The default 
is a one-day lease.
Step 6
Router(dhcp-config)# exit 
Leaves DHCP pool configuration mode. 
Step 7
Router(config)# ip dhcp excluded-address 
lan-ip-address 
Excludes the specified IP address from the DHCP server pool. 
The lan-ip-address should be the IP address assigned to the 
router’s LAN interface (for example, the Ethernet0 on the 
Cisco uBR905/uBR925 routers and FastEthernet0 on the 
Cisco 1700 series routers). 
Command
Purpose