fireqos-interface(5)

πŸ“¦
version 3.1.8 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– fireqos-interface β€” the manual page, but make it make sense

okay bestie, welcome to fireqos-interface(5) from the FireQOS Reference (that's version 3.1.8, iykyk) πŸŽ€

This page is all about creating an interface definition β€” like, the moment where you tell FireQOS "hey, this is the thing I want to shape traffic on". Let's get into it. πŸ¦‹


✨ SYNOPSIS ✨

{ interface | interface4 } device name direction [optional-class-params]
{ rate | commit | min } speed

interface46 ...

interface6 ...

🌸 DESCRIPTION 🌸

So here's the tea on which keyword you pick, because they are not all the same:

  • Write interface or interface4 and you're applying traffic shaping rules only to IPv4 traffic. v4 only, no v6 invited. πŸ’…
  • Write interface6 and you're applying traffic shaping rules only to IPv6 traffic. v6 only, v4 stay home. ✨
  • Write interface46 and you're applying traffic shaping rules to both IPv4 and IPv6 traffic. the bothies. the whole squad. πŸ‘‘

And the actual traffic shaping behaviour of a class? That's defined by adding classes. Go read fireqos-class(5) for that part, bestie. πŸ“š

Note β€” okay this one is IMPORTANT, no cap. To get the best results with incoming traffic shaping, you should not use 100% of the available bandwidth at the interface level. Why? Because if you use all there is, at 100% utilisation of the link, the neighbour routers will start queuing packets. And that will destroy prioritisation. πŸ’€ Like, completely ruin it. Try 85% or 90% instead. Trust. 🫢

πŸŽ€ PARAMETERS πŸŽ€

  • device β€” this is the interface name as shown by ip link show (so like eth0, ppp1, etc.). basically the name of the actual network thing. 🧚
  • name β€” this is a single-word name for this interface, and it's used for retrieving status information later. pick something cute and memorable, bestie, you'll be seeing it again. πŸ“
  • direction β€” okay so this one has options:
    • If set to input, traffic coming in to the interface is shaped. ⬅️
    • If set to output, traffic going out via the interface is shaped. ➑️
    • If set to bidirectional, traffic for both input and output can be shaped. πŸ”„ And if you need to differentiate input and output parameters per statements within the interface, you can prefix them with input or output like this:
interface eth0 lan bidirectional ...
    class voip input commit 1Mbit output commit 2Mbit ...
  • optional-class-params β€” for a list of optional class parameters which can be applied to an interface, go check out fireqos-params-class(5). πŸ‘€
  • speed β€” for an interface, the committed speed must be specified with the rate option. The speed can be expressed in any of the units described in fireqos.conf(5). πŸ“

🌈 EXAMPLES 🌈

Wanna create an input policy on eth0, capable of delivering up to 1Gbit of traffic? Say less:

interface eth0 lan-in input rate 1Gbit

slay. that's it. that's the whole thing. πŸ’…βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’œ AUTHORS πŸ’œ

FireHOL Team. (the icons, fr fr 🫢)


FireQOS Reference Β· Built 13 Apr 2025 Β· that's the version 3.1.8 energy, periodt. go shape some traffic bestie, and remember: 85–90%, not 100%. πŸ˜­πŸ’–

πŸ“¦ where this page comes from