Hello,
I found this tutorial about setting up vimage network for jails.
I added the vimage options to my kernel config:
I am not sure if VIMAGE now is really enabled than the vimage command is not available and making it fails:
However I progressed in the how to and now fail at creating a internal network
Any suggestions where the error could be?
Regards
I found this tutorial about setting up vimage network for jails.
I added the vimage options to my kernel config:
Code:
# cat /root/kernels/CONFIG_S
include GENERIC
ident CONFIG_S
# GENERAL
nooptions SCTP
nooptions FFS
nooptions SOFTUPDATES
nooptions UFS_ACL
nooptions UFS_DIRHASH
nooptions UFS_GJOURNAL
nooptions NFS_ROOT
#noptions MSDOSFS
nooptions CD9660
nooptions PROCFS
nooptions PSEUDOFS
nooptions COMPAT_FREEBSD32
nooptions COMPAT_FREEBSD4
nooptions COMPAT_FREEBSD5
nooptions COMPAT_FREEBSD6
nooptions COMPAT_FREEBSD7
nooptions KDTRACE_FRAME
nooptions KDTRACE_HOOKS
options VIMAGE
#...
I am not sure if VIMAGE now is really enabled than the vimage command is not available and making it fails:
Code:
# cd /usr/src/tools/tools/vimage
# make install
install -s -o root -g wheel -m 555 vimage /usr/sbin
install: vimage: No such file or directory
*** Error code 71
Stop in /usr/src/tools/tools/vimage.
#
However I progressed in the how to and now fail at creating a internal network
Code:
# ifconfig bridge create
bridge0
# ifconfig epair create
epair0a
# ifconfig epair create
epair1a
# ifconfig epair create
epair2a
# ifconfig epair create
epair3a
# ifconfig bridge0 addm em0 addm epair0a addm epair1a addm epair2a addm epair3a
# ifconfig bridge0 10.1.0.1
# ifconfig epair0a 10.0.0.1
# ifconfig epair1a 10.0.0.2
# ifconfig epair2a 10.0.0.3
# ifconfig epair3a 10.0.0.4
# ifconfig epair0b vnet 1
ifconfig: SIOCSIFVNET: Device not configured
#
Any suggestions where the error could be?
Regards