Hello,
I'm learning about how to create and configure jails by Ezjail. This works fine, but I think ip aliasing is not really practical to make the jail get an IP. Here is my /etc/rc.conf:
For configuring pf, it would be better to have an interface for each jail. So, I have tried to add a wlan interface in "wlans_urtw0" and configuring wlan1 as follows:
but this doesn't work: I get
How could I solve this ?
Thanks, Gollum
I'm learning about how to create and configure jails by Ezjail. This works fine, but I think ip aliasing is not really practical to make the jail get an IP. Here is my /etc/rc.conf:
Code:
keymap="fr.iso.acc"
hostname="Golum_PC.home"
#wifi
wlans_urtw0="wlan0"
ifconfig_wlan0="WPA inet 192.168.1.29 netmask 255.255.255.0 up"
defaultrouter="192.168.1.1"
#fin wifi
hald_enable="YES"
dbus_enable="YES"
pf_enable="YES"
pflog_enable="YES"
sshd_enable="YES"
#jails
ezjail_enable="YES"
ifconfig_wlan0_alias0="inet 192.168.1.50 netmask 255.255.255.255"
For configuring pf, it would be better to have an interface for each jail. So, I have tried to add a wlan interface in "wlans_urtw0" and configuring wlan1 as follows:
Code:
wlans_urtw0="wlan0 wlan1"
ifconfig_wlan1="inet 192.168.1.50 netmask 255.255.255.0"
. Moreover, I read that urtw driver won't be able to create two interfaces ..ifconfig: SIOCIFCREATE2: Input/output error
How could I solve this ?
Thanks, Gollum