<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@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:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
..MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:429132277;
        mso-list-type:hybrid;
        mso-list-template-ids:1281244422 336134145 336134147 336134149 336134145 336134147 336134149 336134145 336134147 336134149;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-NZ link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>Martyn,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>In regard to the below, I am
trying to set up the XS behind a Linksys WRT54G2 router. <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I think my issue is because eth1
(lanbond0) is set up as network 172.18.96.1/255.255.224.0 (for the XOs) but the
server listens on 172.18.0.1 (or<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I have tried to use the route command
to add the router LAN IP as the default gateway but it doesn&#8217;t work or I
did it wrong<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Could you please tell me what I
should use for the LAN settings on the router? <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>The WRT54 settings I am using here
at home are<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-family:Symbol;color:#1F497D'><span style='mso-list:Ignore'>&middot;<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>WAN &#8211; static IP,
192.168.1.88 / 255.255.255.0 (external network is 192.168.1.0/24)<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-family:Symbol;color:#1F497D'><span style='mso-list:Ignore'>&middot;<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>LAN &#8211; static IP,
172.18.0.88 / 255.255.255.0 (could it be the netmask? The WRT only allows up that
setting , i.e. 255.255.224.0 is not possible)<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-family:Symbol;color:#1F497D'><span style='mso-list:Ignore'>&middot;<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='color:#1F497D'>Port forwarding, I
tried everything, including UPnP forwarding and DMZ Host with 172.18.0.1 as the
IP<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>At the moment I can&#8217;t ping
from the XS to the Linksys WAN IP (on the external network). However, I can
ping the LAN side (172.18.0.88). <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Moreover, from a PC connected to
the same LAN side of the router, I ACN indeed ping all the way through the
router to the external network and beyond. I can also ping the server and if I
enter 172.18.0.1 in the browser I get Moodle. So in summary, the PC can send
traffic through the router but the server can&#8217;t. Beats me but I am sure
it is the network settings somewhere.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I tried this using with the
router LAN network set to 172.18.96.0/24 but it didn&#8217;t work either &#8211;
I can&#8217;t ping through the router even with a PC (destination reachable).
Note that the PC is given a mask of 255.255.224.0 by the XS DHCP (and DNS
server 172.18.0.1) and it&#8217;s not possible to use that in the router
settings.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Is this going to be possible? Do
I need a better router ? I am going to the remote site today for 7 days, and
need to crack this one quickly<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<p class=MsoNormal><b><span style='font-size:9.0pt;color:#1F497D'>David Leeming<o:p></o:p></span></b></p>

<p class=MsoNormal><span style='font-size:8.0pt;color:#1F497D'>Solomon Islands
Rural Link <br>
<br>
<o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> server-devel-bounces@lists.laptop.org
[mailto:server-devel-bounces@lists.laptop.org] <b>On Behalf Of </b>David
Leeming<br>
<b>Sent:</b> Saturday, 30 October 2010 4:11 p.m.<br>
<b>To:</b> 'XS Devel'<br>
<b>Cc:</b> 'Mark Flynn'; 'Phill Hardstaff'<br>
<b>Subject:</b> [Server-devel] Bridging XS to another network<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Hello all again,<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>A networking challenge this time.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I have an XS at a school where there also exists a wide area
private network connecting schools using Wi-Fi. We want those connected schools
to be able to access the XS, for various reasons.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>That network (let&#8217;s call it network 2) is
192.168.1.0/24 and it is connected with the Internet via a router &nbsp;running
NAT and DHCP.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>The XS local network seems to be quite complicated, I
don&#8217;t fully understand it, but what I need to know is the correct slash
designation for the httpd and dns servers at 172.18.0.1 so that I can bridge it
to network 2.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I am trying to use a Linksys WRT54G2 in DMZ Host mode with
the IP address 172.18.0.1 bridged to the external Wan IP address of the WRT
(set to 192.168.1.88)<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>The WRT LAN IP setting only allows netmask values of up to
255.255.255.0 and I am worried if there is a mismatch then it could be why I
can&#8217;t get it to work. <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I also suspect I may have to add something to the apache or
routing config on the XS, so as to &#8220;listen&#8221; on the WRT external IP
address <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>At the moment I set the Linksys to <o:p></o:p></p>

<p class=MsoNormal>WAN &#8211; fixed IP 192.168.1.88 / 255.255.255.0<o:p></o:p></p>

<p class=MsoNormal>LAN IP address &#8211; 172.18.0.88 / 255.255.255.0&nbsp;
(could the net mask be the issue?)<o:p></o:p></p>

<p class=MsoNormal>Application: DMZ Host, value 172.18.0.1 <o:p></o:p></p>

<p class=MsoNormal>Required changes to &nbsp;xs apache settings&nbsp;&nbsp;
?????? &nbsp;&nbsp;&nbsp;<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Trying to connect on the network 2 side using a browser if I
enter 192.168.1.88 or 172.18.0.1 it just times out.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>If anyone reading this recognises what I am trying to do,
I&#8217;d very much appreciate your advice.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><b><span style='font-size:9.0pt'>David Leeming<o:p></o:p></span></b></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:8.0pt'>Solomon
Islands Rural Link <o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>