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

Les Pritchard les.pritchard at gmail.com
Tue Mar 18 17:37:01 UTC 2014


Ah great, glad you got it sorted in the end. I have to admit I was
distracted not long after your last email and them completely forgot about
this thread until last night, so thanks for the update.




On 18 March 2014 09:21, Ben Arnold <BenArnold at fsfe.org> wrote:

> Oh, good gravy: my second gateway IP was wrong! Traffic was being put
> through the second gateway and interface correctly, it just couldn't go
> anywhere!
>
> The wireless has an authentication proxy thing, which i thought was the
> gateway. Adding the actual gateway, the auth server and the remote server's
> IP worked. So:
>   sudo route add -net $IP2A netmask 255.255.255.255 gw $GW2 dev $IF2
>   sudo route add -net $IP2B netmask 255.255.255.255 gw $GW2 dev $IF2
> was all it took.
>
> Les -- we were both right, your solution slightly more succinct :) Thanks
> for letting me waste a few moments of your time!
>
>
> 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>*
>
> _______________________________________________
> Chester mailing list
> Chester at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/chester
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/chester/attachments/20140318/6647d322/attachment.html>


More information about the Chester mailing list