<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 6 March 2014 16:15, Les Pritchard <span dir="ltr"><<a href="mailto:les.pritchard@gmail.com" target="_blank">les.pritchard@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Have you tried just doing something like this?<div><span style="font-family:courier new,monospace"><br>
</span></div><div><span style="font-family:courier new,monospace">route add -net 222.222.222.222 netmask 255.255.255.255 gw 1.1.1.1</span></div><div>If you're going for a whole range of IPs via there, you'd just need to alter the subnet mask<br>
</div></div></blockquote></div><br><br><div>Indeed I can use that to set an IP against a specific gateway, but 1.1.1.1 isn't set as a gateway to go through, so I get "<span style="font-family:courier new,monospace">SIOCADDRT: No such process</span>". (The syntax is okay though, as I can use the command with the eth0 gateway without issue to go through there.)<br>
<br></div><div>Apparently to add a second gateway, I have to use a second routing table, and against that table add the wlan0 gateway and route the IP.<br></div><div></div><div><br><br></div>Ben<br><br clear="all">-- <br>
<div dir="ltr"><b>Ben Arnold</b><div><i><i>Liverpool</i>, UK</i></div><div><br></div><div><i>Free Software Foundation (Europe)</i>
</div><div><i>e: benarnold at <a href="http://fsfe.org" target="_blank">fsfe.org</a> | </i><i>ben at <a href="http://seawolfsanctuary.com" target="_blank">seawolfsanctuary.com</a></i><i><br></i></div><i>w: <a href="http://seawolfsanctuary.com" target="_blank">seawolfsanctuary.com</a> | chat: benarnold at <a href="http://jabber.fsfe.org" target="_blank">jabber.fsfe.org</a></i> <br>
</div>
</div></div>