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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Using cisco router as dhcp gateway

hello,

I have a cisco 3825 router. On the f0/1 interface:

int f0/1

ip address 198.11.2.1 255.255.255.128

ip address 203.11.1.1 255.255.255.192 secondary

!

I have defined a dhcp ip pool based on this 2 subnets. However, I found out that the secondary will never be used even though the primary pool was full!!

Can I know whether there is any command that I need to turn on in order to let the router to assign the ip pool based on secondary ip subnet?

  • WAN Routing and Switching
2 REPLIES
New Member

Re: Using cisco router as dhcp gateway

Hi,

I think Your option of making the second pool to work when the primary DHCP pool fulfilled will not work, But you can try the below option to obtain the same.

Create 2 sub interfaces in the f0/1 interface and assign ip address to each sub-interface.

Whereas in your Switch you need to make the port connecting to the router as a trunk port. and configure 2 vlan in the switch say 1 and 2.

Assign switch ports to vlan based on your requirement.

Now your router will release IP's from both pools, based on the port( VLAN ) to which your user connected.

Warm Rgds, Arun

Hall of Fame Super Silver

Re: Using cisco router as dhcp gateway

Hello Chris,

the better solution is probably that suggested by Arun.

I've found a doc that explains that in a scenario like yours the primary address pool needs commands to monitor its usage level.

see

http://www.cisco.com/en/US/docs/ios/ipaddr/configuration/guide/iad_dhcp_svr_cfg_ps6922_TSD_Products_Configuration_Guide_Chapter.html#wp1155472

Hope to help

Giuseppe

281
Views
0
Helpful
2
Replies
This widget could not be displayed.