[Server-devel] Bridging XS to another network

David Leeming david at leeming-consulting.com
Mon Nov 1 18:00:06 EDT 2010


On Mon, 2010-11-01 at 05:43 -0500, Jerry Vonau wrote:
> On Mon, 2010-11-01 at 20:35 +1100, David Leeming wrote:
> > Hi Jerry
> > 
> > That sorted it out - almost...
> > 
> > I added the gateway and the server can now ping through the router.
> > 
> > I added port forwarding for HTTP and success .... partially
> > 
> 
> Good that's progress.
> 
> > >From the outside I can enter the router WAN IP (which is now 192.168.0.210) and mixed results...
> > 
> > http://192.168.0.210 gives the Firefox error "Server not found, Firefox can't find the server at schoolserver.patukae.org" 
> > (showing that it has found something at least....). Same with http://192.168.0.210/moodle/ 
> > 

> > Shoot, the client can't resolve the name, add to /etc/hosts:
 
> > 192.168.0.210 schoolserver.patukae.org schoolserver

> > Jerry


Tried but no different. I don't think the mediawiki installation has changed anything fundamental with the networking. The server functions normally when XOs and PCs connect wirelessly or wired to the eth1. I was wondering if the public folders part might be an issue... because the only difference I can think between the wiki and moodle is that Moodle exists at /var/www/moodle/ but the wiki at /var/www/html/wiki/ (i.e. one level down). Please note these observations:

These results I get when browsing with a PC on the external network

1.	http://192.168.0.210/wiki   fully accessible!
2.	http://192.168.0.210 gives “Server not found, Firefox can’t find the server at schoolserver.patukae.org” 
3.	http://192.168.0.210/moodle gives same as (2) above
4.	http://192.168.0.210/gibberish gives a prompt apache error "the URL /gibberish not found". Thus it does find something (i.e. compare with 2 and 3). 
 
My /etc/hosts file now
127.0.0.1               schoolserver.@@BASEDNSNAME@@ localhost.localdomain localhost
::1                     localhost6.localdomain6 localhost6
192.168.0.210           schoolserver.patukae.org schoolserver

Route:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.18.16.0     *               255.255.255.0   U     0      0        0 mshbond0
172.18.0.0      *               255.255.255.0   U     0      0        0 lanbond0
172.18.1.0      *               255.255.255.0   U     0      0        0 lanbond0
172.18.14.0     *               255.255.254.0   U     0      0        0 mshbond2
172.18.12.0     *               255.255.254.0   U     0      0        0 mshbond1
172.18.10.0     *               255.255.254.0   U     0      0        0 mshbond0
172.18.64.0     172.18.1.7      255.255.248.0   UG    0      0        0 lanbond0
172.18.72.0     172.18.1.8      255.255.248.0   UG    0      0        0 lanbond0
172.18.8.0      172.18.1.1      255.255.248.0   UG    0      0        0 lanbond0
172.18.16.0     172.18.1.1      255.255.248.0   UG    0      0        0 lanbond0
172.18.24.0     172.18.1.2      255.255.248.0   UG    0      0        0 lanbond0
172.18.32.0     172.18.1.3      255.255.248.0   UG    0      0        0 lanbond0
172.18.40.0     172.18.1.4      255.255.248.0   UG    0      0        0 lanbond0
172.18.48.0     172.18.1.5      255.255.248.0   UG    0      0        0 lanbond0
172.18.56.0     172.18.1.6      255.255.248.0   UG    0      0        0 lanbond0
172.18.96.0     *               255.255.224.0   U     0      0        0 lanbond0
link-local      *               255.255.0.0     U     0      0        0 mshbond2
default         172.18.0.88     0.0.0.0         UG    0      0        0 lanbond0





More information about the Server-devel mailing list