Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

2nd Network Interface for iocage jail

TW1920

Neophyte
Joined
Jan 4, 2019
Messages
11
Hello,

I have some iocage plugins - all working well. I know how to choose a specific network interface for a iocage jail on FreeNas 11.2 - but how can I add a second interface. I have to different networks and some jails should have access to both networks.
I couldn't find a solution for it. It would be great if somebody could help me adding a 2nd ntwork interface :)

Thanks
 

TW1920

Neophyte
Joined
Jan 4, 2019
Messages
11
@dlavigne nope. I found some maybe useful stuff for old jails, but there are other config files for iocage - I found a lot stuff to configurate the one interface or how to change it, but there's nothing about a second interface :/

On the config.json of the jail there I found this:
Code:
    "ip4": "new",
    "ip4_addr": "igb3|192.168.X.XXX/24",
    "ip4_saddrsel": "1",
    "ip6": "new",
    "ip6_addr": "vnet0|accept_rtadv",
    "ip6_saddrsel": "1",


After I could'nt found useful informations, I think to add a second "ip4_addr" line with other Interface, but at the moment I don't know what will be happened.
 
Top