VIMAGE and wrong NIC

Status
Not open for further replies.

Dudde

Explorer
Joined
Oct 5, 2015
Messages
77
I have two NICs, one Intel and one Chelsio 10Gbe, the Chelsio card I'll use with a DAC cable for data transfers to my desktop.
When I create a jail using VIMAGE all my jails choose to use the Chelsio card. If I remove the VIMAGE they instead choose the Intel NIC as they should.
Inside this jail I then install openvpn and set it up to my preference. But when I start openvpn the tun0 interface is missing?

What can I have done wrong? This is a lab server and FreeNAS is running on top of ESXi and before I reinstalled it and inserted the Chelsio card everything was working, same version of FreeNAS too.
Any ideas?
 

Dudde

Explorer
Joined
Oct 5, 2015
Messages
77
Update: Seems like a permission problem, im logged in as root in my jail but starting openvpn give me this message inside /var/log/messages:
Code:
Nov 10 21:36:02 app openvpn[25864]: GDG: problem writing to routing socket
Nov 10 21:36:02 app openvpn[25864]: Cannot allocate TUN/TAP dev dynamically
Nov 10 21:36:02 app openvpn[25864]: Exiting due to fatal error


If i change the permission to lets say 777 for openvpn then i get this message instead:
Code:
ipfw: setsockopt(IP_FW_XDEL): Operation not permitted


Same message if i for example would like to run ipfw flush?

But why does FreeNAS choose my chelsio card as the default nic for jails?
The chelsio card uses 10.1.1.3/24 and my Intel card uses 10.0.0.13/24 and default gateway 10.0.0.1
 
Last edited by a moderator:
D

dlavigne

Guest
Which build version (System -> Information)? Do you have the same issue if you try 11.1-RC1? There have been a lot of improvements to VMs for 11.1.
 

Dudde

Explorer
Joined
Oct 5, 2015
Messages
77
Im using
Code:
FreeNAS-11.0-U4 (54848d13b)
atm. FreeNAS wont let me upgrading to 11.1-Prerelease, it thinks im at the nightly train(?) and that installing 11.1-prerelease would be seen as an downgrade... Guess I'll just have to wait for the release to hit the stable train.
 
Status
Not open for further replies.
Top