[gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread Samuraiii
Hello, I am trying to get hostname address resolution on my LAN and VPN with one serious problem: I have two networks eg. 10.1.1.0 and 10.2.2.0 which are representing local address space for LAN (10.1.1.0/8) and VPN address space (10.2.2.0/8). Every host has its own address suffix (eg. host foo

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread Michael Orlitzky
On 05/22/13 12:36, Samuraiii wrote: Hello, I am trying to get hostname address resolution on my LAN and VPN with one serious problem: I have two networks eg. 10.1.1.0 and 10.2.2.0 which are representing local address space for LAN (10.1.1.0/8) and VPN address space (10.2.2.0/8). This isn't

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread Michael Mol
On 05/22/2013 01:36 PM, Michael Orlitzky wrote: On 05/22/13 12:36, Samuraiii wrote: Hello, I am trying to get hostname address resolution on my LAN and VPN with one serious problem: I have two networks eg. 10.1.1.0 and 10.2.2.0 which are representing local address space for LAN (10.1.1.0/8)

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread Samuraiii
On 2013-05-22 19:52, Michael Mol wrote: On 05/22/2013 01:36 PM, Michael Orlitzky wrote: On 05/22/13 12:36, Samuraiii wrote: Hello, I am trying to get hostname address resolution on my LAN and VPN with one serious problem: I have two networks eg. 10.1.1.0 and 10.2.2.0 which are representing

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread Michael Mol
On 05/22/2013 02:30 PM, Samuraiii wrote: On 2013-05-22 19:52, Michael Mol wrote: On 05/22/2013 01:36 PM, Michael Orlitzky wrote: On 05/22/13 12:36, Samuraiii wrote: Hello, I am trying to get hostname address resolution on my LAN and VPN with one serious problem: I have two networks eg.

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread Michael Orlitzky
On 05/22/13 14:30, Samuraiii wrote: I'm sorry for mistake the subnet mask for both spaces IS 255.255.255.0. so it is not overlapping at all. I apologise for my mistake in notation. still this is not (mainly) problem with routing but problem with assigning name to address. If I had superfast

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread Samuraiii
On 2013-05-22 20:52, Michael Orlitzky wrote: On 05/22/13 14:30, Samuraiii wrote: I'm sorry for mistake the subnet mask for both spaces IS 255.255.255.0. so it is not overlapping at all. I apologise for my mistake in notation. still this is not (mainly) problem with routing but problem with

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread Michael Orlitzky
On 05/22/13 15:35, Samuraiii wrote: The only result I got was a script which every 5 minutes checked all possible addresses of given machine (my network is not big at all - only eight machines and one network printer). So checking around 20 addreses is not big deal - but this approach feels

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread covici
Michael Orlitzky mich...@orlitzky.com wrote: On 05/22/13 12:36, Samuraiii wrote: Hello, I am trying to get hostname address resolution on my LAN and VPN with one serious problem: I have two networks eg. 10.1.1.0 and 10.2.2.0 which are representing local address space for LAN

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread covici
Michael Mol mike...@gmail.com wrote: On 05/22/2013 01:36 PM, Michael Orlitzky wrote: On 05/22/13 12:36, Samuraiii wrote: Hello, I am trying to get hostname address resolution on my LAN and VPN with one serious problem: I have two networks eg. 10.1.1.0 and 10.2.2.0 which are

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread Alex
Hi, On Wed, May 22, 2013 at 09:35:30PM +0200, Samuraiii wrote: Script was just checking (by sftp with public ssh keys for unprivileged account) if LAN (eth or wifi) address is up and if not it just assigned address to hostname from vpn range (it did not accounted if machine is up or down).

Re: [gentoo-user] VPN vs LAN address hostname resolution

2013-05-22 Thread William Kenworthy
I am doing something sort of similar ... use a routing protocol and set the metrics to make the LAN more attractive so it will get used over the wifi. Use dhcp to update dns. I was using ospf (quagga), dns and ISC dhcp which auto-updates bind. This is transparent to the the hosts, is a pain to