Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 


3221 posts

Uber Geek


  #1492410 15-Feb-2016 08:57
Send private message

fe31nz:

 

I now have my EdgeRouter Lite sending my VOIP packets with VLAN PRI set to 5, which seems to be what Chorus want for traffic to use the committed bandwidth and have priority over other traffic on the fibre.  This is the command I had to add to my config:

 

set interfaces ethernet eth0 vif 10 egress-qos "1:5 2:5 3:5 4:5 5:5 6:5 7:5"

 

It seems like that command will make all packets with a non-zero DSCP value have a VLAN PRI of 5, but I am still not sure how the settings work.  I have no way of verifying that the packets are actually using my CIR bandwidth either - I will only find out when there is bad congestion happening sometime in the future.

 

I also noticed that the 2D/Snap VOIP packets I am receiving do not have the VLAN PRI field set.  I really think they need to fix that, so that when everyone is on fibre, the VOIP traffic will have priority.  They do have the DSCP field set - the SIP packets are set to CS3, and the RTP packets to EF.

 

 

Are you sure it shouldn't be:

 

set interfaces ethernet eth0 vif 10 pppoe 0 egress-qos "1:5 2:5 3:5 4:5 5:5 6:5 7:5"

 

Also, if the command is doing what you suggest, wouldn't this only work if all your VoIP traffic is already tagged with a value of 1-7?




3221 posts

Uber Geek


  #1492412 15-Feb-2016 09:01
Send private message

Paul1977:

 

fe31nz:

 

I now have my EdgeRouter Lite sending my VOIP packets with VLAN PRI set to 5, which seems to be what Chorus want for traffic to use the committed bandwidth and have priority over other traffic on the fibre.  This is the command I had to add to my config:

 

set interfaces ethernet eth0 vif 10 egress-qos "1:5 2:5 3:5 4:5 5:5 6:5 7:5"

 

It seems like that command will make all packets with a non-zero DSCP value have a VLAN PRI of 5, but I am still not sure how the settings work.  I have no way of verifying that the packets are actually using my CIR bandwidth either - I will only find out when there is bad congestion happening sometime in the future.

 

I also noticed that the 2D/Snap VOIP packets I am receiving do not have the VLAN PRI field set.  I really think they need to fix that, so that when everyone is on fibre, the VOIP traffic will have priority.  They do have the DSCP field set - the SIP packets are set to CS3, and the RTP packets to EF.

 

 

Are you sure it shouldn't be:

 

set interfaces ethernet eth0 vif 10 pppoe 0 egress-qos "1:5 2:5 3:5 4:5 5:5 6:5 7:5"

 

Also, if the command is doing what you suggest, wouldn't this only work if all your VoIP traffic is already tagged with a value of 1-7?

 

 

Oh wait, is this the EdgeRouter you have connected to the Internet, or the second one?


 
 
 
 


560 posts

Ultimate Geek


  #1492718 15-Feb-2016 16:18
Send private message

Paul1977:

 

fe31nz:

 

I now have my EdgeRouter Lite sending my VOIP packets with VLAN PRI set to 5, which seems to be what Chorus want for traffic to use the committed bandwidth and have priority over other traffic on the fibre.  This is the command I had to add to my config:

 

set interfaces ethernet eth0 vif 10 egress-qos "1:5 2:5 3:5 4:5 5:5 6:5 7:5"

 

It seems like that command will make all packets with a non-zero DSCP value have a VLAN PRI of 5, but I am still not sure how the settings work.  I have no way of verifying that the packets are actually using my CIR bandwidth either - I will only find out when there is bad congestion happening sometime in the future.

 

I also noticed that the 2D/Snap VOIP packets I am receiving do not have the VLAN PRI field set.  I really think they need to fix that, so that when everyone is on fibre, the VOIP traffic will have priority.  They do have the DSCP field set - the SIP packets are set to CS3, and the RTP packets to EF.

 

 

Are you sure it shouldn't be:

 

set interfaces ethernet eth0 vif 10 pppoe 0 egress-qos "1:5 2:5 3:5 4:5 5:5 6:5 7:5"

 

Also, if the command is doing what you suggest, wouldn't this only work if all your VoIP traffic is already tagged with a value of 1-7?

 

 

No, the VLAN tagging is done on the VLAN, not the PPPoE interface.  The VLAN header is where the PRI field is - not in any of the PPPoE headers or packets.  The egress-qos option is not valid on the pppoe settings - it must be on the VLAN (vif 10) settings.

 

As I said, I do not understand where the SO_PRIORITY socket field referenced by the left hand side of those settings comes from.  Somehow, it seems to come from the DSCP field in the IP header, but that is not what it is documented as.  If it were, the documentation would be referencing the IP_TOS field for a socket.  While writing this reply, I did finally come across this page:

 

https://www.rationali.st/blog/dscp-vs-linux-socket-priorities.html

 

which explains how it seems to work, but it is not official documenation.




3221 posts

