<div dir="ltr"><p dir="ltr">Hi all,</p><p dir="ltr"><br></p>I have a system with a default Ethernet connection, through which all network traffic should go -- it'll be an internal-only network -- and is set-up correctly as any other. I want one specific host (say, 222.222.222.222) through another interface (wlan0,  gateway of 1.1.1.1) that may or may not be up and connected.<br>
<p dir="ltr">I've read that this would be possible by creating a second routing table for the wifi connection, which has 1.1.1.1 listed as that default gateway and create a rule that applies the specific IP to that routing table. Having added "<span style="font-family:courier new,monospace">1 wifi</span>" to <span style="font-family:courier new,monospace">/etc/iproute2/rt_tables</span>, how can I correct the following, and are there any other considerations that mean it's not that simple? <br>
</p>
<p dir="ltr"><span style="font-family:courier new,monospace">    ip route add default via 1.1.1.1 dev wlan0 table wifi</span><span style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"><br>

    ip rule add from </span></span><span style="font-family:courier new,monospace"><span style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">222.222.222.222</span> table wifi</span></span><span style="font-family:courier new,monospace"><br>

    ip rule add to 222.222.222.222 table wifi</span></p><p>As I've said before my routing knowledge is as strong as a chocolate teapot, I really must get reading and some spare kit...<br></p><p><br></p><div><p dir="ltr">
Much obliged,<br>
Ben</p>
</div></div>