[lug] Address for LAN on VPN?

Sean Reifschneider jafo at tummy.com
Mon Mar 6 00:18:47 MST 2006


On Sat, Feb 18, 2006 at 02:49:32PM -0700, Ted Logan wrote:
>By convention, these networks have the following netmasks:
>
>10.0.0.0/8
>172.16.0.0/16
>192.168.0.0/24

You obviously don't have to specify these netmasks though.  For a dedicated
VPN, using a 192.168.$[RANDOM%256].$[RANDOM%256] network with a /30 netmask
would probably never conflict with a local network and would provide the
two IPs necessary for communications.

>can't resolve any addresses. When I manually edit /etc/resolv.conf to
>add a search domain, openvpn and dig work fine. I keep meaning to
>figure out who's at fault and file a bug report (or fix it myself),
>but so far I've been lazy.)

I use my own DNS cache and tell dhclient to always use that one.  In a few
rare cases that will break when they are doing DNS-based captive portals,
but those are pretty rare these days.

Thanks,
Sean
-- 
 Good judgement comes from experience, and experience comes from bad judgement.
                 -- Fred Brooks
Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
tummy.com, ltd. - Linux Consulting since 1995: Ask me about High Availability




More information about the LUG mailing list