Jail

Attach a network to a jail

Create a network attachment for an inactive jail. The jail must not inherit host networking, and a filtered switch requires an explicit access or trunk VLAN policy.

post/jail/{ctid}/networks

Path parameters

ctidinteger required

Jail CTID

Request body

defaultGatewayboolean
dhcpboolean
ip4integer
ip4Rawstring
ip4gwinteger
ip4gwRawstring
ip6integer
ip6Rawstring
ip6gwinteger
ip6gwRawstring
macIdinteger
macRawstring
namestring required
slaacboolean
switchNamestring required

Response

Created

errorstring
messagestring
statusstring

Changes