Jails and networks

Norman Gray norman.gray at glasgow.ac.uk
Fri Aug 24 12:36:05 UTC 2018


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


More information about the freebsd-questions mailing list