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:
Using either Telnet or terminal emulation, establish a connection with the router.
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.
Next, enter privileged mode by entering the following command at the console prompt:
Router>
EnableIf prompted for the enable password, enter it now. The prompt now looks like the following:
Router#
To enter configuration mode, the
configterminalcommand must be used. Theconfigterminalcommand executes commands entered at the router prompt. Enterconfigterminalat the prompt:Router#
config terminalEnter configuration commands, one per line. End ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access