GS1900-48HP Voice VLAN stopped working after firmware upgrade. . .
Zyxel GS1900-48HP Rev A1
Moving from firmware 2.60(AAH0.1)CO
to firmware 2.60(AAH0.2)CO caused issues
with a previously working OUI / Voice VLAN.
Specifically -
With firmware 2.60(AAH0.1)CO, we had
the following VLAN details in place on several ports -
VLAN1 Untagged (Default)
VLAN2 Excluded (Voice)
VLAN3 Tagged
VLAN4 Tagged
Voice VLAN was set, and a custom OUI
for our phone system was in place -
MITEL IP PHONE 08:00:0F
With this configuration, our phones would start up,
would move to VLAN2, and would get DHCP from our router.
After upgrading to 2.60(AAH0.2)CO
the phones would not appear on VLAN2,
and of course would not get DHCP, etc.
Curiously, downgrading to 2.60(AAH0.1)CO
did not fix the problem.
I was finally able to resolve the problem
by changing VLAN2 on the affected ports
to "Tagged" instead of "Excluded".
This was puzzling, since it had been previously
working perfectly with ports set to "Excluded"
Any ideas as to why that would have changed?
Moving from firmware 2.60(AAH0.1)CO
to firmware 2.60(AAH0.2)CO caused issues
with a previously working OUI / Voice VLAN.
Specifically -
With firmware 2.60(AAH0.1)CO, we had
the following VLAN details in place on several ports -
VLAN1 Untagged (Default)
VLAN2 Excluded (Voice)
VLAN3 Tagged
VLAN4 Tagged
Voice VLAN was set, and a custom OUI
for our phone system was in place -
MITEL IP PHONE 08:00:0F
With this configuration, our phones would start up,
would move to VLAN2, and would get DHCP from our router.
After upgrading to 2.60(AAH0.2)CO
the phones would not appear on VLAN2,
and of course would not get DHCP, etc.
Curiously, downgrading to 2.60(AAH0.1)CO
did not fix the problem.
I was finally able to resolve the problem
by changing VLAN2 on the affected ports
to "Tagged" instead of "Excluded".
This was puzzling, since it had been previously
working perfectly with ports set to "Excluded"
Any ideas as to why that would have changed?
0
All Replies
-
Hi @TimThom,Sorry for your confusion.Basically, "VLAN2 Excluded (Voice)" is a wrong setting and should not work.
It works before as we had an issue in the early firmware v2.50, which not following VLAN settings and will tagged out all VLAN for Voice.
We'd already fixed this issue on firmware v2.60 patch0, this link is the release note for reference.
As you've mentioned changing the VLAN2 to Tagged resolved the problem, because this actually is the normal and correct settings.
Jonas,Jonas,0 -
Gotcha.Our Cisco switches required "Excluded" when using Auto-voice VLAN,so I had set up the Zyxel switch the same when we first got it quite some time ago.I guess the earlier firmware glitch that you mentioned just happened to be"good timing" on my part. ;-)Thanks again for the follow-up.0
-
Hi,
I have similar issues. We have a Zyxel GS1900-48HP Rev B1 and NEC IP Phones.
And our firmware is V2.60(ABTQ.3) | 01/05/2021.
We followed instructions on this website: https://firstcoastit.net/zyxel-gs1900-creating-a-voice-vlan/?unapproved=157&moderation-hash=97997d32f59981564d5543f215e1c5d7#comment-157
We have also set the OUI for NEC IP phones.
However, our voice VLAN didn't work no matter we set the port with IP phone 'excluded,' 'untagged,' or 'tagged.'
All ports are still in VLAN1. Could you advise?
Thank you.0 -
Here's exactly how I have our switch set up -Our router handles both of our VLANS -Let's say VLAN1 is 192.168.1.1/24 for computers.And VLAN2 is 192.168.2.1/24 for phones.We have TWO DCHP servers set up on the router,one for the 192.168.1.x subnetthe other for the 192.168.2.x subnetWe have our LAN port on the router set up asVLAN1, PVID1, UntaggedVLAN2, Tagged--------------------------------------------------------------------------Now, on the GS1900 switch, we have ONE portthat connects to our router.It is also set asVLAN1, PVID1, Untagged.VLAN2, TaggedThat is all we needed to link it to the router.--------------------------------------------------------------------------To start out with, all of the ports on the GS1900 werealready set as VLAN1, PVID1, Untagged.That meant that any computer we plugged into therest of the ports on the GS1900 would get handed a192.168.1.x IP address, since PVID1 causes most(VLAN-Unaware) network devices to default to VLAN1.Now, to get the phones up and running, here's what we did -(Our phones needed Class of Service 6;your phones may need something different,so you can adjust to suit. . .)--------------------------------------------------------------------------Above, we set up a custom OUI, based on the first 6 digits of our phone's MAC address.--------------------------------------------------------------------------Then, below, we enabled the OUI functionality,but ONLY the ports that we needed it on.(Ignore Port 1 in my examples, as we don'tuse Port 1 for phones in our office right now.)Note: You only enable it on the ports that you are planning on plugging phones into.You do NOT enable it on the port that connects to your router.--------------------------------------------------------------------------As you can see below, we have VLAN1 set as PVID1,and VLAN Trunk is disabled on all of our ports,since we don't need VLAN trunking for this.--------------------------------------------------------------------------Now, let's adjust the VLAN tagging for the VOICE VLAN.Select VLAN2 from the drop-down.Older versions of the Zyxel firmware let you setthese ports to Excluded, and it worked great.(This is the way that Cisco currently does it.)However, with the last release, you are requiredto manually set them all to "Tagged", as you can see below.--------------------------------------------------------------------------Further down in the main menu, under the LLDP section,we had to add some DSCP and PRI settings for our phones.You may or may not need to do this for your phones;please refer to your documentation.--------------------------------------------------------------------------Lastly, we applied the basic policies to the phone ports.--------------------------------------------------------------------------Don't forget - when everything is working, that you have tovisit the maintenance section and save/commit these settings,otherwise they'll be wiped out on the next reboot/power cycle.--------------------------------------------------------------------------With these settings. . . if you plug an IP phone into anyof the ports that you just set up. . . the switch should recognizeyour IP phone, based on the OUI information that you put in,and the phone should wind up being dumped directly onto VLAN2.Your phone should send out a DHCP request,and your router should hand it an IP address from VLAN2.--------------------------------------------------------------------------If for some reason your phone does NOT get moved to VLAN2,and/or does not get an IP address,you'll have to do some troubleshooting.Here is one possible starting point -Let's see if we can PING your VLAN2 IP address on the router.For these examples, I'm using the same IP addressesI did at the start. VLAN1 is 192.168.1.xand VLAN2 is 192.168.2.x(Adjust them accordingly to whatever your address ranges are.)Go back into your GS1900.Pick an available port on the switch for testing.Reverse the VLAN settings on the port.Make it VLAN2 Untagged, VLAN1 Tagged.Apply your settings, and plug a laptop into this port.Assuming that your router (and the ports thatare connecting it to your switch) are set correctly,it SHOULD end up on VLAN2, and should be givena 192.168.2.x IP address from your router.If that doesn't work. . . then go into your network settingson your laptop, and manually assign it an IP addressin your VLAN2 address range.Let's say your router's VLAN2 settingshave it at an IP address of 192.168.2.1Set your laptop's IP address manually to something likeAddr: 192.168.2.100Mask: 255.255.255.0Gateway: 192.168.2.1DNS: 192.168.2.1. . .and hit apply. . .Once the network connection is back up,drop to a DOS prompt, and try PINGingthe router at 192.168.2.1If you don't get a reply, then somethingmost likely isn't set correctly on the router,or on the port linking the switch to the router.That should be enough to go on for now.Let me know how it turns out, and if it stillisn't working, we can try other things. . .Tim
0 -
Hi Tim,
Thanks for your instructions. It is very clear but I still have some questions.
1.Can we put IP phones in the same subnet with our computers? (We have PC connected behind the IP phones, like the topology showed at the end of this post. I am wondering if PC and IP phones can be in different subnet in the case.)
2.Our GS1900 is connected to our router/firewall via Port 1. What state (forbidden, excluded, or..) should it be?
3.I noticed that you have a policy called 'voice signaling.' Is it necessary?
Regards,
Yi-Hsien
0 -
Let's see. . .3.) Voice signalling policy - This was needed for Mitel IP phones.I don't know if your IP phones need that functionality or not.In layman's terms, Mitel uses DSCP 46 / PRI 6 to prioritizevoice data across the network, and uses DSCP 26 / PRI 3for lower-priority traffic across the network, such as chatterbetween the phone and the phone controller.Since I don't know what phone system you're using,I can't really say if it needs that policy or not.Search your documentation, and see if your phonesutilize "DSCP" at all, or if you can find anything thatmentions different priorities or class-of-services.2.) If Port 1 of your GS1900. . . .In a basic network setup, ALL ports should be set to:VLAN1, PVID1, Untagged(Including the port that connects to your router.)This will allow computers, printers, etc,to communicate with each other, and to the internet.Port 1, since it connects to your router, andostensibly provides VLAN2 with DHCP, etc.,should also be set to VLAN2 Tagged.Then, any port that a phone is connected toshould also be set to VLAN2 - Tagged.In theory, you could set ALL of your portsto VLAN2 Tagged. . . then it wouldn't matterwhich port you plugged a phone into.However, it's usually best practice to just enableVLANS on the ports that you're using them on.The port on your Router should be set the same way.VLAN1, PVID1, UntaggedVLAN2, Tagged(I have been assuming that your router supports VLANs,and that you have it already set up with firewall rules,and have created a separate DHCP service on it for VLAN2.Please let me know if this is not the case.)And, finally -1.) There's no reason you couldn't have the phonesand your PC's on VLAN1.I think most folks use a 2nd VLANfor easier traffic shaping and troubleshooting.When you have a phone that has a PC Pass-thruport on the back. . .it's kind of like having a 3-port,VLAN-aware switch built into your phone.Your network comes in on external Port 1,your PC connects on external Port 2,and your phone connects to internal Port 3.Since your PC most likely isn't VLAN-aware,it's going to end up on VLAN1 by default.So, even if the VLAN setup for your phonesisn't working right now, your PC (in the your diagram above)should be able to power up, and reach the internetwithout any trouble.-------------------------------------------------------------------------Let's say that you haven't done anything to set up VLAN2at this point. . . what would (should) happen, is thatyour phone should start up. . . and send out a DHCPrequest. . . since you haven't set up VLANS, it will makethat request on VLAN1. . . and your VLAN1 DHCP serverwill give it an IP address. . . then the phone will try toreach out (Via VLAN1) to whatever phone systemyou have in place. If your phone system isn't onthe same subnet as your PC's and stuff. . .then it willnever connect to it, to finish starting up.Once the Telephony OUI is set up correctly,and you have Voice/VLAN enabled, etc.,then when your phones start up, the GS1900will see that it's MAC address is part of your Telephony OUI,and it will dump your phones (and only your phones)onto VLAN2 right away. At that point, data to/fromyour phone (and only your phone) will be tagged for VLAN2.So, as it continues to start up, and it makes its initial DHCP request,it will be expecting a response from the DHCP server thatyou created for VLAN2. If it finds your VLAN2 DHCP server,then it will end up with an IP address on your VLAN2 subnet.(The PC connected to the back of that phonewill be completely oblivious to all of this, as itis happily communicating as Untagged trafficon VLAN1. . .)Now, it is important to remember -IP Phones will need to know how to reach your phone system.They typically get this information via the DHCP serveron your Voice subnet.For Mitel phones, we create DHCP option 43, and give ita string of data to pass to the phones, which tell itthe address of the phone system.So, when the phone gets its IP address, it will also receivethe string of data from Option 43, and from there, it will thenreach out to your phone system for further startup instructions.
0 -
Hi Tim,
Thanks. We have done all the settings except subnet.
We have NEC IP phones and our firewall/router is Fortigate. At this moment we manual set their IP addresses (in the same 192.168.0.x subnet with our PC, printers, and servers.). According to your advises that's the root cause why our Voice VLAN isn't up and running.
So the next step is to use DHCP option 43?
And my problem would be how to setup a second DHCP server in the same FortiGate firewall and assigns IP only to the IP phone. We also don' have much knowledge on this part
Thank you~
Regards,
Yi-Hsien0 -
Hi one more question:.In your example, how does GS1900 know that 192.168.2.x is with VLAN2?0
-
Hi Tim,
One more thing:
You mentioned 'They typically get this information via the DHCP server.
However, it is recommended in our NEC SL2100 manual that static IP is preferred. Is it possible that we use static IP (in the same or different subnet)?0 -
Alrighty. . . let's see. . .If you only have a handful of IP Phones, then perhapsthe static IP method that you mentioned might be easierthan trying to mess with DHCP options, etc.Let's assume that you're NOT going to use DHCP;that you're going to keep your static IP settingson your NEC phones for the moment.We haven't really talked about your physicalNEC Phone System / Controller yet.I'm assuming it is set to a static IP address.It will need to be able to communicate with VLAN2.This can be accomplished 1 of 2 ways.1.) Routing via your FortiGate (less desireable)2.) Placing it onto VLAN2 directly. (preferred)Let's assume it will be placed directly onto VLAN2.For purposes of this discussion, I'll assume that itis manually set with the following IP information -IP address: 192.168.2.254Mask: 255.255.255.0Gateway: 192.168.2.1 <<< More on this later.Now, let's go back into your GS1900,and modify TWO network ports, as follows -VLAN2, PVID2, UntaggedVLAN1 Forbidden(This will cause whatever is plugged into these portsto communicate, by default, on your VLAN2 subnet.)One of these ports will be the permanent homeof your NEC phone system controller.The other port, we'll use for diagnostic purposes.More on that later.Now, let's jump over to your FortiGate -I don't know the model of your Fortigate,so I can't tell you the exact process.Here's a link I found for a VM64 -Here, you'd set your VLAN ID, and the port numberthat it is associated with.Select type "VLAN" as shown above.Then select whichever port is connected to your GS1900.Then Select VLAN2 for your phones.Keep the role as LAN.No need to mess with the "Add Tag Category".Keep the addressing mode at "Manual".Under IP/Network Mask, enter -192.168.2.1 / 255.255.255.0Under "Administrative Access",check-mark HTTPS and PING.More on that later as well.What that will do is create a virtual IP addresson your Fortigate of 192.168.2.1This is what will actually define your VLAN2subnet for the rest of your network.Your devices on VLAN2 will use the 192.168.2.1address as their gateway.So, you'd go into one of your phones, and set it'sIP address to an arbitrary IP address, such as 192.168.2.50with a subnet mask of 255.255.255.0,and a gateway IP address of 192.168.2.1Now, any traffic from that phone will usethe virtual IP address of 192.168.2.1 as its gateway.Any other IP settings in there (along with the IP settingson the NECphone system itself) would need to be adjusted forthe 192.168.2.x subnet. . . and the 192.168.2.1 gateway.-------------------------------------------------------------------------------How does the GS1900 know that 192.168.2.x is associatedwith VLAN2? Well, it doesn't really, at least not in any sensethat you need to be concerned about.At a very basic level, the switch is only looking for VLAN tags.Your Fortigate, which is operating as your router/gateway deviceis what defines the 192.168.2.x address range as being associatedwith VLAN2. The GS1900 is just looking at the VLAN2 tags,and moving the traffic to the appropriate ports on the switch.-------------------------------------------------------------------------------I'm going to continue to use the following assumptions,with regards to your Subnet, VLAN, and phone setup.Adjust these values accordingly, to meet your needs.192.168.1.x VLAN1 Your computers, printers, etc.192.168.2.x VLAN2 Your IP phones.192.168.1.1 The (VLAN1) IP address of your FortiGate.This is currently the "Gateway" address thatyour computers receive via DHCP.192.168.2.1 The (VLAN2) IP address of your FortiGate.This is the "virtual" IP address that we created earlier.192.168.2.254 The IP address of your actual NEC phone system/controller.192.168.2.50 A random IP phone on your network.-------------------------------------------------------------------------------Assuming that you've set up your GS1900as previously discussed, then here is what will transpire -You plug your IP phone into the network, and it powers up.The GS1900 will see the MAC address of the phoneshow up on the network.Since the phone has a MAC address that matches the oneset up in your Telephony (Voice-VLAN) OUI settings, it will starttagging the traffic (from JUST the phone) with VLAN2.So now, the phone with 192.168.2.50 is on VLAN2,and will be using its manually-set gateway of 192.168.2.1The phone will attempt to reach the phone system,via the FortiGate 192.168.2.1 gateway that we set up.Assuming that the phone system has been set correctly.the two devices will start communicating with each other.-------------------------------------------------------------------------------So, here is how I would proceed, initially.1.) Set up the two ports mentioned earlier on the GS19001 permanent port for the phone system1 temporary port for diagnosticsVLAN2, PVID2, UntaggedVLAN1, Forbidden(Don't move your phone system to this port just yet.)2.) Log into your FortiGate, and create VLAN2as discussed earlier.3.) For testing, grab a laptop or PC, and manually setits IP address to an arbitrary IP address, such as192.168.2.200 / 255.255.255.0 / 192.168.2.1(Under DNS servers, use 192.168.2.1 as well.)Then, plug it into the temporary diagnostic port.If setup of the FortiGate and the GS1900 is correct,you should be able to PING 192.168.2.1and get a response back from the FortiGate.(You shouldn't be able to get to the internet at this point,but you SHOULD be able to acccess the FortiGate viahttps://192.168.2.1, since we enabled HTTP access earlier.)4.) Don't proceed any further unless the testing is successful.5.) Log into your phone system, controller,and set its IP address to:192.168.2.254 / 255.255.255.0 / 192.168.2.1You can use whatever address you prefer;I tend to place network gear at the top endof the address range, others prefer the low end.6.) Once set, plug your phone system controllerinto the permanent port that we created earlier.7.) You should now be able to PING your phone controllerat its new address.8.) Don't proceed any further if you can't ping the phone controller.9.) Plug one of your IP phones into one of the ports that weset up with the Telephony/Voice-VLAN settingsfrom our previous conversations.10.) Go into the menu settings of the phone, and set it toan arbitrary IP address, such as192.168.2.50 / 255.255.255.0 / 192.168.2.1You'll have to tell the phone the new address of theNEC Phone controller as well.I don't know if there is a manual VLAN settinginside the NEC phones or not.If there is, let's just leave it alone for now, and see what happens.The phone may try to discover the correct VLAN, in which casethe GS1900 switch should assign it automatically.11.) Let's see if the phone starts up, and can reach the phone system.If not, go back into the phone settings, and manually updatethe VLAN to VLAN2, and try again.If everything works up to this point, then well done.The next step is to allow DNS / Internet connectivityto your phones and phone system, which is often neededfor firmware updates, access to NTP time servers, etc.That will be a separate discussion though,as I'm getting a little punchy, and need some sleep. ;-)For ease of set-up,I'd need to know whereyour network gets its DNS information from.1.) You have your own, separate in-house DNS server.2.) The FortiGate is acting as the DNS server for your network.3.) Your PC's get their DNS directly from an external DNS server.If you're not familiar with how to determine that,the quickest way is to drop down to a DOS prompt(from one of your regularly-connected PC's)and type in: NSLOOKUP and hit enter.It should give you an IP address.If the IP address isn't within your existing 192.168.1.xsubnet, then your computers are reaching out directlyto external DNS servers.If the IP address matches the IP address of your FortiGate,then your FortiGate is providing the DNS for your office,which is a fairly common method.If the IP address is for some other machine inside your office,then obviously, you have your own in-house DNS server.Hope this helps, for now.0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight