per traffic load balancing

I tried to follow the instructions on the WiKi to no avail. Here is myu situation. A Lot of my customers are having problems with vonage. I have 2 lines to the internet, a T-1 line and a DSL. I thought I could mark the VoIP packets and then route them out of my normally unused T-1. I built the mangle rules and the routing rules. packets are shown to be going thru the interface but my customer’s connection is dead. I disable the mangle rules and the connection returns. Getting frustrated here. Any help?
BTW here are my settings:

NAT
1 chain=srcnat action=masquerade src-address=10.0.0.0/8 out-interface=ether1
2 chain=srcnat action=masquerade src-address=10.0.0.0/8 out-interface=ether3

Route
admin@El Paso Main] > ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit

DST-ADDRESS PREF-SRC G GATEWAY DISTANCE INT ROUTING MARK

0 A S 0.0.0.0/0 r XX.XXX.237.254 1 eth..
1 A S 0.0.0.0/0 r YY.YYY.145.193 2 eth.. Voip

…etc

ip firewall mangle print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=forward action=mark-connection new-connection-mark=P2P_conn passthrough=yes p2p=all-p2p limit=1,5

1 chain=forward action=mark-packet new-packet-mark=P2P passthrough=yes connection-mark=P2P_conn limit=1,5

2 chain=prerouting action=mark-routing new-routing-mark=Voip passthrough=no dst-port=10000-20000 protocol=udp
[admin@El Paso Main] >

Not all traffic is capable of being managed in this manner. For it to work correctly the target ports must not change or if they do you must be sure you are ‘capturing’ all the traffic in the mangle rules. I noticed that you are using a UDP port range for the VOIP traffic, however most VOIP protocols I’ve seen use TCP to initially setup the connection.

If I were you I’d setup a test case and use torch (or anything else you like) to monitor the ports that the VOIP connection uses (with mangle rules off), then build your mangle rules off your results.

Cheers

The problem with capturing ports is that Vonage by design, runs the connection on UDP random 10000-20000 port. I was able to finally prioritize the packages last night (I had made a mistake in my que tree) but will still prefer to send the traffic over my T-1.