Solved

Freenas odd network loading

Posted on 2012-03-23
5
533 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Video Streaming 6 105
CMDB relationships for hardware assets 2 109
Router assigned IP addresses 18 103
unable to set full duplex 100 on WAN interface 11 82
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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…

730 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