-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Gehani, Gaurav writes: > Hi, > I actually wanted to know if it is possible or not, though I tried a lot on > google but didnt gt any fruitful result. > What usually happens is that I have my laptop connected through ethernet and > internet through MOBILE PHONE modem. > That means I have two global IP's
two global IP's ? as in two globally routable IP addresses ? Do you've two gateways (or default routes) to the internet ? > but the problem is that each application will use only the one which was > acquired first. implicit bind() by kernel would be the correct term for this. > I wanted to know if it is possible to force some applicatin to use ethernet > and other to use modem If your application has provision of explicitly specifying 'bind() address' (e.g. in wget, --bind-address option, 'bind' option of rtorrent, etc.) then you can achieve this by specifying the bind() address there. Otherwise you've to rely on hacks like keeping two default routes each with a different 'metric'. The route with lower 'metric' value is preferred by default. And in the applications, where you can't specify the address the lower metric route shall be used and apps where you can specify the bind address, the other route shall be used. > Like google chrome using ethernet and firefox or seamonkey with modem > I actually want to open two different accounts on two different Ip's and for > security reasons would not like to use proxy servers ....... Or the other way is to run two proxy servers bound to a different local ports, and bind() to different IP address for remote connections. HTH - -- They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. -- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEAREDAAYFAkusFa0ACgkQHy+EEHYuXnRcdgCfbQPVr68O+BgwZRiR843QpPZw /2EAoLUtYTm1GgpOTjwkLMenvu7gQTZR =m7EJ -----END PGP SIGNATURE----- _______________________________________________ Ilugd mailing list [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd
