05-21-2009
Mac OS X IP traffic shaping question
Not sure if this considered traffic shaping or not, so I'll appreciate the enlightenment...
Setup- Mac Pro, Mac OS X 10.5.6, Crashplan Pro Backup server.
the Mac Pro has 2 E-net ports, en0, en1.
Both E-net ports are connected to the same network, different IP's.
Problem-
We are planning to use this machine as a backup server for about 20 computers. We are backing up the data to the Mac Pro, where Crashplan is compressing it into a single file and storing it temporarily. We are then moving that file from the Mac Pro to our enterprise NAS, which is backed up regularly. This process is actually working quite well, with one exception: the amount of traffic created on en0 is extremely high with it trying to communicate with the client side computers and the NAS storage simultaneously.
What we want to do is use en0 for the backup of the client machines, and en1 for transferring the compressed Crashplan files to the NAS. SO, in theory, something like this:
en0- All traffic generated by Crashplan
en1- All traffic generated by [some service that I don't currently know because I can't get access to the computer's owner]
I -think- I can do this with route and ifconfig, but I'm not 100% how to.
man route/man ipconfig is unfortunately not helping as much as I'd like, and my Googlefu is failing me right now.
Hopefully someone can provide a point or two to some examples that I can start from.
Thanks in advance
Phil
I'm learning everyday, and more than willing blow something up if it helps me learn more...
Phil Benware
Harvard Medical School
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm using FreeBSD because I like how easy the system can be set up, how software can be installed/removed and ... many other reasons:-) But there is a thing I don't know how to deal with: I have few connections behind a machine and I want to give to the machines behind a minimum guaranteed... (2 Replies)
Discussion started by: eNTer
2 Replies
2. UNIX for Advanced & Expert Users
I have set up a samba share on my Linux server. I have a gigabit switch, gigabit NICs in each machine.
I have set up the /etc/samba/smb.conf to support no delay, 8192 send/receive buffers, etc. This helped the rate for Samba go from about 4MB/S to about 10MB/S, but I expect to see about... (1 Reply)
Discussion started by: perspectx
1 Replies
3. IP Networking
What exactly is the difference between ingress and egress in traffic shaping, what does it mean when we say that imq provies ingress shaping using egress qdisks? (3 Replies)
Discussion started by: Maksim
3 Replies
4. UNIX for Dummies Questions & Answers
Folks;
I have 2 NIC cards on my SUSE Linux server. One of them was reporting receive errors for a while now it's OK, but i'd like to monitor it.
Is there any command i can run to tell me the usage in the past or give me a history of traffic and the speed that going on this specific card?
I... (1 Reply)
Discussion started by: Katkota
1 Replies
5. IP Networking
Hi,
I've been looking for a few hours now, reading various docs and man pages, but the info I found so far is either not what I was looking for or I just don't get how to do the thing I need....
So, my "problems" is that I have a server running on a specific port and I need to shape traffic... (2 Replies)
Discussion started by: Zamba
2 Replies
6. IP Networking
hello,
I have a postfix & a local dns running on a single server.
this server is connected to internet via a low bandwidth line(with fixed ip).
we also have another high speed adsl (dynamic ip).
i want to divert all dns request from the local dns & postfix
from the server to the adsl... (0 Replies)
Discussion started by: coolatt
0 Replies
7. Solaris
Hello All,
I am trying find a command that would show me the stats of outgoing traffic on UPD ports on a Solaris 10 box. I would appreciate if anybody could help me out on this.
Thank you much!!!
Best Regards
Sudharma. (7 Replies)
Discussion started by: sudharma
7 Replies
8. IP Networking
So I want to limit the download and upload speed of a specific ip adress in a local network. To do this I are using a bach script running in a linux OS (Ubuntu 11.04). The issue here is that the upload shaper does not work. I have tried an alternate solution aswell though that does not work as... (0 Replies)
Discussion started by: martio09
0 Replies
9. IP Networking
Hello,
Like many others, I have continued to get attempts to connect to my local net router from the Asia Pacific Network Information Centre and from RIPE Network Coordination Centre, Amsterdam. I would say that 90% of attempted connections come from these two locations. The originating IP... (5 Replies)
Discussion started by: LMHmedchem
5 Replies
LEARN ABOUT NETBSD
pvctxctl
PVCTXCTL(8) BSD System Manager's Manual PVCTXCTL(8)
NAME
pvctxctl -- display or control ATM PVC transmitter parameters
SYNOPSIS
pvctxctl interface [[vpi:]vci]
pvctxctl interface [vpi:]vci [-n] [-b max-bandwidth] [-j [vpi:]vci] [-p pcr]
DESCRIPTION
pvctxctl displays or controls the shaper parameters of an ATM VC. When a shaper value is specified, pvctxctl sets a shaper to an ATM VC.
pvctxctl works for a PVC sub interface pvc(4) as well as a real ATM interface en(4).
For a real ATM interface, the specified VC should be assigned beforehand by route(8).
For a sub interface, pvctxctl assigns the specified VC to the sub interface. If another VC is already assigned to the sub interface, the old
VC is invalidated.
Availability of shapers, the number of hardware shaper channels, and accuracy of shaping are all device dependent. For example, ENI Midway
chip has 8 shaper channels but the driver reserves one for non-shaping VCs.
The options are as follows:
interface The interface parameter is a string of the form ``name unit'', for example, ``en0''.
[vpi:]vci The VC number to which the shaper is assigned. When the VPI number is omitted, VPI number 0 is assumed. For example, to assign
a shaper to VPI=0 and VCI=201, the following forms can be used: "201", "0xc9", "0:201", "0:0xc9".
-b max-bandwidth
The PCR parameter can be specified also in ``bits per second''. The rate is the rate of AAL5 frame and the PCR is calculated by
the following form:
PCR = max-bandwidth / 8 / 48
``K'' and ``M'' can be used as a short hand of ``000'' and ``000000'' respectively. For example, ``45M'' means ``45Mbps'' or PCR
value ``117187''.
-j [vpi:]vci
The join parameter is intended for VP shaping. The VC shaper channel is shared with the existing VC, which means the sum of the
cell rates never exceeds the maximum PCR among the shared VCs. On the other hand, when the shaper channel is not shared, the sum
of the cell rates could be the sum of the PCRs.
For example, if two VCs (say 201 and 202) share a 45Mbps VP, use:
# pvctxctl en0 201 -b 45M
# pvctxctl en0 202 -b 45M -j 201
-n This parameter is only for a sub interface. Use NULL encapsulation instead of LLC/SNAP.
-p pcr The PCR (Peak Cell Rate) parameter specifies the peak cell rate in "cells per second". If PCR value "0" is specified, no shaper
is assigned, which means cells are sent at full-speed of the link. If PCR value ``-1'' is specified, the corresponding VC is
invalidated.
SEE ALSO
en(4), ifconfig(8), pvcsif(8), route(8)
BUGS
A real ATM interface and a sub interface require different sequences to set a shaper. For example, to assign a 45Mbps shaper to VC 201
(0xc9) of en0:
# ifconfig en0 10.0.0.1
# route add -iface 10.0.0.2 -link en0:3.0.0.c9
# pvctxctl en0 0xc9 -b 45M
For a shadow interface,
# pvcsif en0 # creates pvc0
# ifconfig pvc0 10.0.0.1 10.0.0.2
# pvctxctl pvc0 201 -b 45M
BSD
December 29, 1997 BSD