<p dir="ltr">Right  the gw needs to be on the local network hence</p>
<p dir="ltr">If your lan is 192.168.1.*</p>
<p dir="ltr">Your default gateway might be 192.168.1.254</p>
<p dir="ltr">If you have a second gateway on 192.168.1.253 you only want to use for accessing 10.20.244.2 you can route the packets with </p>
<p dir="ltr">Route add -net 10.20.244.2 netmask 255.255.255.255 gw 192.168.1.253</p>
<p dir="ltr">In otherwords you want the smoothwall box on this side not the otherwise.</p>
<p dir="ltr">The smoothwall box on the others side may need to know where to forward incoming messages to. ...</p>
<p dir="ltr">Or as least I think that's what you want. ...</p>
<p dir="ltr">Peter<br></p>
<p dir="ltr">Peter</p>
<div class="gmail_quote">On 21 Nov 2012 20:06, "Alan Buchel" <<a href="mailto:alan@communitytechnology.org.uk">alan@communitytechnology.org.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have 2 servers on separate sites replicating overnight via the<br>
networks main internet uplinks.<br>
There are no longer enough hours in the night for the rep to complete<br>
though, but also doing it in the day takes so much bandwidth that the<br>
users' internet becomes unusable.<br>
<br>
Have therefore installed a new broadband line on each site to be used<br>
for replication only. The uplinks are firewalled by smoothwall boxen,<br>
and my problem is getting the servers to talk to eachother via this<br>
uplink as opposed to the default gateway.<br>
<br>
Have tried setting static routes on the servers so they go out through<br>
smoothwall when they want to communicate. Then on the smoothies:<br>
<br>
route add -net 10.20.224.2 netmask 255.255.255.255 gw 81.2.xxx.xxx eth0<br>
<br>
where:<br>
10.20.224.2 = the server on the other site<br>
81.2.xxx.xxx = the smoothwall on the other site<br>
<br>
but of course I get:<br>
<br>
SIOCADDRT: No such process.<br>
<br>
I am misunderstanding something about routing and probably networking<br>
theory, does anyone have any advice or pointers?<br>
<br>
Alan<br>
<br>
_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
</blockquote></div>