[Beds] Broadcast packets over VPN

Neil Darlow neil at darlow.co.uk
Tue Mar 18 10:54:00 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jon,

On Tuesday 18 Mar 2003 10:38, Jonathan Dye wrote:
> Not quite.  My network is (e.g.) 10.1.2.0/24 and his is 10.3.4.0/24.  All
> the machines on our networks have netmasks of 255.255.255.0.  I guess
> changing the netmasks to 255.0.0.0 would make the broadcasts be
> 10.255.255.255 which might work I suppose but then surely the netmasks are
> wrong.  The gateways will still have to have the netmasks as 255.255.255.0
> to route between the networks correctly so therefore the gateways and the
> client PC's will have different netmasks for the same network.

Can't you agree to use the same subnet? You are after-all attempting to 
create a VPN. It makes sense for it to be a single homogenous subnet. This 
would provide you with a single broadcast address and allow for easy 
configuration of Samba's networking etc.

> It's a problem if I configure Samba to use a WINS server on the other side
> as each time a want to look up a machine name it'll have to connect to my
> firends network.  If I set up the WINS on my side then he has the same
> problem.  Or am I missing something here and the servers can replicate
> between themselves and therefore we can have one on each side.

Any resolution mechanism, and Samba can use DNS too, requires a working 
resolver of some sort. You could resort to using a hosts/LMHOSTS file to 
resolve some of the machines either his services, for when you are 
disconnected, or for your local machines. Part-time networks inevitably cause 
these type of problems.

Regards,
Neil Darlow M.Sc. -- Beds LUGmaster
- -- 
ICQ: 135505456  E-Mail, Jabber and MSNM: <neil at darlow.co.uk>
Free Software and Open Standards Consultants - http://www.darlow.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+dvqR5XniSlMfkEgRAovgAJsHqs15jKx4+MVhckuPTpmhwb+z9gCeMFrL
8sV+NRzNAJlzahvfS6vqAUY=
=d8TY
-----END PGP SIGNATURE-----