Start a Conversation

Unsolved

This post is more than 5 years old

R

39246

October 31st, 2015 11:00

Help needed with DHCP relay with VLANs

Hi guys, I've already done tons of searching in many forums but I couldn't managed to get this thing to work 100% I am probably missing something.

Here is the scenario: I want to broadcast 2 SSIDs each one in different subnets, Native VLAN is still using ID 1 (192.168.160.0/24) and a second VLAN with ID 10 (192.168.20.0/24), and this is what I got:

1x Dell PowerConnect 6248 

1x Firewall doing the routing (plugged to port 1/g29)

1x Unifi UAP With 2 SSIDs (plugged to port 1/g10)

1x Windows Server 2012 R2 DHCP Server (192.168.160.151)

What I did:

  1. Created a VLAN with ID 10 in the PowerConnect and assigned an IP in the 192.168.20.0 subnet
  2. Each VLAN has an IP address native VLAN is 192.168.160.249 and VLAN 10 is 192.168.20.249
  3. Configured to General the port where the firewall is plugged to allow untagged and tagged and left the PVID to 1
  4. Created the VLAN 10 in the firewall and assigned an IP int the 192.168.20.0 subnet to it
  5. Configured one random port within the VLAN 10 to test the routing, connected a laptop to that port and configured a static IP address in the 192.168.20.0 subnet and I was able to reach the other subnet, so the routing is OK.
  6. Configured another scope in the DHCP Server to serve IPs in the 192.168.20.0 subnet (tried with and without superscope) 
  7. Configured the BOOTP/DHCP Relay Agent in the PowerConnect and set the laptop to dynamic IP, it was able to get an IP in both subnets (wired)
  8. Configured one port to General with tagged vlan 10 and PVID 1 and plugged the Unifi on it
  9. Configured two SSIDs on the Unifi, one without VLAN ID and another with VLAN ID 10
  10. Tried to connect to both SSIDs, sometimes I was able to get an IP, sometimes don't, and that's is where I am stuck, I guess that if I configured everything correct I shouldn't have this issue, where sometimes work and sometimes don't.

If anyone could help me I will be very thankful.

!Current Configuration:
!System Description "PowerConnect 6248, 2.2.0.3, VxWorks5.5.1"
!System Software Version 2.2.0.3
!
configure
vlan database
vlan  10
exit
stack
member 1 2
exit
ip address 192.168.160.249 255.255.255.0
ip default-gateway 192.168.160.240
ip routing
ip route 0.0.0.0 0.0.0.0 192.168.160.240
bootpdhcprelay enable
bootpdhcprelay serverip 192.168.160.151
ip helper-address 192.168.20.249 192.168.160.151 37
ip helper-address 192.168.20.249 192.168.160.151 49
ip helper-address 192.168.20.249 192.168.160.151 137
ip helper-address 192.168.20.249 192.168.160.151 138
interface vlan 10
name "VLAN10"
routing
ip address  192.168.20.249  255.255.255.0
exit
username "admin" password 0705dea56b24db0fc8f7cc5b77c28606 level 15 encrypted
!
interface ethernet 1/g29
switchport mode general
no switchport general acceptable-frame-type tagged-only
switchport general allowed vlan add 10 tagged
exit
!
interface ethernet 1/g10
switchport mode general
no switchport general acceptable-frame-type tagged-only
switchport general allowed vlan add 10 tagged
exit
enable password 0705dea56b24db0fc8f7cc5b77c28606 encrypted
exit

5 Practitioner

 • 

274.2K Posts

November 2nd, 2015 06:00

The config on the 6248 shows that it is configured for VLAN routing. Are you wanting the 6248 to do the routing or the firewall? If you want the firewall to do the routing, I would disable it on the 6248. If you want the 6248 to do the routing, I would look at using a different VLAN for the 192.168.160.0 subnet. Or move the management VLAN to a different VLAN. The 6248 is not able to route it's own management VLAN, so I could see this causing some weird behavior. Here is a KB article on this subject.

http://dell.to/1Q1UYi1

It looks like the switch is using an older firmware revision. You may consider updating the firmware to see if it helps with interoperability.

http://dell.to/1M7ulmk

If you assign a static IP to the wireless client, is it able to communicate on the network?

4 Posts

November 3rd, 2015 05:00

Thanks Daniel for your answer I really appreciate your help.

I will upgrade the switch firmware and disable the routing on the 6248 and post back the results here.

I forgot to try to put a static IP address to the wireless client, I will try that to.

Thanks

No Events found!

Top