LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-19-2009, 07:42 AM   #1
IscreaMan
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Question Bind application to interface...or some fancy routing?


Hi

I have two internet connection @ my linux box.

1. wired ethernet - eth0 (10.0.0.2) connected to ADSL modem (10.0.0.1)
2. wireless USB - wlan0 (192.168.1.* dhcp'ed) connected to wireless AP (192.168.1.100)

Is it possible to "force" one application to use only wlan0 (and it's gateway), while other should use only eth0?

Some kind of source routing? Socks proxy? Socket hijacking? I was googling a lot, but cannot find any solution.

I am virtualizing at the moment with VirtualBox, but this is not an option for me.

Best regards!
 
Old 04-19-2009, 08:32 AM   #2
asymptote
Member
 
Registered: Mar 2008
Posts: 236

Rep: Reputation: 37
I don't know of a way to tell an application to use one interface and everything else use another, but you can do it with Virtualbox (which is an application). You can follow the directions on this link http://forums.virtualbox.org/viewtopic.php?f=7&t=9165 near the end. This information is also in the virtualbox manual but the guy that provided the answer just put the solution in a nice format for the OP.
 
  


Reply

Tags
application, force, routing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind to interface OR how to ignore routing jantman Linux - Networking 1 04-01-2009 10:16 AM
routing over virtual interface noir911 Linux - Server 1 02-23-2009 11:47 AM
Bind gui interface bdavide Linux - Newbie 5 06-15-2008 09:12 AM
Routing between 2 Interface Cards ajkannan83 Linux - Networking 1 03-06-2006 08:04 AM
rsyncd bind to a interface Greenpie Linux - Networking 1 10-22-2004 08:34 AM


All times are GMT -5. The time now is 09:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration