wowbaggerHU
Cadet
- Joined
- Dec 8, 2013
- Messages
- 6
Hello All!
I'm currently using FreeNAS-9.1.1 on a HP ProLiant Microserver N40L with four (Broadcom) GigabitEthernet interfaces (bge0-1 and bce0-1).
I have the following network setup at the moment:
What I want to achieve is that I want to separate management-related traffic to the interface belonging to the management VLAN (bce0), and the NAS traffic to the generic VLAN (bge1).
I have a host in the generic VLAN (hostA), from which I want to be able to manage the NAS, and also be able to use its NAS services.
Currently however, accessing the NAS via HTTP/HTTPS on 172.18.88.171 doesn't work from hostA. (hostA's default gateway is 172.18.88.1 and freenas' is 172.18.88.161.)
Let me describe the problem briefly:
- hostA sends the SYN packet through the router, to bce0
- freenas answers with SYN-ACK on bge1
- hostA sends the ACK through the router (just as before)
- the router's (SPI) firewall drops the ACK, because it hasn't seen the SYN-ACK that was sent by freenas directly to hostA via bce0.
I've discussed this problem with some colleagues more knowledgeable than me, and they told me to try policy-based routing. In the meantime I also found one other possible solution for this, the use of multiple routing tables.
Unfortunately none of these two approaches do work currently with FreeNAS, because the multiple routing tables feature would require the recompilation of the kernel with the appropriate option enabled. (The default kernel contains support for only one routing table.)
Also, for the policy based routing to work, I would need to rely on pf, which isn't included in FreeNAS either.
What possible solution do you FreeNAS people recommend for my problem?
Thanks in advance for your answer!
Note 1: If I add a host route pointing to 172.18.88.6 for 172.18.88.171 on hostA, the web interface works. (This is a dirty solution, I don't really like it.)
Note 2: If I try to add a host route pointing to 172.18.88.6 for 172.18.88.171 on the router, and a host route pointing to 172.18.88.1 for 172.18.88.50 on the FreeNAS box, then it doesn't work either, because FreeNAS already has an automatically generated routing entry for 172.18.88.50, which I am unable to remove. (If I could force FreeNAS to communicate to 172.18.88.50 via the router, then this would be a bit better than the solution presented in Note 1, but it still isn't a good one IMO.)
I'm currently using FreeNAS-9.1.1 on a HP ProLiant Microserver N40L with four (Broadcom) GigabitEthernet interfaces (bge0-1 and bce0-1).
I have the following network setup at the moment:

What I want to achieve is that I want to separate management-related traffic to the interface belonging to the management VLAN (bce0), and the NAS traffic to the generic VLAN (bge1).
I have a host in the generic VLAN (hostA), from which I want to be able to manage the NAS, and also be able to use its NAS services.
Currently however, accessing the NAS via HTTP/HTTPS on 172.18.88.171 doesn't work from hostA. (hostA's default gateway is 172.18.88.1 and freenas' is 172.18.88.161.)
Let me describe the problem briefly:
- hostA sends the SYN packet through the router, to bce0
- freenas answers with SYN-ACK on bge1
- hostA sends the ACK through the router (just as before)
- the router's (SPI) firewall drops the ACK, because it hasn't seen the SYN-ACK that was sent by freenas directly to hostA via bce0.
I've discussed this problem with some colleagues more knowledgeable than me, and they told me to try policy-based routing. In the meantime I also found one other possible solution for this, the use of multiple routing tables.
Unfortunately none of these two approaches do work currently with FreeNAS, because the multiple routing tables feature would require the recompilation of the kernel with the appropriate option enabled. (The default kernel contains support for only one routing table.)
Also, for the policy based routing to work, I would need to rely on pf, which isn't included in FreeNAS either.
What possible solution do you FreeNAS people recommend for my problem?
Thanks in advance for your answer!
Note 1: If I add a host route pointing to 172.18.88.6 for 172.18.88.171 on hostA, the web interface works. (This is a dirty solution, I don't really like it.)
Note 2: If I try to add a host route pointing to 172.18.88.6 for 172.18.88.171 on the router, and a host route pointing to 172.18.88.1 for 172.18.88.50 on the FreeNAS box, then it doesn't work either, because FreeNAS already has an automatically generated routing entry for 172.18.88.50, which I am unable to remove. (If I could force FreeNAS to communicate to 172.18.88.50 via the router, then this would be a bit better than the solution presented in Note 1, but it still isn't a good one IMO.)