Solved

Freenas odd network loading

Posted on 2012-03-23
5
535 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 78

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 78

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

726 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