<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><a
href="http://www.linuxforums.org/forum/ntopic25532.html">http://www.linuxforums.org/forum/ntopic25532.html</a>
seems to suggest you need to fwd the packets using iptables as the default
routing is not doing nothing &#8211; not sure what lines need to be added in a
two-subnets though&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
Mark Broadbent [mailto:markb@wetlettuce.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 28 October 2004 9:03 PM<br>
<b><span style='font-weight:bold'>To:</span></b> chris@logics.co.uk;
Herefordshire Linux Users Group.<br>
<b><span style='font-weight:bold'>Cc:</span></b> mherbert@redhat.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Herefordshire]
Routing two subnets</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Thu, 2004-10-28 at 20:43 +0100, Chris Bond wrote: <o:p></o:p></span></font></p>

<pre><font size=2 face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;color:black'>Might have not made it clear I can route on the linux box perfectly its on a</span></font><o:p></o:p></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;color:black'>remote machine that where the default gateway is set to route that segment</span></font><o:p></o:p></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;color:black'>that it doesn't route via the linux box.</span></font><o:p></o:p></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;color:black'>-----Original Message-----</span></font><o:p></o:p></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;color:black'>From: Chris Bond [mailto:<a
href="mailto:chris@logics.co.uk">chris@logics.co.uk</a>] </span></font><o:p></o:p></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;color:black'>Sent: 28 October 2004 8:41 PM</span></font><o:p></o:p></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;color:black'>To: <a
href="mailto:mherbert@redhat.com">mherbert@redhat.com</a>; <a
href="mailto:herefordshire@mailman.lug.org.uk">herefordshire@mailman.lug.org.uk</a></span></font><o:p></o:p></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;color:black'>Subject: RE: [Herefordshire] Routing two subnets</span></font><o:p></o:p></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;color:black'>Already done that but still doesn't route the packets!&nbsp; Iptables -L shows</span></font><o:p></o:p></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;color:black'>default ACCEPT so its not that blocking it... aby more ideas?</span></font><o:p></o:p></pre>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
I assume your network is laid out like somewhat like:<br>
<br>
[Box A]&lt;---Subnet 1--&gt;[eth? &quot;Linux Box&quot; eth?]&lt;--Subnet
2--&gt;[Box B]<br>
<br>
Starting with basics I'll assume your attempting to ping Box B from Box
A.&nbsp; The output from this would be useful, even more useful would be the
packet capture whilst your pinging Box B (using tcpdump or ethereal).&nbsp; But
to start with if give us the output from the 'route' command on all the boxes
(plus a corresponding 'ifconfig' [Linux] or 'ipconfig /all' [Windows]) and we
can work from there.<br>
<br>
Thanks<br>
Mark<br>
<br>
<o:p></o:p></span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td style='padding:0cm 0cm 0cm 0cm'>
  <p class=MsoNormal><font size=3 face="Times New Roman"><span
  style='font-size:12.0pt'>-- <br>
  Mark Broadbent &lt;<a href="mailto:markb@wetlettuce.com">markb@wetlettuce.com</a>&gt;
  <o:p></o:p></span></font></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>