bastille icon indicating copy to clipboard operation
bastille copied to clipboard

[ENHANCEMENT]availability of ip4/6 = inherit mode

Open s1dh opened this issue 3 years ago • 5 comments

an inherit mode for sharing host IP address would be usefull

It is provided by jail() and even iocage too

s1dh avatar Mar 24 '21 21:03 s1dh

Can you provide examples and/or usage?

cedwards avatar May 05 '21 01:05 cedwards

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.

s1dh avatar May 18 '21 16:05 s1dh

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

cedwards avatar Jul 24 '22 03:07 cedwards

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

bmac2 avatar Oct 20 '23 17:10 bmac2

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.

jazzi avatar Apr 17 '24 07:04 jazzi