Avatar of rastafaray
rastafarayFlag for United States of America asked on

use of default gateway at the application level

consider the following setup
internet DSL router1 w/LAN IP 192.168.1.1 up6.0/down384
internet DSL router2 w/LAN IP 192.168.2.1 up3.0/down384
internet DSL router3 w/LAN IP 192.168.3.1 up1.0/down384
each router connected to the same 4 port router
a single cable also connects the hub to a PC
the PC w/IPs of 192.168.1.10, 192.168.2.10 and 192.168.3.10 has 3 different default Gateways values assigned to the same nic:
192.168.1.1
192.168.2.1
192.168.3.1

the Q, when running different net based applications e.g., IE/FF or FTP, can we somehow assign a which default gateway the application should use?

thank you.

Windows NetworkingNetworking Protocols

Avatar of undefined
Last Comment
rastafaray

8/22/2022 - Mon
tvman_od

I don't see any reasons to change default gateway. Besides that how are you foing to resolve conflicts when you run multiple applications at the same time.

Solution:
1. For Linux. Use iptables to forward different traffic to desired destination based on the port of the server.
2. Cisco router as middle point. Using routing-map. Does the same, matches traffic and forwards to desired destination.
3. Windows Vista should support it, but I'm not sure how to use it. Please see this article
http://blogs.msdn.com/wndp/archive/2006/06/30/653047.aspx
http://technet.microsoft.com/en-us/windowsvista/aa905086.aspx
ASKER CERTIFIED SOLUTION
Adrien de Croy

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
rastafaray

thank you
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23