cancel
Showing results for 
Search instead for 
Did you mean: 

multiple vlan with different DHCP pool

daniel_ling_i7i
New Contributor III
Hi Guys, 

I need some help, i am using an 7450-24p with an router image running on version 08.0.80e.

i enable dhcp server on the switch. i am trying to have 2 vlans with different ip subnet. 

below is my config, did i miss or do anything wrong over here? as i am not able to get any ip from it.

show run

Current configuration:
!
ver 08.0.80eT213
!
stack unit 1
  module 1 icx7450-24p-poe-port-management-module
  module 2 icx7400-xgf-4port-40g-module
  module 3 icx7400-qsfp-1port-40g-module
  module 4 icx7400-qsfp-1port-40g-module
!
global-stp
!
vlan 1 name DEFAULT-VLAN by port
 spanning-tree
!
vlan 10 name IP-subnet_192.168.1.0/24 by port
 untagged ethe 1/1/1 to 1/1/12 
 router-interface ve 10
 spanning-tree 
!
vlan 20 name IP-subnet_192.168.2.0/24 by port
 untagged ethe 1/1/13 to 1/1/24 
 router-interface ve 20
 spanning-tree
!
ip dhcp-server pool wifi
 excluded-address 192.168.1.1 192.168.1.10
 lease 1 0 0
 network 192.168.1.0 255.255.255.0
 option  3 ip 192.168.1.1  
 option  6 ip 8.8.8.8 
deploy
!
ip dhcp-server pool smart
 excluded-address 192.168.2.1 192.168.2.10
 lease 1 0 0
 network 192.168.2.0 255.255.255.0
 option  3 ip 192.168.2.1  
 option  6 ip 8.8.8.8  
 deploy
!
interface ve 10
 port-name wifi
 ip address 192.168.1.1 255.255.255.0
!
interface ve 20
 ip address 192.168.2.1 255.255.255.0
11 REPLIES 11

Hard to say off just that configuration. I see you are on old spanning tree (802.1d). You may want to move to 802.1w for faster convergence as 802.1d is pretty slow.The command is "span 8" at the vlan level. "show log" should also give you some clues as to if the switch is trying to give out addresses. If we can't get a clue out of these outputs, it may just be easier to open a case and have an engineer look at it with you. 
Ben Beck, RCNA, RCNI, Principal Technical Support Engineer
support.ruckuswireless.com/contact-us

got it working thanks to Abilash... i turn on dhcp-client instead of server hahah... thanks ben! 

eric_pouliot
New Contributor II
Maybe you could try adding an "ip helper-address" to the ve interface.
That's what I use, but my dhcp server is external.

He shouldn't need that here since he is serving directly attached vlans. If the server was on an external network like you mentioned, then we would use a helper. 
Ben Beck, RCNA, RCNI, Principal Technical Support Engineer
support.ruckuswireless.com/contact-us

andrew_giancol1
Contributor III
If you plug a TAP (Wireshark or your preferred sniffer) into a untagged  Vlan 10, or vlan 20 port, are you seeing your target device's DHCP Requests? This is where I'd go now. try and see if DHCP is responding with a NAC, or if your Target device is being outright ignored, or isn't seen. Can you produce a scenario where DHCP works on this switch at all?