You are right.
Then the trivial solution would be to switch the tap-interface on the 
client from DHCP to a static IP in the net, which is outside the IP 
range of the DHCP-Server

Joerg

schrieb Simon Deziel:
> Since Russel uses a tap-based VPN and relies on DHCP for IP/route
> assignment, there isn't much that OpenVPN can do.
>
> Russel, you might want to look at [1] and see if tweaking the metric of
> your other interfaces (not the tap) helps you.
>
> HTH,
> Simon
>
> 1:
> http://blog-rat.blogspot.ca/2011/06/forcing-windows-7-to-use-wired-when.html
>
> On 13-06-07 09:35 AM, Max Muster wrote:
>> So, if I got it right, what you realy want is only a route for one
>> network and you will get a default route.
>>
>> If this is "your problem", just ignore the route pushed by the server
>> and put the route you want into your config :
>>
>> # ignore routes sent by server
>> route-nopull
>> # put the route you want (if you get a network address from the server,
>> not point-to-point) you might not need this
>> route  192.168.1.0 255.255.255.0
>>
>> Joerg
>>
>> -------- Original-Nachricht --------
>> Betreff: Re: [Openvpn-users] Multiple Default Gateways
>> Von: R. Morris <[email protected]>
>> An: Les Mikesell <[email protected]>
>> Kopie (CC): [email protected]
>> Datum: Fr 07 Jun 2013 14:02:42 CEST
>>> Hi,
>>>
>>> That makes sense - do you have any information on this?
>>>
>>> But also - if route-metric doesn't work on Windows ... is this not
>>> something we want to fix?
>>>
>>> Thanks,
>>> ... Russell
>>>
>>>   
>>>
>>> On 2013-06-06 18:35, Les Mikesell wrote:
>>>
>>>> On Thu, Jun 6, 2013 at 6:25 PM, R. Morris <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>>> Hi, I'm fine with the default route it offers - just not the metric.
>>>>> It sets the VPN priority higher than the local LAN, so it kills my
>>>>> local LAN (and internet access, etc.). If I can adjust the metric
>>>>> I'm fine. I'm not adding a subnet because I want to access several
>>>>> machines back on the remove (VPN) network. This makes it easier - no?
>>>> If the server end is linux it is fairly trivial to make it NAT to the
>>>> server's address.
>>>>
>>>> --
>>>>    Les Mikesell
>>>>      [email protected] <mailto:[email protected]>
>>>>
>>>> http://p.sf.net/sfu/servicenow-d2d-j
>>>> _______________________________________________
>>>> Openvpn-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>>>>


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to