Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2018 13:36:02 +0100
From:      Norman Gray <norman.gray@glasgow.ac.uk>
To:        Erich Dollansky <freebsd.ed.lists@sumeritec.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Jails and networks
Message-ID:  <C3FD798E-36D4-4FC1-A891-CAB04A7779E1@glasgow.ac.uk>
In-Reply-To: <20180824115214.775c7464.freebsd.ed.lists@sumeritec.com>
References:  <6B17F10B-F3AE-45C5-8011-EBE52462230E@glasgow.ac.uk> <20180824115214.775c7464.freebsd.ed.lists@sumeritec.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Erich, hello.

On 24 Aug 2018, at 4:52, Erich Dollansky 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"
     #

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

There's something important about jail networking that I'm not 
understanding, but I haven't a clue what it is.  Most frustrating.

Best wishes,

Norman


-- 
Norman Gray  :  https://nxg.me.uk
SUPA School of Physics and Astronomy, University of Glasgow, UK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C3FD798E-36D4-4FC1-A891-CAB04A7779E1>