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

[ENHANCEMENT]availability of ip4/6 = inherit mode #369

Open
s1dh opened this issue Mar 24, 2021 · 5 comments
Open

[ENHANCEMENT]availability of ip4/6 = inherit mode #369

s1dh opened this issue Mar 24, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@s1dh
Copy link

s1dh commented Mar 24, 2021

an inherit mode for sharing host IP address would be usefull

It is provided by jail() and even iocage too

@s1dh s1dh added the enhancement New feature or request label Mar 24, 2021
@cedwards
Copy link
Contributor

cedwards commented May 5, 2021

Can you provide examples and/or usage?

@s1dh
Copy link
Author

s1dh commented May 18, 2021

inherit is a possible value for ip4/ip6 core parameter of jail(8) to use host's listening address, It is very handy to quickly test jailed services (upgrade/migration) on hosted testing servers, no need to setup IP for the jail so you can zfs send/recv jail from one test server to another very easily.

@cedwards
Copy link
Contributor

I threw together a patch to support ip4/ip6 inherit. Will do a bit more testing before I merge.

@bmac2
Copy link
Collaborator

bmac2 commented Oct 20, 2023

@cedwards was this patch merged previously????? What PR was it under?

@jazzi
Copy link

jazzi commented Apr 17, 2024

Here is my usage that needs this feature @cedwards

I have a very simple home server, just two services: NFS and Mpd music server, to simplify life I don't want to remember two IPs, just want all share the same IP with the host. Lazy? but easy.

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

4 participants