ifconfig within jail

Kris Kennaway kris at obsecurity.org
Tue Jul 22 00:25:13 PDT 2003


On Tue, Jul 22, 2003 at 01:19:12PM +0600, Ilia Chipitsine wrote:
> what did I do wrong ? I cannot run ifconfig from within jail
> 
> # ifconfig rl0 inet 10.0.1.112 netmask 255.255.255.0
> ifconfig: ioctl (SIOCDIFADDR): permission denied
> 
> ipfw seems also not to be working...

I believe that's intentional.  The network stack isn't virtualized to
prevent jail instances from interfering with each other (and with the
host machine).  There have been patches posted recently to one of the
lists that might be a starting point for working on this.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030722/d4aa2310/attachment.bin


More information about the freebsd-questions mailing list