rootless-containers / slirp4netns

User-mode networking for unprivileged network namespaces
GNU General Public License v2.0
715 stars 82 forks source link

Layer 2 only networking mode between rootless containers #298

Open ghost opened 2 years ago

ghost commented 2 years ago

I'm experimenting with the idea of layer 2 only rootless containers with the goal to test not IP protocols. Is there any way to use slirp4netns for connecting podman containers with raw network interfaces (without IP address). There is no need for external access.

AkihiroSuda commented 2 years ago

No, because an unprivileged user does not have CAP_NET_RAW