wgX iface as slave to a bridge - Linux

Roman Mamedov rm at romanrm.net
Sun Apr 25 14:07:31 UTC 2021


On Sat, 24 Apr 2021 11:11:50 +0100
lejeczek <peljasz at yahoo.co.uk> wrote:

> Hi guys.
> 
> Apologies, I'll bother you guys as I failed to find some 
> better places to ask, I searched for forums etc. but failed.
> 
> Can wiregurard ifaces be enslaved by LInux bridge? I tried 
> but it did not work for me. Similarly "mavclan" - 
> would/should wireguard work that way?
> What I've tried and failed was on CentOS stream with 
> 4.18.0-294.el8.x86_64.

As others have replied, it is an L3 interface, not L2 which can join bridges.
One solution that many use is to run an L2 tunnel over WireGuard, such as
VXLAN or GRETAP. But then you lose even more MTU compared to the standard 1500.

-- 
With respect,
Roman


More information about the WireGuard mailing list