Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

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


I have two internet connection @ my linux box.

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

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, 07:32 AM   #2
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 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.


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 09:16 AM
routing over virtual interface noir911 Linux - Server 1 02-23-2009 10:47 AM
Bind gui interface bdavide Linux - Newbie 5 06-15-2008 08:12 AM
Routing between 2 Interface Cards ajkannan83 Linux - Networking 1 03-06-2006 07:04 AM
rsyncd bind to a interface Greenpie Linux - Networking 1 10-22-2004 07:34 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:10 AM.

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