Ubuntu – Making two networks visible to each other

networkingsubnetUbuntu

I have made a rough drawing of my network layout: Network image

The gateway, the two servers and the wifi router have a global IP address with a subnet mask of 255.255.255.240.

The PCs have local IP addresses in the 10.0.1.x range and a subnet of 255.255.255.0

What I need to do:
Make the two servers accessible from the PC's local network and vice versa. The servers are running Ubuntu and the PCs are Windows, Ubuntu and Macs. Can this be accomplished by adding a route in the Ubuntu servers, or assigning them two IP addresses? I don't really know how to go about it.

Any help would be appreciated. Thanks!

Edit: More Info:

  • I don't have access to the gateway. It's provided by the ISP
  • The servers (and the gateway) have global IP addresses. That's why I can't combine them into a single network.
  • The router is an Apple Airport. I'm not sure of the model. But I don't think it can do much.

I understand that there is no definite solution to this with my current hardware and network topology. As some of you have pointed out, I can easily access the Servers from the PCs with LAN-speeds. I can live with that for now.

Best Answer

could you please post a traceroute from the pcs to one of the servers using its IP adress. (i think this should work fine, but not if you use the servers names as name resolution broadcasts do not cross subnet boundaries, which can be fixed by adding the servers ips and names to the hosts file)

the reverse could be tricky as the router is running nat. what ports do the servers need to acccess on the pcs?