Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Pasta #690

Closed
53c70r opened this issue May 6, 2023 · 5 comments
Closed

Support for Pasta #690

53c70r opened this issue May 6, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@53c70r
Copy link

53c70r commented May 6, 2023

Please support "network_mode: pasta" since this seams to be the only solution to fully support ipv4, ipv6 and real source IP signalling.

@53c70r 53c70r added the enhancement New feature or request label May 6, 2023
@Pamalosebi
Copy link

@Akruidenberg
Copy link

+1 for me!

@muayyad-alsadi
Copy link
Collaborator

please provide me with minimal podman cli command do run two busybox http containers in pasta mode?

is this is the same as podman network create -o mode=passthru mynet1

https://docs.podman.io/en/latest/markdown/podman-network-create.1.html

mode: This option sets the specified ip/macvlan mode on the interface. Supported values for macvlan are bridge, private, vepa, passthru. Defaults to bridge.

here I see it in podman run ...
but I need it as podman network create if possible

https://docs.podman.io/en/latest/markdown/podman-run.1.html#network-mode-net

@Pamalosebi
Copy link

hmm... Here is mentioned, that there will be changes around "pasta" in podman-network-create:
https://docs.podman.io/en/latest/markdown/podman-network-create.1.html#description

NOTE: The support for the network name “pasta” is deprecated and will be removed in the next major release because it is used as a special network mode in podman run/create --network.

That propably means, that podman network create won't work with pasta.

But it also means, that something like this should continue to work:
https://docs.podman.io/en/latest/markdown/podman-run.1.html#network-mode-net:~:text=user%2Ddefined%20networks.-,pasta,-%5B%3AOPTIONS%2C%E2%80%A6%5D%3A%20use

podman create --network="pasta" -d --name busybox1 busybox httpd -f -p 8080
podman create --network="pasta" -d --name busybox2 busybox httpd -f -p 8080

@p12tic
Copy link
Collaborator

p12tic commented May 4, 2024

Fixed in #867.

@p12tic p12tic closed this as completed May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants