Modify windows routing table for two network interfaces - Tech Support | futures io social day trading
futures io futures trading


Modify windows routing table for two network interfaces
Updated: Views / Replies:4,512 / 9
Created: by josh Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Modify windows routing table for two network interfaces

  #1 (permalink)
Elite Member
Georgia, US
 
Futures Experience: None
Platform: Various
Favorite Futures: Various
 
josh's Avatar
 
Posts: 4,897 since Jan 2011
Thanks: 5,143 given, 11,242 received

Modify windows routing table for two network interfaces

After enough attempts at getting my cable internet service to be usable (it degraded over the last week to anywhere from 5% to 25% packets dropping), multiple visits from technicians, and finally giving up, I decided to test Verizon's 4G LTE network using a USB modem. While it has not been stress tested yet (hopefully will get a small burst or two this afternoon in this low holiday traffic), it is not dropping packets, and while the pings are not quite what I'd like them to be (about 120ms to IQFeed's server), the latency is still much better than when multiple packets are dropped, so I am optimistic about this as an actual usable solution for day-to-day operations. I also plan to purchase an external antenna to see if I can get a stronger signal.

My question is this: due to my 10GB data limit per month on the LTE network, I would like to route all IQFeed traffic through this network, as this is where the latency is really visible. Possibly also the TT data stream from my broker too. But ALL other network traffic should go through the cable modem connection. So, how do I modify the windows routing table to reflect this?

Say I have an IP address for IQFeed (66.112.148.111) .. would it be something like this:

route ADD 66.112.148.111 MASK 255.255.255.0 **GATEWAY??** IF 22

Should this add a route to all 66.112.148.ZZZ through interface number 22 (my verizon card) ? .. I'm not sure what the gateway should be though. And I'm not sure if the above is correct, it's a little fuzzy because it's been a few years since I attempted anything like this. Am I close?

Reply With Quote
 
  #2 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,356 given, 83,237 received

Does the USB modem show up in Networking Connections section? If so, right click on it and hit status, then details.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


It will show you the gateway.

I have a similar setup to you, only I have unlimited data with Verizon 4G LTE. I use the D-Link connection you see above as my backup, so if my cable goes out I can just use my phone to get back on. But for me, it is only a backup, and I don't have to worry about routing tables since it is unlimited.

If the cable techs came out and found no SnR issues, then you should check between your PC and the cable modem. Change the ethernet port it is plugged into on your desktop (assuming you have two), and use a different cable. If there is any switch between you and the cable modem, bypass it, and see if the packet loss still happens. Last, don't use your computer at all. Turn it off, in fact. Make sure all computers are turned off in the household, and then use a notebook and test your cable modem connection. The packet loss could be happening if someone in the household (kid) is using a file sharing service and uploading @ your max capped upload speed, the ISP will then throttle you and they sometimes accomplish this through packet loss.

One more thing, do you get packet loss everywhere? Or only to certain destinations? You might leave the modem off for whatever the DHCP lease time is from your provider (probably no longer than 24 hours), and it will get a new IP and new subnet, new gateway from your ISP and that might be enough to solve the packet loss problem if all else fails.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #3 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,574 given, 3,983 received


@josh, the:
route ADD 66.112.148.111 MASK 255.255.255.0 **GATEWAY??** IF 22
is maybe correct, but we usually add a network, not a single host (so it has to be 66.112.148.0).
You will find your 4G default router if you disable your cable connection, with a simple "ipconfig" in a CMD window.

Success requires no deodorant! (Sun Tzu)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #4 (permalink)
Elite Member
Asia
 
Futures Experience: Beginner
Platform: NinjaTrader, TOS
 
Posts: 798 since Jun 2009
Thanks: 109 given, 786 received

You are pretty much there. ROUTE ADD <HOST> <SUBNET MASK> <GATEWAY> -p is the command to add a static route. The -p switch makes it persistant i.e. if you reboot your computer it will still be there. ROUTE PRINT will show you all temporary and persistant routes, ROUTE DELETE <HOST> <SUBNET MASK> <GATEWAY> will delete it.

Google "add static route windows" and you will find a lot of material.

Reply With Quote
The following user says Thank You to MXASJ for this post:
 
  #5 (permalink)
Elite Member
Georgia, US
 
Futures Experience: None
Platform: Various
Favorite Futures: Various
 
josh's Avatar
 
Posts: 4,897 since Jan 2011
Thanks: 5,143 given, 11,242 received


Big Mike View Post
I have a similar setup to you, only I have unlimited data with Verizon 4G LTE.

Grandfathered in, or are you just a VIP? 10GB per month is going to cost me $80.



Big Mike View Post
If the cable techs came out and found no SnR issues, then you should check between your PC and the cable modem. Change the ethernet port it is plugged into on your desktop (assuming you have two), and use a different cable. If there is any switch between you and the cable modem, bypass it, and see if the packet loss still happens. Last, don't use your computer at all. Turn it off, in fact. Make sure all computers are turned off in the household, and then use a notebook and test your cable modem connection. The packet loss could be happening if someone in the household (kid) is using a file sharing service and uploading @ your max capped upload speed, the ISP will then throttle you and they sometimes accomplish this through packet loss.

One more thing, do you get packet loss everywhere? Or only to certain destinations? You might leave the modem off for whatever the DHCP lease time is from your provider (probably no longer than 24 hours), and it will get a new IP and new subnet, new gateway from your ISP and that might be enough to solve the packet loss problem if all else fails.

Mike

Mike, thanks very much for the very helpful tips. I have tried a different computer (notebook), with a different ethernet cable, plugged into a brand new modem (bought one), no router involved, using a different coax cable, plugged into a different coax port. I redid all this just now to verify. Same problem as before. 12-20% packets dropped. I'm pinging many different hosts, from google to IQFeed. I have verified that the problem does not lie within my walls. I just called customer support again and she said she was going to send a "senior tech" to help with the problem. Tomorrow I will be more aggressive to insist that the problem be isolated. She pinged my modem from her end and 40% of packets dropped. Also, I have verified that on multiple pings I have a different IP, and considering these types of issues have been going on for months, I doubt that it's a simple routing issue, at least one that can be fixed by waiting for a new lease on IP or the like.

I did not think about throttling, but the kids here have really no internet usage, and I do monitor network traffic--I don't download anything really, just the daily trading feed. I monitor my wireless clients and do not even broadcast my SSID, so I know that no one is hijacking my router. Based on some simple usage statistics, the daily downstream is probably less than a gig, and same for up. Considering the stuff people download, I'd guess I'm near the middle of the road for usage. I do more than surf and email (trading), but I don't really do much else that is bandwidth-intensive. I'd guess I'm using less than 30GB a month, hardly grounds for throttling, considering this is cable internet and not a wireless or satellite service.

Hopefully tomorrow by noon I will have more concrete answers... thanks for the good tips. And after reaching the point of apathy with getting this handled, thank you for lighting a fire under my butt with your suggestions and reminding me that I pay for the service and should get what I pay for.


Last edited by josh; December 27th, 2011 at 11:40 PM.
Reply With Quote
 
  #6 (permalink)
Elite Member
Georgia, US
 
Futures Experience: None
Platform: Various
Favorite Futures: Various
 
josh's Avatar
 
Posts: 4,897 since Jan 2011
Thanks: 5,143 given, 11,242 received

Thanks sam and MXASJ -- since the LTE device is assigned a dynamic IP each time, won't the gateway also be dynamic and thus change each time I connect? I looked at several times I have connected it, and each time the gateway is different. Could it be that I have to add the rule each time I connect? That would be a major headache...

Reply With Quote
 
  #7 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,574 given, 3,983 received


josh View Post
Thanks sam and MXASJ -- since the LTE device is assigned a dynamic IP each time, won't the gateway also be dynamic and thus change each time I connect? I looked at several times I have connected it, and each time the gateway is different. Could it be that I have to add the rule each time I connect? That would be a major headache...

You could create a small script, .bat or in Perl (easier) which is checking is the IP/router of your LTE, and then remove the previous statuc route, and add a new one.

Success requires no deodorant! (Sun Tzu)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #8 (permalink)
Trading Apprentice
Switzerland
 
Futures Experience: None
Platform: SwissQuote
Favorite Futures: FX
 
Posts: 12 since Dec 2011
Thanks: 5 given, 7 received

The most comfortable and probably the easiest solution would be to make a batch script that uses ForceBindIP. You can find that tool by googling for "ForceBindIP - Bind any Windows application to a specific interface" -> the tool can be found under the r1ch.net domain (since I'm not yet able to post urls ). You probably have to run the tool also as Administrator or diasable UAC...

My advice is to create a batch file to run it:
store a text file as something like bind-interface-nt7.bat and write something like
@echo off
ForceBindIP.exe {4FA65F75-7A5F-4BCA-A3A2-59824B2F5CA0} c:\path\to\ninja-trader.exe

the GUID of the network card {4FA65F75-7A5F-4BCA-A3A2-59824B2F5CA0} can be found trough regedit under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces -> just compare the ip assigned to your usb wan interface to find the right GUID, by using the GUID, you do not have to care about the dynamic IP assigned. Then start the batch with right click -> run as administrator. (btw. if you do not install the tool to the system32 folder, you have to specify the absolute path to ForceBindIP.exe -> like c:\tools\ForceBindIP.exe and not only ForceBindIP.exe)

hope that solves your problem further details about the tool are on its homepage...


Last edited by init77; December 28th, 2011 at 08:43 AM.
Reply With Quote
The following 3 users say Thank You to init77 for this post:
 
  #9 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,356 given, 83,237 received

@init77, nice find.

Site:
ForceBindIP - Bind any Windows application to a specific interface

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #10 (permalink)
Elite Member
Georgia, US
 
Futures Experience: None
Platform: Various
Favorite Futures: Various
 
josh's Avatar
 
Posts: 4,897 since Jan 2011
Thanks: 5,143 given, 11,242 received


Thanks sam and init!

Reply With Quote

Reply



futures io > > > > Modify windows routing table for two network interfaces

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best feed/broker for order routing ONLY josh Reviews of Brokers and Data Feeds 2 January 19th, 2011 09:44 PM
Two data feeds on same network ahrinc Reviews of Brokers and Data Feeds 20 November 11th, 2010 01:20 PM
How to modify a standard NT7 indicator igork11 The Elite Circle 5 August 6th, 2010 03:53 AM
Does anyone now how to modify Session Time in NT7? benharrell Traders Hideout 4 July 15th, 2010 08:25 PM


All times are GMT -4. The time now is 03:25 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-18 in 0.15 seconds with 19 queries on phoenix via your IP 54.163.209.109