[Firehol-support] link-balancer: argument "0x" is wrong

Jonathan Baecker jonbae77 at gmail.com
Tue May 9 21:03:37 BST 2017


Hello,

I have set up link-balancer, and it looks that everything is working, 
but at the end I get this error:

    - finalize_rules  4
     # run  /sbin/ip -4 rule show  ...   OK
        # run  /sbin/ip -4 rule del priority 1300 from all fwmark 
0x4/0x3f lookup main  ...   OK
        # run  /sbin/ip -4 rule add priority 1300 from all fwmark 
0x4/0x3f  ...   OK
        # run  /sbin/ip -4 rule add priority 1301 from all fwmark 
0x/0x3f  ...   FAILED
Error: argument "0x" is wrong: fwmark value is invalid

WARNING 5@/var/run/link-balancer/temp-bRqL87gk43/rules.script.4: 
lb_diff_rule: Command: '/sbin/ip -4 rule add priority 1301 from all 
fwmark 0x/0x3f' exited with code 255.

        # run  /sbin/ip -4 rule add priority 1302 from all fwmark 
0x/0x3f  ...   FAILED
Error: argument "0x" is wrong: fwmark value is invalid

WARNING 6@/var/run/link-balancer/temp-bRqL87gk43/rules.script.4: 
lb_diff_rule: Command: '/sbin/ip -4 rule add priority 1302 from all 
fwmark 0x/0x3f' exited with code 255.


The funny thing is, that I don't use this mark ID "0x". My config have 
this settings:

gateway wangw1 dev ${dev1} gw ${gate1}
gateway wangw2 dev ${dev2} gw ${gate2}
gateway wlang4 dev ${dev4} gw ${gate4}

table wan1
         default via wangw1

table wan2
         default via wangw2

table main
         default via wangw1 weight 250
         fallback via wangw2

table wlanguest
         default via wlang4

policy
         connmark 0x1 table wan1
         connmark 0x2 table wan2
         connmark 0x4 talbe wlanguest

         rules src 192.168.3.10 table wan2
         rules dst 192.168.3.10 table wan2

         rules scr gw-src-ips wlang4 table wan1

Is there any mistake in my config what cause this issue?

Regards,

Jonathan




More information about the Firehol-support mailing list