Thursday, February 4, 2010

DHCP Server

Using a Cisco router as a DHCP server can simplify a network configuration by cetralizing DHCP services in a large network or decentralizing DHCP services to the endpoint routers at satellite locations. The ease of remote management of Cisco-based DHCP services is a great advantage.
conf tservice dhcpip dhcp pool 192.168.1.0/24network 192.168.1.0 255.255.255.0default-router 192.168.1.1dns-server 192.168.1.5 192.168.1.6exitip dhcp excluded-address 192.168.1.1 192.168.1.199ip dhcp excluded-address 192.168.1.241 192.168.1.255^Z
This example shows a Cisco router configuration as a basic DHCP server in the 192.168.1.0/24 network. The DHCP options implemented are default-router (DHCP option 3) and dns-server (DHCP option 6). Two DNS servers are configured. With the excluded-address commands, using only ip addresses between 192.168.1.200-192.168.1.240 will be available for client use.

No comments:

Post a Comment