Re: Multiple IP/subnet in jail, source address for connections

2015-08-26 Thread Florian Ermisch
On Mon, Aug 24, 2015 at 2:24 PM, Frank de Bot (lists) li...@searchy.net wrote: Hello, I'm trying to have jail with a public and a private IP address. Both are on the same interface. The public is called 79.x.x.213 and private 10.4.3.6 Out from ifconfig within the jail is:

Re: Multiple IP/subnet in jail, source address for connections

2015-08-26 Thread Florian Ermisch
On Mon, Aug 24, 2015 at 2:24 PM, Frank de Bot (lists) li...@searchy.net wrote: Hello, I'm trying to have jail with a public and a private IP address. Both are on the same interface. The public is called 79.x.x.213 and private 10.4.3.6 Out from ifconfig within the jail is:

Re: Multiple IP/subnet in jail, source address for connections

2015-08-25 Thread Frank de Bot
Michael Loftis wrote: Normally when jails are added their IPs are created as normal aliases, so they'll get a /32 netmask when you don't specify. So Depending on how you're creating the jail you'll need to specify the netmask with the IP wherever you configure your jail. (You didn't mention

Multiple IP/subnet in jail, source address for connections

2015-08-24 Thread Frank de Bot (lists)
Hello, I'm trying to have jail with a public and a private IP address. Both are on the same interface. The public is called 79.x.x.213 and private 10.4.3.6 Out from ifconfig within the jail is: inet 79.x.x.213 netmask 0x broadcast 79.x.x.213 inet 10.4.3.6 netmask

Re: Multiple IP/subnet in jail, source address for connections

2015-08-24 Thread Michael Loftis
Normally when jails are added their IPs are created as normal aliases, so they'll get a /32 netmask when you don't specify. So Depending on how you're creating the jail you'll need to specify the netmask with the IP wherever you configure your jail. (You didn't mention if you're using ezjail or