Link to home
Start Free TrialLog in
Avatar of alexanderfoti
alexanderfotiFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Freenas odd network loading

Hi all

I am having an odd issue with my Freenas server, It is setup as such:

Two network interfaces
 
EM0 - 192.168.0.8
EM1 - 192.168.0.9

I have an ESX box that connects to an iscsi target that ONLY runs on 192.168.0.8, it is disabled on 192.168.0.9.

I have samba setup on the box as well.

Now, I am copying files on a box to a samba share via 192.168.0.9.

Although looking at the interface graphs, It seems as though RX is being done by 192.168.0.9 and TX is being done by 192.168.0.8, I have attached the bandwidth graphs.

User generated image
Avatar of arnold
arnold
Flag of United States of America image

The issue is with the routing table where .8 is seen as the primary interface such that traffic arrives on .9 while when leaving the path is via em0
netstat -rn
Depending on your resources you could use bond to bind the two interfaces to appear as one.
If you are using sfw iptables firewall, you would need to setup rules that will tag the packets and thus maintain the path for the outgoing packet if binding the two interfaces is not an option.
Avatar of alexanderfoti

ASKER

Is there no way to tell the traffic to leave on the interface it came in on?
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Many thanks, I will give it a go and report back.
Thanks this resolved the issue.