Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

Support for ipvlan or macvlan? #810

Description

@gaby

I was wondering if there's way to run ignite microVM's using Docker ipvlan/macvlan?

Usually the way I go about this is:

docker network create -d ipvlan --subnet=10.0.2.0/24 -o parent=enp0s3.2 vlan_2
docker network create -d ipvlan --subnet=10.0.4.0/24 -o parent=enp0s3.4 vlan_4

docker run -it --rm --net=vlan_2 --ip=10.0.2.15 alpine ipconfig
docker run -it --rm --net=vlan_4 --ip=10.0.4.15 alpine ipconfig

No only this setup gives you static-ips on each container, you also get L2 isolation via vlan trunking. Looking at the help menu from ignite the only option is "network-plugin" which only supports "docker-bridge".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions