DHCP Server with IPCP Negotiation Example
Cisco 765 Series Router Commands
Following are the commands for configuring the remote Cisco 765 series router as a DHCP server with IPCP negotiation with a Cisco 4500 router:
set switch
set 1 spid 88855512110101 set 2 spid 88855512120101 set system 765
set dhcp server
set dhcp address 172.168.1.2 128 set dhcp netmask 255.255.255.0
set dhcp gateway primary 172.168.1.1 cd lan
set ip address 172.168.1.1 set ip netmask 255.255.255.0 set ip routing on
set user 4500
set ip routing on set active
set 1 number phone_number set 2 number phone_number set ip routing on
set ip rip version 2 set ip rip receive v2
set ppp address negotiation local on set ip rip update periodic
reboot
For detailed information regarding the commands listed here, refer to the Cisco 700 Series Router Command Reference.
Verify the Configuration
When a call is made, you can use the show ip configuration all and show ip route all commands to see the IPCP negotiation address.
You can use the show dhcp configuration command to see the IP address returned by DHCP.