I recently started using VyOS, was previously on Vyatta 6.3.
Vyatta had a modify firewall that allowed you to set DSCP. This seems to now be gone, or am I missing something? If so, is there a new way to set DSCP? I’m not seeing any commands to do this.
In the last link I gave you, there is a clear example
[quote]vyos@vyos:~$ show version
Version: VyOS 1.0.2
Description: VyOS 1.0.2 (hydrogen)
Copyright: 2014 SO3 Group
Built by: maintainers@vyos.net
Built on: Sun Feb 2 15:49:43 UTC 2014
Build ID: 1402021549-59dba31
System type: Intel 64bit
Boot via: image
Hypervisor: KVM
HW model: Bochs
HW S/N: Not Specified
HW UUID: Not Settable
Uptime: 00:50:26 up 20:41, 2 users, load average: 0.00, 0.01, 0.05
vyos@vyos:~$ show configuration commands |grep traffic-policy
set traffic-policy shaper voip bandwidth ‘500kbit’
set traffic-policy shaper voip class 10 bandwidth ‘15%’
set traffic-policy shaper voip class 10 burst ‘15k’
set traffic-policy shaper voip class 10 ceiling ‘100%’
set traffic-policy shaper voip class 10 match voip-rtp ip dscp ‘46’
set traffic-policy shaper voip class 10 queue-limit ‘4’
set traffic-policy shaper voip class 10 queue-type ‘fair-queue’
set traffic-policy shaper voip default bandwidth ‘50%’
set traffic-policy shaper voip default burst ‘15k’
set traffic-policy shaper voip default ceiling ‘100%’
set traffic-policy shaper voip default queue-limit ‘4’
set traffic-policy shaper voip default queue-type ‘fair-queue’
[/quote]
When you add a Vyos Image to a running vc6.3, the commands in the running config should be converted to new syntax
Thanks, but that example is a traffic-shaper matching traffic by DSCP.
I am looking to set DSCP on packets destined for particular IPs/networks (to later be used for traffic shaper matching, similar to that example)
The scenario is that I have a router with a 1Gbps port to the Internet, and need to shape traffic destined for particular IPs that route out a 100Mbps link on the same router. The 100Mbps link is a gig port, but is shaped to 100Mbps.
Hi, I think firewall modify was replaced by policy routing. set policy route setdscp8 rule 5 set dscp 8 may possibly be part of what you are trying to do. See Vyatta-PolicyBasedRouting_6.5R1_v01.pdf