[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Routing question


  • Subject: Re: [Openvpn-users] Routing question
  • From: /dev/rob0 <rob0@xxxxxxxxx>
  • Date: Sun, 5 Feb 2006 00:30:35 -0600

[ 2 or 3 threads merged here ]
On Wednesday 2006-January-18 13:07, Tuc at T-B-O-H wrote:
> I could swear I recently saw some sample configs or instructions on
> how to do this, but I can't find it now.

I'm trying to catch up on the list ... got way behind. Perhaps you saw 
my post from September:
http://openvpn.net/archive/openvpn-users/2005-09/msg00110.html

> I have a server thats allocated a /24, but unlike the other configs
> I saw, I don't want to pull a subset of the /24 to the client. I want
> a whole other /27 allocated to the client. How do I go about this on
> the client, server and if necessary in my routers.

Is the ISP routing the whole /24 to this server, or are they running a 
router there?


On Tuesday 2006-January-31 11:12, Tuc at T-B-O-H wrote:
> I have a Server that I'd like to have 8 clients use. The server
> has 1.2.3.0/24 assigned to it. However, I also own 3.4.5.0/24, and
> would like to assign the clients out of that 3.4.5.X/27's. (1-30,
> 33-62,65-94, etc). Is this possible without assigning one of the IP's
> out of that /27 to my server?

I think you do have to use an IP. Perhaps not, but it's the easiest 
solution. Where I have a /28 I assigned an IP in there to dummy0 with 
the /28 netmask. Turned on proxy ARP and all is well.

Uh .... not quite *all*. Actually I have a routing loop there. If I get 
a packet for an IP in the /28 which is *not* bound as an openvpn 
endpoint, it tries to go out my default route, which is funny, because 
this site has a dual redundant default route! :) I need to add a "host 
unreachable" or blackhole route for the /28, I guess.
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users