× NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Orbi WiFi 7 RBE973
Reply

Re: ProSAFE XS728T, DHCP on trunk port?

tantony
Luminary

ProSAFE XS728T, DHCP on trunk port?

Is it possible to do DHCP on trunk ports?

 

On my Netgear switch, I have VLANs 128 and 192.  I've made port 23 and 24 trunk ports.  I'm connecting an access poing to the trunk ports because the SSIDs I'm using needs VLANs.  Everything is working except the access point is not getting a dhcp address.  It's still on the factory IP.

 

How does the trunk port know which dhcp to give (128 and 192)

Message 1 of 21

Accepted Solutions
schumaku
Guru

Re: ProSAFE XS728T, DHCP on trunk port?


@tantony wrote:

The AP is connected to trunk port 24, and I tagged it with VLANS 128 and 192 because the AP SSIDs are using those VLANS.  The port PVID is 1.  So if I change the port PVID to 128, the AP will get DHCP from that VLAN?


Yes, untagged traffic will be associated to the VLAN 128 then.

 

@tantony wrote:

I'm assuming the SSIDs will still work?


Of corse, yes. Not sure why you intend to expose the management VLAN to the wireless, up to you...

 


@tantony wrote:

The AP is connected to trunk port 24, and I tagged it with VLANS 128 and 192 because the AP SSIDs are using those VLANS.  The port PVID is 1.  So if I change the port PVID to 128, the AP will get DHCP from that VLAN?  I'm assuming the SSIDs will still work?

 

I guess it makes sense why the AP is not getting a dhcp now because the PVID is 1 no ports are members of VLAN 1.


Yep - no DHCP server on the VLAN, too.

View solution in original post

Message 6 of 21

All Replies
schumaku
Guru

Re: ProSAFE XS728T, DHCP on trunk port?

The trunk port does not have to know...

 

Either the undefined WLAN AP does the BOOTP/DHCP untagged (so the switch PVID does define the VLAN these packets are associated to), or the WLAN AP has a tagged management VLAN configured.

Message 2 of 21
tantony
Luminary

Re: ProSAFE XS728T, DHCP on trunk port?

@schumaku 

 

The WLAN AP is a Ubiquity AP AC PRO.  

Message 3 of 21
schumaku
Guru

Re: ProSAFE XS728T, DHCP on trunk port?


@tantony wrote:

The WLAN AP is a Ubiquity AP AC PRO.  


Unless they changed or there is something well hidden, the UAP management is untagged, so see the PVID approach above. 

Message 4 of 21
tantony
Luminary

Re: ProSAFE XS728T, DHCP on trunk port?

@schumaku 

 

The AP is connected to trunk port 24, and I tagged it with VLANS 128 and 192 because the AP SSIDs are using those VLANS.  The port PVID is 1.  So if I change the port PVID to 128, the AP will get DHCP from that VLAN?  I'm assuming the SSIDs will still work?

 

I guess it makes sense why the AP is not getting a dhcp now because the PVID is 1 no ports are members of VLAN 1.

 

Untitled.jpg

 

Message 5 of 21
schumaku
Guru

Re: ProSAFE XS728T, DHCP on trunk port?


@tantony wrote:

The AP is connected to trunk port 24, and I tagged it with VLANS 128 and 192 because the AP SSIDs are using those VLANS.  The port PVID is 1.  So if I change the port PVID to 128, the AP will get DHCP from that VLAN?


Yes, untagged traffic will be associated to the VLAN 128 then.

 

@tantony wrote:

I'm assuming the SSIDs will still work?


Of corse, yes. Not sure why you intend to expose the management VLAN to the wireless, up to you...

 


@tantony wrote:

The AP is connected to trunk port 24, and I tagged it with VLANS 128 and 192 because the AP SSIDs are using those VLANS.  The port PVID is 1.  So if I change the port PVID to 128, the AP will get DHCP from that VLAN?  I'm assuming the SSIDs will still work?

 

I guess it makes sense why the AP is not getting a dhcp now because the PVID is 1 no ports are members of VLAN 1.


Yep - no DHCP server on the VLAN, too.

Message 6 of 21
tantony
Luminary

Re: ProSAFE XS728T, DHCP on trunk port?

@schumaku 

Thanks, learned something new today.  I'll try that tomorrow and update.

Message 7 of 21
tantony
Luminary

Re: ProSAFE XS728T, DHCP on trunk port?

I restarted the switch before I left for the day, but looks like the AP didn’t get a VLAN 128 dhcp. I may need to restart the AP so it will get a dhcp.
Message 8 of 21
schumaku
Guru

Re: ProSAFE XS728T, DHCP on trunk port?


@tantony wrote:
I restarted the switch before I left for the day, but looks like the AP didn’t get a VLAN 128 dhcp. I may need to restart the AP so it will get a dhcp.

