r/openwrt•
Baked_Potato2005

Has anyone tried giving static routes through a bonding interface?

this is my config

config device
        option name 'bond0'
        option type 'bonding'
        list ports 'eth6'
        list ports 'eth5'
        option policy 'balance-rr'
        option monitor_interval '100'
        option xmit_hash_policy 'layer3+4'
        option lacp_rate 'fast'
        option updelay '200'
        option downdelay '200'
        option all_slaves_active '1'

config interface
        option name 'br-bond'
        option device 'bond0'
        option proto 'static'
        option ipaddr '192.168.10.1'
        option netmask '255.255.255.0'

config route 'staticRoute'
        option target '192.168.58.0'
        option netmask '255.255.255.0'
        option gateway '192.168.10.2'
        option interface 'bond0'
        option onlink '1'

the bond is up btw and i dont think it should matter as long as i have given onlink='1'. any ideas?

Posted Nov 10, 2025, 12:11 PM UTC

10
Loading comments…