Which software can determine the internet routing?

Discussion in 'Trading Software' started by emk662, Jun 26, 2003.

  1. emk662

    emk662

    My computer has two network cards, one to T1(1.54MB), the other to the brokerage trading desk (256K). I cannot access public internet using brokerage's line, and cannot ping to the brokerage server using the T1 line. I use Windows 2000 Pro. Is there any software that can automatically determine which network card to use based on the message? Thank you.
     
  2. CalTrader

    CalTrader Guest

    I dont know what you mean by "message" but the spirit of what you want to do is done all the time:

    Out of the box, you can configure WIndows 2000 server to do this .... The pro edition has a few caveats but can still be configured to do this without any additional software.

    Get a good book on WIndows 2000 networking or search microsoft.com and msdn for additional information .....
     
  3. Actually, if you've defined the interfaces correctly ("network connections" in windows-speak), win2k should be able to distinguish between them automatically.

    The details are kind of boring, but the ip addresses of your brokers internal network are not 'public' addresses.
     
  4. nitro

    nitro

    I am not sure what you are asking here, but the answer, as your current set up is structured, is almost certainly no.

    Remember, there can only be one default route.

    nitro
     
  5. You don't need software, you need to learn how to use DOS, or better yet, buy a cheap internet router! I have a similar setup and learned myself the trial by fire way. I have a pair of T-1's coming in through a Cisco 2600 router that is on one network IP address and a DSL modem on a separate IP address. I have the T-1's going to an extranet called TNS and from there I have redundant LVC's into every broker I do business with. I only use the DSL for internet and email. I started out with two network cards one for the internet and one for the T-1's. This is messy, especially if you have multiple machines that have to access both services.

    It is not the way to go, but YOU CAN USE WHAT YOU HAVE NOW if you go to DOS and learn how to use the route command. Just type route in a DOS window and all of the functionality is explained briefly. Basically you can add as many routes as you like that are defined by IP address. For example, if you want all the traffic going to 172.80.97.* ,where * is any number between 0 and 255, the route command can direct that traffic to the appropriate card. The whole purpose of the route command is to do exactly what you described.

    An easier way to solve your problem (and what I finally did myself) is to get an internet router. You can just get a cheapo 3com or a Linksys internet router (I got the Linksys). Now you can simplify things by throwing away your 2nd NIC card in all your machines, and clearing out all the routes you had to add. The trick is configuring the router yourself. No one on God's green earth knows how to do it correctly and none of the routers made for home use even support the routing function (sad but true). So you can either pay some networking company 4k for another Cisco router and 2K to configure it or you can do it yourself like I did. There is really no need for Cisco stability though, if you are using the internet just for email and research. If my linksys were to burn while I'm trading then I only lose the internet and email. The connection to my brokers would remain.

    To configure your new router, find out what your network IP of your brokers is, and change the IP of the router to that network. Then set the router to be a dhcp server and give out IP's on that same network. Your pc's NIC will simply be set to find dhcp. Plug your T-1 ethernet into the wan port on the router and configure the router.

    Note - the router's IP can be set to your brokers network while the wan port is configured to work with the network from your t-1.

    Next, add fixed routes to your router that tell it to look for your broker on the routers switch.

    Plug all the PC's and the broker ethernet into your routers switch, or better yet, add a cable from your routers ethernet into your current switch containing all your pc's and brokers ethernet.

    Good luck,

    It sucks.
     
  6. DOS is easy...

    Though... I haven't used it for so long...

    I think you just type...

    iproute xxx.xxx.xxx.xxx
     
  7. not even close Gann

    The function as I said above is route, and to make it work properly you need three sets of IP's. As I said above, just type route into any DOS window and DOS will briefly define the function.
     
  8. CalTrader

    CalTrader Guest

    setup a static route. It certainly can be done. To make this secure or configure rule based routing there are more steps than a simple post can cover - hence the reference to microsoft.com. A hardware router would also solve the problem.
     
  9. emk662

    emk662

    Thank you all for the replies. My problems is that I can only use one network cards to use TCP/IP at one time. If I first enable the brokerage network card, then I can only ping their server,but I cannot access the Yahoo, hotmail, etc. However, if I enable the network card to T1 first, I can access the internet, but I cannot ping the brokerage server. The computer simply stopped looking for the second network card if it fails on the first card.

    Thank you.
     
  10. ctrader

    ctrader

    You need to setup your route table. I suggest you do a route print in dos shell. Follow this with some route adds to route all traffic destined for the brokerage server through the dedicated connection. Default route should still be out to the internet
     
    #10     Jun 26, 2003