Bridge two virtual interfaces

Hello and Happy New Year!
I'm trying to bridge two virtual ethernet interfaces. Package kmod-veth is installed, system is rebooted. I'm using Openwrt 21.02.2 on x86.
My provider gives me more than one IP address, but I should use different MAC addresses for the interface when requesting it. Traffic is coming from the provider through a VLAN.
I have added a new veth, created a new bridge, added veth0 to the bridge, added physical ETH (from provider), and the bridge isn't going UP, nor the interface (DEVICE_CLAIM_FAILED).
If I assign this bridge directly to an interface, it immediately goes UP(no internet of course).
Is it even possible?

Does this help?

1 Like

Seems legit, but I have done very similar thing. As I said, my bridge where the 3 interfaces are coupled is not bringing up (needs to be attached to a Interface).

Ended up using kmod-macvlan and selecting the VLAN as a parent device.
For example if my physical device is eth1, the VLAN device is eth1.123. Then I've created two mac devices and made two separate interfaces on them.
Seems to work for now!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.