Configuring Cisco Routers

In large routed network environments, routers are used to direct IP packets between different subnets. As such, routers are perfect candidates to be DHCP relay agents.

In this section, I will explain how to configure a Cisco router to act as a DHCP relay agent. Although there are other manufacturers of routing equipment, I am describing this configuration because Cisco is the de facto standard in routers. To configure other routers, please refer to the product documentation.

Warning

There are many aspects to correctly configuring a Cisco router. This book describes the configuration of the DHCP relay agent. Please see other O’Reilly books for more information on configuring Cisco routers.

The following configuration is based on a Cisco Systems 2500 router using the Cisco IOS Release 12.0:

  1. Using either Telnet or terminal emulation, establish a connection with the router.

  2. If prompted for a password, enter it now.

    At this point, the router is in user mode. User mode can be used to get basic information about the router.

  3. Next, enter privileged mode by entering the following command at the console prompt:

    Router> Enable
  4. If prompted for the enable password, enter it now. The prompt now looks like the following:

    Router#
  5. To enter configuration mode, the config terminal command must be used. The config terminal command executes commands entered at the router prompt. Enter config terminal at the prompt:

    Router# config terminal Enter configuration commands, one per line. End ...

Get DHCP for Windows 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.