Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to connect 4 separate offices to the same file server remotely. To achieve this the offices will be connected over the internet with BT ADSL using LAN to LAN VPN routers with the following IP configuration

Location 1 Router internal IP Address 192.168.20.254 Subnet Mask 255.255.255.0

Location 2 Router internal IP Address 192.168.21.254 Subnet Mask 255.255.255.255

Location 3 Router internal IP Address 192.168.21.254 Subnet Mask 255.255.0.0

Location 4 Router internal IP Address 193.208.22.254 Subnet Mask 255.0.0.0

I have been told VPN connections wont work? is this correct or is it something to do with the IP's/subnets that are incorrect? why would this not work? what kind of routers would I need?

Thanks Scott

share|improve this question

closed as unclear what you're asking by Grant, Ward, mdpc, Dave M, Brent Pabst Aug 13 '13 at 2:11

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
You'll need to provide details of your VPN routers - what brand and model are they - before you can get any kind of answer. I can tell you right now that Location 2 won't work unless you are doing a bunch of other things - that subnet mask doesn't allow any other hosts in the same subnet. And Location 4 doesn't look like a valid private address. –  dunxd Mar 19 '13 at 11:16
    
Thanks for the reply. i am using lambda-tek.com/… Do all locations need to be on the same subnet or should they be on different ones as they are now? i will revise the IPs, what would stop location 2 from working? –  Scott Mar 19 '13 at 11:27
    
The subnet only allows for one host on the network, so how are you going to have any clients which are using this router? I think you need to brush up on your networking or get paid for help with this task. –  dunxd Mar 19 '13 at 11:35
    
Have you made a mistake and the mask at each subnet should be 255.255.255.0? –  jwbensley Mar 19 '13 at 11:56
add comment

1 Answer

Your subnet masks on site 3 means its network oberlaps with the network at sites 1 and 2.

Site 4 also overlaps with all other sites.

if possible i would set each site to use a subnet mask of 255.255.255.0

if this is not possible then you can either re-ip your site, or use some IP masqerade on the VPN.

If this cannot be done then put the fileserver in its own I.P. space that is different to all four lans

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.