jails in different private subnets on the same host

2016-05-18 Thread Grzegorz Junka
Is it possible to have two jails on the same host each one in a different private subnet, e.g. 192.168.1.0 and 10.33.1.0, and have routing between them working without issues? I know it's possible to run jails with IPs in those two subnets but it seems there is no routing and I am not sure if

Re: jails in different private subnets on the same host

2016-05-18 Thread Bjoern A. Zeeb
> On 18 May 2016, at 14:00 , Grzegorz Junka wrote: > > Is it possible to have two jails on the same host each one in a different > private subnet, e.g. 192.168.1.0 and 10.33.1.0, and have routing between them > working without issues? > > I know it's possible to run jails with IPs in those tw

Re: jails in different private subnets on the same host

2016-05-18 Thread Grzegorz Junka
On 18/05/2016 14:11, Bjoern A. Zeeb wrote: >> On 18 May 2016, at 14:00 , Grzegorz Junka >> wrote: >> >> Is it possible to have two jails on the same host each one in a >> different private subnet, e.g. 192.168.1.0 and 10.33.1.0, and have >> routing between them working without issues? >> >> I

netstat -rn in jail doesn't work

2016-05-18 Thread Grzegorz Junka
What may be the reason that netstat -rn works in one jail and doesn't in another? root@app2:/ # netstat -rn Routing tables Internet: DestinationGatewayFlags Netif Expire 192.168.1.76 link#4 UHS lo0 root@pjp1:/ # netstat -rn netstat: kvm not a

Re: netstat -rn in jail doesn't work

2016-05-18 Thread Allan Jude
On 2016-05-18 12:37, Grzegorz Junka wrote: > What may be the reason that netstat -rn works in one jail and doesn't in > another? > > root@app2:/ # netstat -rn > Routing tables > > Internet: > DestinationGatewayFlags Netif Expire > 192.168.1.76 link#4 UHS

Re: netstat -rn in jail doesn't work

2016-05-18 Thread Grzegorz Junka
On 18/05/2016 16:38, Allan Jude wrote: On 2016-05-18 12:37, Grzegorz Junka wrote: What may be the reason that netstat -rn works in one jail and doesn't in another? root@app2:/ # netstat -rn Routing tables Internet: DestinationGatewayFlags Netif Expire 192.168.1.76

Re: netstat -rn in jail doesn't work

2016-05-18 Thread Miroslav Lachman
Grzegorz Junka wrote on 05/18/2016 18:37: What may be the reason that netstat -rn works in one jail and doesn't in another? root@app2:/ # netstat -rn Routing tables Internet: DestinationGatewayFlags Netif Expire 192.168.1.76 link#4 UHS lo0 ro

Re: netstat -rn in jail doesn't work

2016-05-18 Thread Grzegorz Junka
OK, thanks, so it looks like it doesn't prevent the jail from working correctly, it's just the reporting that's broken. Grzegorz On 18/05/2016 18:28, Miroslav Lachman wrote: Grzegorz Junka wrote on 05/18/2016 18:37: What may be the reason that netstat -rn works in one jail and doesn't in ano