Re: Changing jail's IP automatically

2016-09-03 Thread James Gritton
On 2016-09-02 15:08, Grzegorz Junka wrote: I am using a jail on my laptop and I often connect to different WiFi's, which of course assign different IPs to my laptop. I set up the jail by adding an alias to wlan0 and I need to update the IP every time I switch the WiFi network. Is it possible to c

Re: Changing jail's IP automatically

2016-09-03 Thread Konstantin Belousov
On Sat, Sep 03, 2016 at 09:33:08AM -0600, James Gritton wrote: > On 2016-09-02 15:08, Grzegorz Junka wrote: > > I am using a jail on my laptop and I often connect to different > > WiFi's, which of course assign different IPs to my laptop. I set up > > the jail by adding an alias to wlan0 and I need

Re: Changing jail's IP automatically

2016-09-03 Thread Isaac (.ike) Levy
sent from my mobile > On Sep 3, 2016, at 4:52 PM, Konstantin Belousov wrote: > > I use private address in the jail, and NAT it on outside interface. > This worked fine on a roaming laptop with DHCP, several years ago. Solid advice for this applied use, nat setup either 1:1 mapping or port fo

Re: Changing jail's IP automatically

2016-09-03 Thread James Lodge
Would PF and NAT not work for you? NAT to the WLAN0 IP (DHCP assigned) using PF macros and have a separate subnet for your jails? This would be PAT so you might have issues with accessing services inbound if you're using the same port in multiple jails. Just an idea. Sent from my iPad > O