Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2015 15:21:58 -0400
From:      Matthew Pounsett <matt@conundrum.com>
To:        "freebsd-questions@freebsd.org Mailing List" <freebsd-questions@freebsd.org>
Subject:   rc.conf configured jail not getting IP addresses
Message-ID:  <760A9E00-EA43-4DF1-8259-376D1987B2D5@conundrum.com>

next in thread | raw e-mail | index | archive | help
I've been having some issues with ezjail and freebsd-update, so I =
decided to give a more basic jail setup a try.  I'm following the =
instructions in the handbook[1] for setting up a new jail, but seem to =
have run into an issue with jail startup and IP address assignment.

My host system is 9.3-RELEASE-p10.  My rc.conf looks like the following:
% grep jail /etc/rc.conf=20
jail_enable=3D"YES"
jail_list=3D"test"
jail_test_rootdir=3D"/var/jail/test"
jail_test_hostname=3D"redacted"
jail_test_ip=3D"67.xxx.xxx.xxx,2001:xxxx::xxxx"
jail_test_devfs_enable=3D"YES"

Startup of the jail takes a surprising amount of time .. about 30 =
seconds, but no errors are reported.
% time sudo service jail start test
Configuring jails:.
Starting jails: redacted.
sudo service jail start test  0.13s user 0.16s system 0% cpu 30.292 =
total

The jail starts, but no addresses are assigned to it.
% sudo jexec test tcsh
# ifconfig igb0
igb0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
	=
options=3D401bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,VLAN_HWTSO>
	ether d4:85:64:53:91:44
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active

Am I missing something here?  I've double checked the docs in the =
handbook, and it doesn't look like I've missed any steps up to this =
point.

[1]: <https://www.freebsd.org/doc/handbook/jails-build.html>;




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?760A9E00-EA43-4DF1-8259-376D1987B2D5>