VLANs
Author
Discussion

TheAngryDog

Original Poster:

13,345 posts

241 months

Tuesday 2nd January 2018
quotequote all
I am currently trying to set up a guest wifi network using a separate VLAN but it does not seem to be working.

The set up is this;

Netgear WAC730 AP > Netgear M5300 switch > Dell SonicWALL NSA3600.

I have created a new interface on the SonicWALL as VLAN99, created a DHCP server on the SonicWALL.
I have tagged the AP port for VLAN99 on the switch and also tagged the uplink port.
I have created a new SSID etc with the VLAN set as 99 on the AP.

I can connect to the AP guest SSID but I cannot get an IP address and therefore no internet. Any one have any ideas?

ffc

789 posts

191 months

Tuesday 2nd January 2018
quotequote all
TheAngryDog said:
I am currently trying to set up a guest wifi network using a separate VLAN but it does not seem to be working.

The set up is this;

Netgear WAC730 AP > Netgear M5300 switch > Dell SonicWALL NSA3600.

I have created a new interface on the SonicWALL as VLAN99, created a DHCP server on the SonicWALL.
I have tagged the AP port for VLAN99 on the switch and also tagged the uplink port.
I have created a new SSID etc with the VLAN set as 99 on the AP.

I can connect to the AP guest SSID but I cannot get an IP address and therefore no internet. Any one have any ideas?
Does the AP send out tagged frames or can it just be an access port in VLAN 99 accepting untagged frames that are then tagged as they go out of the uplink port to the SonicWall?

sunbeam alpine

7,254 posts

220 months

Tuesday 2nd January 2018
quotequote all
Do you need to create a new IP range for the new DHCP server to give out, or does that happen automatically when you create the server?

TheAngryDog

Original Poster:

13,345 posts

241 months

Tuesday 2nd January 2018
quotequote all
ffc said:
TheAngryDog said:
I am currently trying to set up a guest wifi network using a separate VLAN but it does not seem to be working.

The set up is this;

Netgear WAC730 AP > Netgear M5300 switch > Dell SonicWALL NSA3600.

I have created a new interface on the SonicWALL as VLAN99, created a DHCP server on the SonicWALL.
I have tagged the AP port for VLAN99 on the switch and also tagged the uplink port.
I have created a new SSID etc with the VLAN set as 99 on the AP.

I can connect to the AP guest SSID but I cannot get an IP address and therefore no internet. Any one have any ideas?
Does the AP send out tagged frames or can it just be an access port in VLAN 99 accepting untagged frames that are then tagged as they go out of the uplink port to the SonicWall?
AIUI it sends out untagged that are then tagged by the switch.

sunbeam alpine said:
Do you need to create a new IP range for the new DHCP server to give out, or does that happen automatically when you create the server?
A new IP address range has been set up on the DHCP server when I created it.

Harpoon

2,555 posts

246 months

Tuesday 2nd January 2018
quotequote all
DHCP server AND scope both enabled on the NSA?

colin79666

2,228 posts

145 months

Tuesday 2nd January 2018
quotequote all
If you manually set an address can you otherwise connect? Just to ensure this is a dhcp issue and not something else?

citizenmtb

1,495 posts

210 months

Tuesday 2nd January 2018
quotequote all
TheAngryDog said:
I have tagged the AP port for VLAN99 on the switch and also tagged the uplink port.
Both of these need to be untagged trunk ports.

You may also need to establish if the AP and FW are tagging the native VLAN traffic, or if you can, specify the trunk native vlan on the switch config.

essayer

10,410 posts

226 months

Tuesday 2nd January 2018
quotequote all
The AP doesn't need to know about VLANs does it? Its port on the switch needs to be assigned to VLAN 99, but not tagged/trunked etc
If you connect a laptop to the AP switch port do you get an IP?

citizenmtb

1,495 posts

210 months

