Jails and networks

Erich Dollansky freebsd.ed.lists at sumeritec.com
Sat Aug 25 06:20:42 UTC 2018


Hi Norman,

On Fri, 24 Aug 2018 13:36:02 +0100
Norman Gray <norman.gray at glasgow.ac.uk> wrote:

> 
> > I did not go through your e-mail. Just take my working settings to
> > start with:  
> 
> Thanks for this.  My problem is that my /etc/jail.conf is already
> very simple,
> 
>      exec.start = "/bin/sh /etc/rc";
>      exec.stop = "/bin/sh /etc/rc.shutdown";
>      exec.clean;
>      path = "/local/jails/$name";
>      mount.fstab = "/etc/jail/fstab.${name}";
>      mount.devfs;
>      host.hostname = "${name}.local";
>      devfs_ruleset         = "4";
>      norman {
>          ip4.addr = "192.168.11.128";
>          interface = "igb0";
>      }
> 
> and my jail's /etc/rc.conf even simpler than yours
> 
>      # cat /etc/rc.conf
>      syslogd_flags="-ss"
>      #
> 
I remember from the days finding my working solution out that FreeBSD
is picky about little things. You see the small differences. It might
be the cause.

> But still 'host www.freebsd.org' times out within the jail.

I use always jails for web browsing without any problems.

> 
> There's something important about jail networking that I'm not 
> understanding, but I haven't a clue what it is.  Most frustrating.
> 
Whom are you telling this?

Erich


More information about the freebsd-questions mailing list