Cisco Systems UBR924 Network Router User Manual


 
3-5
Cisco uBR924 Software Configuration Guide
OL-0337-05 (8/2002)
Chapter 3 Advanced Data-Only Configurations
Routing with DHCP Server
To verify that the DHCP server is enabled, enter the show startup-config command. A sample
configuration file for a Cisco uBR924 router acting as a DHCP server is shown below. The relevant
commands are shown in bold.
version 12.1
service config
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
clock timezone - 4
ip subnet-zero
!
ip dhcp pool Clients
network 192.168.100.0 255.255.255.0
domain-name cisco.com
dns-server 192.168.100.17
default-router 192.168.101.1
!
voice-port 0
!
voice-port 1
!
interface Ethernet0
ip address 192.168.100.1 255.255.0.0
no ip directed-broadcast
ip rip send version 2
ip rip receive version 2
!
interface cable-modem0
ip address dhcp
no ip directed-broadcast
ip rip send version 2
ip rip receive version 2
no cable-modem compliant bridge
!
router rip
version 2
network 10.0.0.0
network 192.168.100.0
!
ip classless
no ip http server
no service finger
!
!
line con 0
transport input none
line vty 0 4
!
end
Note The above configuration assumes that the DHCP server assigns an IP address to the cable interface that
is in the class A private network (10.0.0.0).