containerlab icon indicating copy to clipboard operation
containerlab copied to clipboard

`macvlan` driver for management network

Open hellt opened this issue 4 years ago • 8 comments

To allow for clab nodes to be reachable from outside of the containerlab host a multiple techniques can be used.

Some of them are documented in clab docs.

One of the ways that is not yet implemented in clab is to be able to use macvlan network for clab nodes. This can allow for clab nodes to appear to be connected to a host interface directly (a bridge interface or a physical nic interface) and thus be addressed from the same address space the interface is.

This can let systems and machines that has a route to a network that includes that host interface to reach the clab nodes launched with macvlan network type.

Read more about it here:

  • https://docs.docker.com/network/macvlan/
  • https://docs.docker.com/network/network-tutorial-macvlan/
  • https://collabnix.com/2-minutes-to-docker-macvlan-networking-a-beginners-guide/

hellt avatar Jun 25 '21 12:06 hellt

Close as Done? Or am I missing something here?

steiler avatar Aug 17 '23 09:08 steiler

@steiler this is similar but different https://github.com/srl-labs/containerlab/issues/1393#issuecomment-1550867397

hellt avatar Aug 17 '23 19:08 hellt

OK, yes I remember the discussion now. Thanks

steiler avatar Aug 17 '23 20:08 steiler