Tuesday 2nd January 2018
quotequote all
essayer said:
The AP doesn't need to know about VLANs does it? Its port on the switch needs to be assigned to VLAN 99, but not tagged/trunked etc
If you connect a laptop to the AP switch port do you get an IP?
Unless I've misinterpreted the OP, he is trying to add a guest SSID on a separate VLAN in addition to existing WLAN/LAN networks. Therefore, switchports must be trunks to accept tagged packets, with the exception of the trunk native vlan.

Alucidnation

16,810 posts

202 months

Tuesday 2nd January 2018
quotequote all
Can you not just set up the guest network directly on the AP?

Harpoon

2,555 posts

246 months

Tuesday 2nd January 2018
quotequote all
Typically, once you enable the additional SSIDs on NetGear APs, you VLAN tag the SSID. So the switch port needs to be tagged for those VLANs as well.

https://kb.netgear.com/30611/How-do-I-create-multi...

"Allowing an SSID to operate inside a specific VLAN reqires the switchport the AP is connected to be assigned to that VLAN, however in this instance the requirement is for the AP to broadcast multiple SSID's which operate in multiple VLAN's, it is necessary to Tag 'T' the AP switchport (1/g28) in each VLAN it is required to operate"

We usually use VLAN1 for management, so that stays untagged. Other VLANs are then tagged between the SonicWall, switches and APs.

ging84

9,548 posts

178 months

Wednesday 3rd January 2018
quotequote all
vlans are a massive counter intuitive headache, and it does not help that the terminology varies, but looking at the above guidance to be the same as the example the 'pvid' of the firewall port should be set to 99,
pvid as i understand it is the netgear equivalent of a native vlan, as long as the firewall interface on vlan 99 is a dedicated port, and not shared with port handling another vlan then this should work fine.
In the example the other ports are untagged in thier respective vlans, in this case i suspect that would be a bad choice.
I am assuming the firewall has a built in switch, and there is already an uplink connected to another interface without an specific vlan configured, so setting this other port to untagged on it's native vlan would probably create a routing loop, but as the interface has been setup on the vlan it should still work if the port is set to tagged.

tldr; set the pvid of the new firewall port on the switch to 99

TheAngryDog

Original Poster:

13,345 posts

241 months

Wednesday 3rd January 2018
quotequote all
Thanks. These are the screen shots of how it is currently configured;

I inherited this setup so everything appears to be running on VLAN 1.

VLAN 1 - Switch - port 3 is the AP and port 24 is the uplink



VLAN 99 - Switch. port 3 is the AP and port 24 is the uplink



This is the AP config.



New interface on VLAN 99 on the SonicWALL



SonicWALL DHCP config


Harpoon

2,555 posts

246 months

Wednesday 3rd January 2018
quotequote all
Is the DHCP server enabled on the SonicWall (not just the scope)?

Is there another SSID being broadcast from the AP on VLAN1? If so, leave the PVID on the AP port on the switch as VLAN1.

Also noticed you have the X99 VLAN interface on the SonicWall set to the LAN zone, which would normally means it's trusted so traffic can pass to/from your regular LAN. You might want to create a new zone on the SonicWall, then you can put Deny (or allow) rules on the firewall config to block traffic from the guest VLAN/subnet to your main LAN.


TheAngryDog

Original Poster:

13,345 posts

241 months

Wednesday 3rd January 2018
quotequote all
Harpoon said:
Is the DHCP server enabled on the SonicWall (not just the scope)?

Is there another SSID being broadcast from the AP on VLAN1? If so, leave the PVID on the AP port on the switch as VLAN1.

Also noticed you have the X99 VLAN interface on the SonicWall set to the LAN zone, which would normally means it's trusted so traffic can pass to/from your regular LAN. You might want to create a new zone on the SonicWall, then you can put Deny (or allow) rules on the firewall config to block traffic from the guest VLAN/subnet to your main LAN.
Yes it is enabled;



There is another SSID being broadcast which is why I haven't changed the PVID on the switch smile.

I did wonder that as I created a new zone but I was advised to attach it to the LAN. I was going to test the trust once I had this working but obviously I am not that far smile I will create a new zone though as you are of course correct.

Thanks.

TheAngryDog

Original Poster:

13,345 posts

241 months

Wednesday 3rd January 2018
quotequote all
New zone created.