can jail use 2 NICS?

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Sun Nov 16 02:15:10 PST 2008


On Fri, 14 Nov 2008, Ruben van Staveren wrote:

Hi,

> I ran into this issue myself, and repatched /etc/rc.d/jail to work with this
>
> jail_erg_ipv6="net0|2001:980:fff:96::c0a8:181"                  # Jail's IP 
> number
> jail_erg_ip="192.168.1.129"                  # Jail's IP number
> jail_erg_interface="lo0"
>
> So default for everything is lo0, but you can override stuff by prefixing and 
> address with <iface>|<addr>
>
> Have fun at http://ruben.is.verweg.com/stuff/jail
> of course, YMMV

would that work as well with multiple IPs (per address family)? I kind
of lost track. An are you also supporting the netmask feature from
ru@?

-- 
Bjoern A. Zeeb              Stop bit received. Insert coin for new game.


More information about the freebsd-jail mailing list