rastafaray
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you
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