* Issue Setting meta broute
@ 2024-09-09 21:20 Dustin Lieu
2024-09-10 13:30 ` Florian Westphal
0 siblings, 1 reply; 2+ messages in thread
From: Dustin Lieu @ 2024-09-09 21:20 UTC (permalink / raw)
To: netfilter
Hello,
When I try adding a rule to set meta broute, I get an error that says it's not supported. I'm running nftables version v1.0.9, which should support broute. Does anyone know what the issue could be?
$ nft --version
nftables v1.0.9 (Old Doc Yak #3)
$ nft add table bridge bridge_rules
$ nft add chain bridge bridge_rules prerouting "{ type filter hook prerouting priority 0; policy accept; }"
$ nft add rule bridge bridge_rules prerouting meta broute set 1
Error: Could not process rule: Not supported
add rule bridge bridge_rules prerouting meta broute set 1
^^^^^^^^^^^^^^^^^
Thanks,
Dustin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Issue Setting meta broute
2024-09-09 21:20 Issue Setting meta broute Dustin Lieu
@ 2024-09-10 13:30 ` Florian Westphal
0 siblings, 0 replies; 2+ messages in thread
From: Florian Westphal @ 2024-09-10 13:30 UTC (permalink / raw)
To: Dustin Lieu; +Cc: netfilter
Dustin Lieu <whale_163@fastmail.com> wrote:
> Hello,
>
> When I try adding a rule to set meta broute, I get an error that says it's not supported. I'm running nftables version v1.0.9, which should support broute. Does anyone know what the issue could be?
>
> $ nft --version
> nftables v1.0.9 (Old Doc Yak #3)
>
> $ nft add table bridge bridge_rules
> $ nft add chain bridge bridge_rules prerouting "{ type filter hook prerouting priority 0; policy accept; }"
> $ nft add rule bridge bridge_rules prerouting meta broute set 1
Worksforme on 6.10:
table bridge bridge_rules {
chain prerouting {
type filter hook prerouting priority 0; policy accept;
meta broute set 1
}
}
> Error: Could not process rule: Not supported
> add rule bridge bridge_rules prerouting meta broute set 1
> ^^^^^^^^^^^^^^^^^
Kernel lacks support, this needs 6.4 or later and
CONFIG_NFT_BRIDGE_META=y or =m in kernel config.
'modinfo nft-meta-bridge' would tell if module is present or not.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-10 13:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 21:20 Issue Setting meta broute Dustin Lieu
2024-09-10 13:30 ` Florian Westphal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).