multiple vlan with different DHCP pool
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2019 02:39 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2019 09:04 AM
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
support.ruckuswireless.com/contact-us
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2019 09:27 PM
got it working thanks to Abilash... i turn on dhcp-client instead of server hahah... thanks ben!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2019 07:55 AM
Maybe you could try adding an "ip helper-address" to the ve interface.
That's what I use, but my dhcp server is external.
That's what I use, but my dhcp server is external.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2019 08:00 AM
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
support.ruckuswireless.com/contact-us
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2019 09:04 AM
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?

