Solved

Freenas odd network loading

Posted on 2012-03-23
5
532 Views
Last Modified: 2012-04-02
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.

Bandwidth Graphs
0
Comment
Question by:alexanderfoti
  • 3
  • 2
5 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 37759687
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.
0
 
LVL 1

Author Comment

by:alexanderfoti
ID: 37759714
Is there no way to tell the traffic to leave on the interface it came in on?
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 37759724
You have to use iptables to mark, tag the packet to make sure it leaves on the interface on which it came.
Here is an example reference
http://www.linuxforums.org/forum/networking/21557-load-balancing-iptables-packet-tagging.html
0
 
LVL 1

Author Comment

by:alexanderfoti
ID: 37759736
Many thanks, I will give it a go and report back.
0
 
LVL 1

Author Closing Comment

by:alexanderfoti
ID: 37796182
Thanks this resolved the issue.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Hibernate on windows 10 18 157
asset management of client side devices laptops/computers 1 62
Sonicwall blocks a site 49 91
Configuring local auth. list 1 28
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question