Hi Daniel,

On 19-08-2015 17:59, dmil...@amfes.com wrote:
> Is there a difference between doing 192.168.0.0/16, vs having two routes
> of 192.168.0.0/24 and 192.168.5.0/24?
In your example, the /16 route will never be used when communicating to 
any of those /24 networks.

Routing algorithms specify that when multiple routes to the same 
destination exists, the route that will be used is the more specific one.
So, a /24 will be used instead of an existing /23 or /16 in your case.
This is why the default gateway is the "last resort" gateway it a /0 
network, which means all destinations.

Hope it helped on your routing understating.

Regards,
Rui

>
> My thinking, flawed as it is, is:
> 1.  Both hosts have known routing tables that allow them to communicate.
> 2.  At each host, define an additional route that utilizes the existing
> routes.
>
> something like - (since this is Windows):
>     route add 192.168.5.6 10.59.97.8 (on VirtualBox) - and then -
>     route add 192.168.5.119 192.168.5.6
>
>     I don't see a reason to add any routes to the Windows client - it's
> already talking.
>
> But since I've tried this and it doesn't work - obviously I'm missing
> something.
>
> ---
> Daniel
>
> On 2015-08-19 02:24, Doug Lytle wrote:
>> Erich Titl wrote:
>>>> I already have 192.168.0.0/24 routes on the Windows client
>>> This route does not cover 192.168.5.x
>> To expand on that just a little bit.
>>
>> 192.168.0.0/24 only covers 192.168.0.1-254, you'd want /16
>>
>> Doug
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Openvpn-users mailing list
>> Openvpn-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/openvpn-users
> ------------------------------------------------------------------------------
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>
>

-- 
Melhores Cumprimentos / Best Regards,

*Rui Santos* <mailto:rsan...@ruisantos.com>
Systems Administrator
<https://www.facebook.com/GRUP0PIE> 
<http://www.linkedin.com/company/grupopie-portugal> 
<https://twitter.com/GrupoPIE> <http://www.youtube.com/user/PIEGrupo>


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

Reply via email to