srl-labs / containerlab

container-based networking labs
https://containerlab.dev
BSD 3-Clause "New" or "Revised" License
1.53k stars 262 forks source link

`macvlan` driver for management network #475

Open hellt opened 3 years ago

hellt commented 3 years ago

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:

steiler commented 1 year ago

Close as Done? Or am I missing something here?

hellt commented 1 year ago

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

steiler commented 1 year ago

OK, yes I remember the discussion now. Thanks