cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable

How do you set up a DHCP pool?

Jump to solution

How do you set up a DHCP pool?

0 Kudos
1 Solution

Accepted Solutions
Anonymous
Not applicable

Re: How do you set up a DHCP pool?

Jump to solution

travisrigby:

Thank you for asking this question on the Support Community.  Specific information and details are explained in the Configuring DHCP in AOS document.

Step 1: Create a DHCP Pool

You should create a DHCP pool for each subnet that connects directly to the AOS product and for which you want the router to act as a DHCP server.  Use the following command to create the pool:

ROUTER-NAME(config)# ip dhcp-server pool <poolname>

Note: The command-line interface (CLI) displays “Configuring New Pool <poolname>” and moves you into the DHCP server pool configuration mode. You can also edit a pool with the same command. The CLI displays “Configuring Existing Pool <poolname>.”

Step 2: Create the Network Address Pool

You assign the DHCP server address pool a subnet by specifying the network address and subnet mask:

ROUTER-NAME(config-dhcp)# network <ip address> <subnet mask | /prefix length>

For example, specify a private class C subnet:

ROUTER-NAME(config-dhcp)# network 192.168.1.0 255.255.255.0

Step 3:  Assign the Default Gateway

A DHCP pool’s default gateway, or default router, is the interface through which the clients for the pool connect. This interface is almost always an Ethernet or VLAN interface.  You specify a pool’s default gateway by entering the connected interface’s IP address in the DHCP pool configuration mode:

ROUTER-NAME(config-dhcp)# default-router <ip address>

Step 4: Assign the DNS Server

A DNS server tracks the IP addresses associated with specific hostnames. It translates a hostname into its IP address in response to requests from DNS clients. Clients need a DNS server so that users can enter hostnames to reach other hosts and browse the Internet. You should designate at least one DNS server for the DHCP client by entering the following command:

ROUTER-NAME(config-dhcp)#  dns-server <ip address> [<secondary ip address>]

Note: You may specify an optional secondary DNS server by adding a second IP address. For example:

ROUTER-NAME (config-dhcp)# dns-server 192.168.1.25 15.3.1.20


I hope that makes sense, but please reply if you have additional questions related to this topic.


Levi

View solution in original post

0 Kudos
3 Replies
Anonymous
Not applicable

Re: How do you set up a DHCP pool?

Jump to solution

travisrigby:

Thank you for asking this question on the Support Community.  Specific information and details are explained in the Configuring DHCP in AOS document.

Step 1: Create a DHCP Pool

You should create a DHCP pool for each subnet that connects directly to the AOS product and for which you want the router to act as a DHCP server.  Use the following command to create the pool:

ROUTER-NAME(config)# ip dhcp-server pool <poolname>

Note: The command-line interface (CLI) displays “Configuring New Pool <poolname>” and moves you into the DHCP server pool configuration mode. You can also edit a pool with the same command. The CLI displays “Configuring Existing Pool <poolname>.”

Step 2: Create the Network Address Pool

You assign the DHCP server address pool a subnet by specifying the network address and subnet mask:

ROUTER-NAME(config-dhcp)# network <ip address> <subnet mask | /prefix length>

For example, specify a private class C subnet:

ROUTER-NAME(config-dhcp)# network 192.168.1.0 255.255.255.0

Step 3:  Assign the Default Gateway

A DHCP pool’s default gateway, or default router, is the interface through which the clients for the pool connect. This interface is almost always an Ethernet or VLAN interface.  You specify a pool’s default gateway by entering the connected interface’s IP address in the DHCP pool configuration mode:

ROUTER-NAME(config-dhcp)# default-router <ip address>

Step 4: Assign the DNS Server

A DNS server tracks the IP addresses associated with specific hostnames. It translates a hostname into its IP address in response to requests from DNS clients. Clients need a DNS server so that users can enter hostnames to reach other hosts and browse the Internet. You should designate at least one DNS server for the DHCP client by entering the following command:

ROUTER-NAME(config-dhcp)#  dns-server <ip address> [<secondary ip address>]

Note: You may specify an optional secondary DNS server by adding a second IP address. For example:

ROUTER-NAME (config-dhcp)# dns-server 192.168.1.25 15.3.1.20


I hope that makes sense, but please reply if you have additional questions related to this topic.


Levi

0 Kudos
Anonymous
Not applicable

Re: How do you set up a DHCP pool?

Jump to solution

travisrigby:

I have marked this post as "assumed answered," but do not hesitate to reply to this thread if you have further questions on this topic.  I will be happy to help.

Levi

Anonymous
Not applicable

Re: How do you set up a DHCP pool?

Jump to solution

I went ahead and flagged the "Correct Answer" on this post to make it more visible and help other members of the community find solutions more easily. If you don't feel like the answer I marked was correct, feel free to come back to this post and unmark it and select another in its place with the applicable buttons.  If you still need assistance, we would be more than happy to continue working with you on this - just let us know in a reply.

Thanks,

Noor