Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

DHCP

Hi,

Can anybody send the configuration for converting a Router in to DHCP Server and how to configure the Scopes(for each vlan seprate subnets) in router? Pls help me.

Thanks &Regards,

Sham

3 REPLIES

Re: DHCP

Hi Sham,

You can configure a DHCP server with the following commands:

(The ip addresses are just examples).

conf t

service dhcp (this is on by default)

ip dhcp pool VLAN_1

network 10.1.1.0 /24 (this command configures the address range for hosts in vlan 1. )

lease 1 (This command determines the lease time of the ip address in days)

default-router 10.1.1.1 (You can set the default gateway for the hosts on the subnet)

dns-server 192.168.1.1 (You can set the domain name server for the hosts on the subnet)

exit

This way you can specify many different pools for the different vlans.

Don't forget to configure the clients to use dhcp for getting their ip address.

Cheers:

Istvan

Blue

Re: DHCP

Istvan, nice post, buddy. I gave it a 5. :-)

Re: DHCP

Hi Victor,

Thank you for the rating!

Actually this was an easy one.

I saw you can solve quite complex problems as well.

Congrats!

Cheers:

Istvan

95
Views
19
Helpful
3
Replies
CreatePlease to create content