Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2252
  • Last Modified:

Cisco multiple DHCP pools ??

Hi gurus


I'm wondering is't possible to configure multiple DHCP pools to ciscos IOS     12.2(25)SG software.

I'm having multiple VLANS and would like to give every VLAN own DHCP pool, i.e.

VLAN 10  --> 10.1.10.0   /24
VLAN 20 -->  10.1.20.0   /24

....



Thanks for any help

_jussi
0
salmjuh
Asked:
salmjuh
  • 2
1 Solution
 
lrmooreCommented:
0
 
salmjuhAuthor Commented:
No, this is not my case

First of all, I'm using 4503 with SUP II (IOS :12.2(31)SGA) and the command syntax is little bit different.

How ever, everything  should be OK:


----------------------------------
show running:
ip dhcp pool VLAN40
   network 10.71.40.0 255.255.255.0
   default-router 10.71.40.1
   dns-server 196.33.222.100
   domain-name foo.com
   netbios-name-server 196.33.222.100
   netbios-node-type h-node
   lease 14


Switch_2#sh ip dhcp server statistics
Memory usage         5911
Address pools        1
Database agents      0
Automatic bindings   0
Manual bindings      0
Expired bindings     0
Malformed messages   0

Message              Received
BOOTREQUEST          0
DHCPDISCOVER         2
DHCPREQUEST          13
DHCPDECLINE          0
DHCPRELEASE          0
DHCPINFORM           30

Message              Sent
BOOTREPLY            0
DHCPOFFER            0
DHCPACK              0
DHCPNAK              11
Switch_2#


Switch_2#sh dhcp server
   DHCP server: ANY (255.255.255.255)
    Leases:   0
    Offers:   0      Requests: 0     Acks: 0     Naks: 0
    Declines: 0      Releases: 0     Bad:  0


This look for me that it doesn't get any DHCP request at all ??

Buy the way, the VLAN switch is another switch, so is that the problem, ie. I need to configure to same switch bouth, VLAN and DHCP pool ???


Thanks  for any help
-Jussi

0
 
salmjuhAuthor Commented:
Found it !! becuase the switch is different network subnet, I needed to expand DHCP to another VLAN by giving a command

conf t
 int vlan 40
  ip helper-address "SWITCHS IP ADDRESS"

thast it.

I remembered, that DHCH broadcast messages dount go thru subnets.


Thanks all
-Jussi
0
 
Computer101Commented:
PAQed with points refunded (50)

Computer101
EE Admin
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now