Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2007 14:18:05 -0500
From:      Jeff Palmer <questions@totaldiver.net>
To:        "Jim Stapleton" <stapleton.41@gmail.com>,freebsd-questions@freebsd.org
Subject:   Re: problems with jail
Message-ID:  <7.0.1.0.0.20070223141627.01ab0b70@totaldiver.net>
In-Reply-To: <80f4f2b20702231107p1cf7f4f3n5896aa7e8ef0ecaf@mail.gmail.co m>
References:  <80f4f2b20702231107p1cf7f4f3n5896aa7e8ef0ecaf@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:07 PM 2/23/2007, Jim Stapleton wrote:
>Jail:
>sjss@elrond 14:04:11 (0) ~  > sudo jail /jail/ legolas 192.168.1.85 /bin/csh
>%telnet 192.168.1.4 25

<..snip..>

>sjss@elrond 14:02:11 (0) ~  > ifconfig -a
>nve0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet 192.168.1.84 netmask 0xffffff00 broadcast 192.168.1.255
>        ether 00:13:d4:2e:2f:62
>        media: Ethernet autoselect (100baseTX <full-duplex>)
>        status: active
>plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>        inet6 ::1 prefixlen 128
>        inet 127.0.0.1 netmask 0xff000000
>sjss@elrond 14:04:08 (0) ~  > jls
>   JID  IP Address      Hostname                      Path
>     1  192.168.1.85    legolas                       /jail
>
>
>
>Is that what you needed
>
>Thanks,
>-Jim Stapleton

I don't see where you have 192.168.1.85 as an alias on the host OS.


ifconfig nve0 alias 192.168.1.85 netmask 255.255.255.255

then launch the jail

- Jeff 




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