Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2007 13:37:03 +0200
From:      Karol Kwiatkowski <karol.kwiat@gmail.com>
To:        Roberto Pereyra <pereyra.roberto@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: jail question
Message-ID:  <46308EDF.9080602@gmail.com>
In-Reply-To: <f05666f00704260352k6526bbegf80c34fcf5fc7269@mail.gmail.com>
References:  <f05666f00704260352k6526bbegf80c34fcf5fc7269@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Roberto Pereyra wrote:
> hi
> 
> I running fbsd 6.2 and I would like to my first jail setup, but I have
> this error when I start the jail (jail0):
> 
> srv1# /etc/rc.d/jail start
> Configuring jails:.
> Starting jails:ifconfig: interface alias does not exist
> jail0.
> srv1#
> 
> 
> What I do wrong ?

[snip]

> This is my /etc/rc.conf
[...]
> ifconfig_sk0="inet 192.168.0.1  netmask 255.255.0.0"
[...]
> jail_jail0_ip="192.168.0.3"           # jail's IP address

Is 192.168.0.3 assigned to any interface? Have a look at ifconfig(8)
output. You can add an alias with ifconfig and/or put something similar
to /etc/rc.conf (assuming sk0 interface):

% ifconfig_sk0_alias0="inet 192.168.0.3 netmask 255.255.255.255"

HTH,

Karol

- --
Karol Kwiatkowski   <karol.kwiat at gmail dot com>
OpenPGP 0x06E09309
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGMI7fezeoPAwGIYsRCEy1AKCDhJxHggkdcANKc6GToJUSLFMfVwCdF+I4
GFW56bytWUfTavzmfhKzfJw=
=0fDD
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46308EDF.9080602>