Uber Geek


  #1493035 16-Feb-2016 09:22
Send private message

fe31nz:

 

No, the VLAN tagging is done on the VLAN, not the PPPoE interface.  The VLAN header is where the PRI field is - not in any of the PPPoE headers or packets.  The egress-qos option is not valid on the pppoe settings - it must be on the VLAN (vif 10) settings.

 

As I said, I do not understand where the SO_PRIORITY socket field referenced by the left hand side of those settings comes from.  Somehow, it seems to come from the DSCP field in the IP header, but that is not what it is documented as.  If it were, the documentation would be referencing the IP_TOS field for a socket.  While writing this reply, I did finally come across this page:

 

https://www.rationali.st/blog/dscp-vs-linux-socket-priorities.html

 

which explains how it seems to work, but it is not official documenation.

 

 

Thanks for that, just to make sure I understand:

 

The left field in the command is the Linux Prio field from the referenced table, and the EdgeRouter automatically knows this value for each packet based on the DSCP field that the Fritz is now assigning the VoIP traffic?

 

So this command would work just as well (since DSCP 46 and 24 correspond to Linux Prio 2 and 4 respectively)?:

 

set interfaces ethernet eth0 vif 10 egress-qos "2:5 4:5"

 

Am I correct that this isn't actually performing any QoS, but rather just tagging the traffic so that QoS is perform on subsequent hops? So therefore not disabling hardware offloading on the EdgeRouter?


'That VDSL Cat'
12316 posts

Uber Geek

Trusted
Spark
Subscriber

  #1493267 16-Feb-2016 14:42
Send private message

Paul1977:

 

 

 

Am I correct that this isn't actually performing any QoS, but rather just tagging the traffic so that QoS is perform on subsequent hops? So therefore not disabling hardware offloading on the EdgeRouter?

 

 

the idea is to use the CIR on the ufb, where its handled as high probity traffic past your router.





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.

 


560 posts

Ultimate Geek


  #1493430 16-Feb-2016 20:34
Send private message

Paul1977:

 

Thanks for that, just to make sure I understand:

 

The left field in the command is the Linux Prio field from the referenced table, and the EdgeRouter automatically knows this value for each packet based on the DSCP field that the Fritz is now assigning the VoIP traffic?

 

So this command would work just as well (since DSCP 46 and 24 correspond to Linux Prio 2 and 4 respectively)?:

 

set interfaces ethernet eth0 vif 10 egress-qos "2:5 4:5"

 

Am I correct that this isn't actually performing any QoS, but rather just tagging the traffic so that QoS is perform on subsequent hops? So therefore not disabling hardware offloading on the EdgeRouter?

 

 

That is pretty much correct, except that the Linux kernel is a bit behind the times and is referencing the TOS bits rather than the DSCP bits.

 

I have other DSCP tagged traffic, and I want all the other non-zero tags to be mapped to CIR bandwidth, hence my setting of egress-qos "1:5 2:5 3:5 4:5 5:5 6:5 7:5".

 

I am not doing any QoS inside my EdgeRouter Lite as that would cut the speed it routes packets to well below my 200 Mbit/s fibre speed by disabling offloading.  In any case, there is no need as I do not have any congestion problems on my internal network that would affect the VOIP traffic.


1 | 2 | 3 
View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Menulog change colours as parent company merges with Dutch food delivery service
Posted 2-Jul-2020 07:53


Techweek2020 goes digital to make it easier for Kiwis to connect and learn
Posted 2-Jul-2020 07:48


Catalyst Cloud launches new Solutions Hub to support their kiwi Partners and Customers
Posted 2-Jul-2020 07:44


Microsoft to help New Zealand job seekers acquire new digital skills needed for the COVID-19 economy
Posted 2-Jul-2020 07:41


Hewlett Packard Enterprise introduces new HPE GreenLake cloud services
Posted 24-Jun-2020 08:07


New cloud data protection services from Hewlett Packard Enterprise
Posted 24-Jun-2020 07:58


Hewlett Packard Enterprise unveils HPE Ezmeral, new software portfolio and brand
Posted 24-Jun-2020 07:10


Apple reveals new developer technologies to foster the next generation of apps
Posted 23-Jun-2020 15:30


Poly introduces solutions for Microsoft Teams Rooms
Posted 23-Jun-2020 15:14


Lenovo launches new ThinkPad P Series mobile workstations
Posted 23-Jun-2020 09:17


Lenovo brings Linux certification to ThinkPad and ThinkStation Workstation portfolio
Posted 23-Jun-2020 08:56


Apple introduces new features for iPhone iOS14 and iPadOS 14
Posted 23-Jun-2020 08:28


Apple announces Mac transition to Apple silicon
Posted 23-Jun-2020 08:18


OPPO A72 a top mid-tier smartphone
Posted 19-Jun-2020 18:02


D-Link A/NZ launches new smart AX1500 Wi-Fi 6 Router
Posted 19-Jun-2020 15:03



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.