Files
ContainerManagement/Macvlan/README.md
jonas@geiger-natur.de a1cfe0a1ae Macvlan README filled
2024-07-26 19:56:31 +02:00

1.7 KiB

Macvlan

The installation has been done on a Synology DS720 but sould work on any System using Portainer

Why Macvlan?

Macvlan allows you to structure your container network according to your preferences.

Prerequisites

Further Prerequisites you can find on docker docs.

Installation Guide

Open your local Environment on Portainer and choose "Networks"

Network Configuration

First you need to add a Network Configuration. That will be used in your Creation later. It sets the rules and boundaries for how the network will operate and is reusable.

So click on "Add network" and name it. Then select macvlan as Driver and Configuration as Macvlan Configuration.

Configuration Driverconfiguration - Example

To find out your Parent network card you should connect to your system which is running Portainer with ssh and run

ifconfig

and hit Enter.

You should receive a list of elements. Search for your the ipaddress

Parent Network Card - Example

After that fill the IPV4 Network configurtion. For example:

Configuration Networkconfiguration - Example

Now select "Creat the network" and you can go on with the Creation.

Network Creation

Add a Network Configuration, select Creation and choose your Configuration.

Creation Configuration - Example

Then select "Creat the network" and you're done.