Strange, I would expect that this would disconnect and reconnect the Ethernet link, leading to a new bootp/dhcp process.

 

However, many systems fall back to a default IP or a zero config IP address if the dhcpd does not succeed after a few attempts, e.g. for troubleshooting, initial configuration, whatever. Whats the point for not rebooting the AP? An UniFi AP is unlikley workable and configured without the connection to the UniFi Controller (regardless if it's a CloudKey, installed on a local system, or on a cloud service).

Message 9 of 21
tantony
Luminary

Re: ProSAFE XS728T, DHCP on trunk port?

I just didn’t have the time to reboot the AP before I left. I’ll try that when I’m at work, or even connect a laptop to port 24 and do a ipconfig release renew to make sure.
Message 10 of 21
schumaku
Guru

Re: ProSAFE XS728T, DHCP on trunk port?


@tantony wrote:
...  I’ll try that when I’m at work, or even connect a laptop to port 24 and do a ipconfig release renew to make sure.

Uh, this is nothing that happens on the switch or the switch port - the DHCP client does operate on the AP - and that one you proabbly can't reach without a proper VLAN config and an IP config assigned. And anyway no such commands on an UniFi system... 

Message 11 of 21
tantony
Luminary

Re: ProSAFE XS728T, DHCP on trunk port?

I connected a laptop to port 24 with a PVID of 128, and it's not getting the dhcp.  The laptop is getting the 169.254.0.190 address.

 

If I connect to a non-trunk port with a PVID and member of 128, I get the correct dhcp.  What am I doing wrong on the trunk port?

Message 12 of 21
Nodism1125
NETGEAR Expert

Re: ProSAFE XS728T, DHCP on trunk port?

Hi tantony, 

In WAP wireless settings -> Advanced Options. Check the VLAN ID as 128.  

 

 

 

Message 13 of 21
tantony
Luminary

Re: ProSAFE XS728T, DHCP on trunk port?

on the switch or AP?

 

How do I get there?

Message 14 of 21
Nodism1125
NETGEAR Expert

Re: ProSAFE XS728T, DHCP on trunk port?

Check the Ubiquity AP AC PRO Admin Configuration Page. 

 

Settings > Wireless Networks

Advanced
• VLAN To use a VLAN, select Use VLAN ID and enter the
port number.

 

 

 

 

Message 15 of 21
schumaku
Guru

Re: ProSAFE XS728T, DHCP on trunk port?

Still convinced the UniFi management network has to be run untagged, the UniFi AP don't have an option to configure a VLAN ID for the management.
Message 16 of 21
tantony
Luminary

Re: ProSAFE XS728T, DHCP on trunk port?

@Nodism1125 

 

Yes, I have that, and everything is working on the SSIDs, my question is, how does the actual AP get an ip address?

 

I'm not sure what happened, but when I connect a laptop to the trunk port 24, I'm getting VLAN 128 dhcp, so the switch side is correct.  I'm not sure why the AP is not grabbing a dhcp like the laptop.

Message 17 of 21
Nodism1125
NETGEAR Expert

Re: ProSAFE XS728T, DHCP on trunk port?

XS728T switch 

 

The Default VLAN 1 to all NETGEAR switch. 

You create VLAN 128 and member port 24 where you want to connect the AP.

Now, we know the DHCP pool on  VLAN 128 is working if the PVID is set to 128.

 

Please read the VLAN rule.link

 

When a trunk link is established, all of the configured VLANs are allowed to send and receive traffic across the link. Now, you want the wireless client to recieve an IP address to VLAN 128 not VLAN 1. 

 

In VLAN membership, select VLAN 1 marked all ports as untag "U" and VLAN 128 "T"

tagged the port uplinks  24 (Access Point) and (23) Server/Router handling the DHCP to VLAN 128.

There is no involve PVID. Revert the port 23 and 34 back PVID 1. 

In WAP, SSID VLAN ID set to 128.

Test the wireless client and check the WLAN IP address.

 

 

 

 

 

Message 18 of 21
tantony
Luminary

Re: ProSAFE XS728T, DHCP on trunk port?

Yes, this is how I have it in the switch and AP.  But the AP is still not getting a valid DHCP.  This is not a Netgear problem, I'll contact Ubiquity.

Message 19 of 21
schumaku
Guru

Re: ProSAFE XS728T, DHCP on trunk port?

There are several threads in the Ubiquity community on the very similar topic - it usually ends with incorrect switch config. However, I can't see what should be wrong there now.

Message 20 of 21
tantony
Luminary

Re: ProSAFE XS728T, DHCP on trunk port?

I don’t think it’s a switch issue since my laptop gets VLAN 128 dhcp from the same port thanks to your PVID suggestion. I marked it as the solution btw.
Message 21 of 21
Top Contributors
Discussion stats
  • 20 replies
  • 5703 views
  • 1 kudo
  • 3 in conversation
Announcements