On Wed, Nov 18, 2009 at 09:09:32AM +0100, Laszlo Nagy wrote:
> Great. Here is what I did:
>
> sorb# mkdir -p /usr/jails/vm1
> sorb# cd /usr/src
> sorb# setenv D /usr/jails/vm1
> sorb# make installworld DESTDIR=$D
> sorb# make distribution DESTDIR=$D
> sorb# cat >> /etc/rc.conf
>
> jail_enable="Y
I really think that it should be corrected to:
cd /usr/src
make distribution DESTDIR=$D
That's almost certainly correct, but it notes:
"Notes
[1] This step is not required on FreeBSD 6.0 and later."
But then I get this error in syslog:
bind: Can't assign requested address
That's a
Laszlo Nagy writes:
> I do not want to expose my jail's private IP address to the
> internet.
Use loopback interface and 127.x.x.x address.
--
WBR, bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-q
The address 192.168.0.11 must be assigned to a interface in the host FreeBSD.
You can do it before starting the jail, or when the jail is being started.
To assign the address before starting the jail do somthing like this:
# ifconfig lnc0 alias 192.168.0.11/24
where lnc0 is the name of nic in t
On Tue, Nov 17, 2009 at 10:41:14PM +0430, Laszlo Nagy wrote:
> My computer is a windows machine, with address 192.168.0.X
> Then the FreeBSD host is actually a guest os running in wvmare. It has
> address 192.168.37.133
> And finally, the vm1 jail should have 192.168.0.11
>
> I don't know why 19
No, I think you added the '/' before 'etc', which isn't in the web page.
Gotcha.
Is the problem perhaps in your /etc/rc.d/vm1 script?
Normally you would use /etc/rc.d/jail.
Yes, I'm. Sorry - it was a typo. I used this:
/etc/rc.d/jail start vm1
Are those addresses already assigned
Laszlo Nagy writes:
> I'm experimenting with jails. I have installed a 7.2 stable FreeBSD
> inside vmware. Then I have created two jails, using the method written
> in the handbook:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html
>
> The only thing that didn't work
I'm experimenting with jails. I have installed a 7.2 stable FreeBSD
inside vmware. Then I have created two jails, using the method written
in the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html
The only thing that didn't work is this:
cd /etc
make distribu