Routing UDP vs TCP.

vash

Platinum Member
Feb 13, 2001
2,510
0
0
Here's the scenario:

1. I have a DSL line that has good upstream and is very clean, great for gaming.
2. I have a cable modem, which downloads really fast at all times, but ping spikes during peak hours.

I want to basically have a box (*nix, or a router), that would route all UDP based traffic (games) through the DSL line and all TCP based traffic (web surfing) through the cable modem. This has to be doable with some piece of hardware and software combo. I'm thinking this would be the best of both worlds (at least in my area), since I could use the DSL's upstream to host a LAN party for games and the downstream for the additional clients on my network could downloads 'till their hearts content.

Sure, getting a faster DSL line would do, but getting faster DSL would cost more than $60/month versus the $40/month for cable. I'm thinking this situation could easily apply if you wante to combine 2x DSL lines, 2x cable modems, or at a business with a leased line and a xDSL line, etc.

vash
 

Carceri

Member
Aug 7, 2001
119
0
0
You could probably use the netfilter package in Linux 2.4.x kernel to mark all IP packets carrying UDP traffic and then do routing based on that mark.

The problem would probably be that your TCP traffic will have one IP address, and your UDP traffic another IP address. Hence a server which utilize both (most gameservers use TCP to get a list of games, etc) would probably not work correctly.

I have not really looked into what packets you can actually mark with netfilter, but it seems to be almost anything you want. If the package has some information in it, you can use it for routing with netfilter it seems

You will need a kernel with support for all the netfiler stuff, and you'll need the programs: iptables, iproute2
 

vash

Platinum Member
Feb 13, 2001
2,510
0
0
Thanks for the response, Carceri.

I figure there may be some games that would have problems with the routing between TCP and UDP as such, but its something that could have a workaround. Also, the games that start with the TCP may do it just to authenticate a cdkey and may not necessarily care about where it came from.

Anyone else have more information on this?

vash
 

nealr

Senior member
Dec 20, 2000
771
0
0
Maybe you could do it with 2 routers, and have 2ip's on your machine, and have your games use one and the other stuff use the other?
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |