Lab B.3.8: 700 Series Router - DHCP Server

Objectives:

  • Configure the DHCP server on Cisco 700 series router.

Scenario:

Configure the Cisco 700 series router to dial an IOS router using PPP encapsulation and authenticate with CHAP. Then configure the DHCP server with a pool of 50 addresses.

Notes: 

Lab Tasks:

  1. Cable the lab as shown in the diagram.
  2. Configure the Cisco 700 series router. You may need to do a set default command to erase the existing configuration on the router.

    Set the hostname of the router:

    >set system BranchRouter

    Set the ISDN switch type and the SPIDs:

    BranchRouter>set switch ni-1

    BranchRouter>set 1 spid 51055512340001
    BranchRouter>set 2 spid 51055512350001
    BranchRouter>set number 5554000

    Set the Ethernet port settings:

    BranchRouter>cd lan
    BranchRouter:LAN>set ip address 192.168.1.1
    BranchRouter:LAN>set ip netmask 255.255.255.0
    BranchRouter:LAN>set ip routing on
    BranchRouter:LAN>set bridging off
    BranchRouter:LAN>cd

    Create and set the parameters for the central router profile:

    BranchRouter>set user CentralRouter
    BranchRouter:CentralRouter>set ip address 192.168.3.1
    BranchRouter:CentralRouter>set ip netmask 255.255.255.0
    BranchRouter:CentralRouter>set ip routing on
    BranchRouter:CentralRouter>set ip route dest 0.0.0.0/0 gateway 192.168.3.2
    BranchRouter:CentralRouter>set bridging off
    BranchRouter:CentralRouter>cd

    Set the PPP authentication to CHAP and set the client password:

    BranchRouter>set ppp authentication out chap
    BranchRouter>set ppp authentication in chap

    BranchRouter>set ppp secret client
    Enter net Password: phoenix
    Re-Type new Password: phoenix

    Set the host password:

    BranchRouter>cd CentralRouter
    BranchRouter:CentralRouter>set ppp secret host
    Enter net Password: phoenix
    Re-Type new Password: phoenix

    Set CentralRouter as your active profile:

    BranchRouter>set active CentralRouter

  3. Configure the DHCP server on the branch router.

    BranchRouter>set dhcp server
    BranchRouter>set dhcp address 192.168.1.2 50
    BranchRouter>set dhcp netmask 255.255.255.0
    BranchRouter>set dhcp gateway primary 192.168.1.1

    Plug a client workstation into the branch router Ethernet network and test the DHCP sever.

    How many IP addresses are defined in this pool?


  4. Configure the central site IOS router to accept in coming PPP calls and force CHAP authentication.

    CentralRouter(config)#interface BRI0/0
    CentralRouter(config-if)#ip address 192.168.3.2 255.255.255.0
    CentralRouter(config-if)#encapsulation ppp
    CentralRouter(config-if)#dialer map ip 192.168.3.1 name BranchRouter 5551234
    CentralRouter(config-if)#dialer-group 1
    CentralRouter(config-if)#isdn switch-type basic-ni
    CentralRouter(config-if)#isdn spid1 51055540000001 5554000
    CentralRouter(config-if)#isdn spid2 51055540010001 5554001
    CentralRouter(config-if)#ppp authentication chap
    CentralRouter(config)#dialer-list 1 protocol ip permit

  5. Configure a static route to the Ethernet network connected to the 700 series branch router.

    CentralRouter(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.1
  6. From the workstation that is attached to the Cisco 700 series router, try to ping the central site Ethernet - 192.168.2.1. If all is working correctly, you should be able to ping this successfully.
  7. What command can you use on the Cisco 700 series router to display the status of the DHCP server on the router?