Creating a "permanent" MACVLAN bridge.

gkoerk
First post
Posts: 1
Joined: Sat Jul 22, 2017 9:56 pm

Creating a "permanent" MACVLAN bridge.

Postby gkoerk » Sat Aug 11, 2018 5:11 am

Hi everyone!

I'm trying to create a MACVLAN bridge to use with an LXC container. This works fine from the command-line, but does not survive a reboot. Does anyone know how I could persist this interface beyond reboots, either with some Entware PKG, a QPKG, or a script?

Here is the code:

Code: Select all

ip link add mvlan0 link eth0 type macvlan mode bridge
ifconfig mvlan0 up

Return to “Container Station”

Who is online

Users browsing this forum: No registered users and 10 guests