[Chester LUG] Routing a specific IP through a non-default interface

Ben Arnold BenArnold at fsfe.org
Thu Mar 6 16:12:58 UTC 2014


Afternoon Les,


On 6 March 2014 15:35, you wrote:

> Would the gateway of 1.1.1.1 only be available via your wlan? If you
> added a static route for the destination IP as going via 1.1.1.1 that it
> should take that route when your wifi is connected. The only issue is that
> when you don't have your wifi connected it may route to your destination IP
> via the eth, would that be an issue?
>

Yes, 1.1.1.1 is only available through the wlan0.

I should probably mention that the first command fails; "No such process"
it complains when adding a second gateway and specifying an interface,
which I believe is because the "via 1.1.1.1" doesn't know *how* to go via
that IP.


Cheers,
Ben

-- 
*Ben Arnold*
*Liverpool, UK*

*Free Software Foundation (Europe)*
*e: benarnold at fsfe.org <http://fsfe.org>  |  **ben at
seawolfsanctuary.com <http://seawolfsanctuary.com>*
*w: seawolfsanctuary.com <http://seawolfsanctuary.com>  |  chat: benarnold
at jabber.fsfe.org <http://jabber.fsfe.org>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/chester/attachments/20140306/21bd04d8/attachment.html>


More information about the Chester mailing list