Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2002 02:59:04 +0100
From:      "Rogier R. Mulhuijzen" <drwilco@drwilco.net>
To:        Brendan Kosowski <brendan@bmk.com.au>, FreeBSD Networking <freebsd-net@FreeBSD.ORG>
Subject:   Re: How can I give one route priority over the other route ?
Message-ID:  <5.1.0.14.0.20020304025555.02c9eac8@mail.drwilco.net>
In-Reply-To: <Pine.BSF.3.96.1020304122018.13564A-100000@garfield.bmk.com .au>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:42 4-3-2002 +1100, Brendan Kosowski wrote:
>In situations where there are 2 routes in your routing table that apply to
>a given destination IP address, how do you give one route priority over
>the other ?

The one with the widest netmask is used.

So if you have both 10.0.0.0/8 and 10.42.69.0/24 in your routing table and 
for instance a packet needs to go to 10.42.69.13 the latter is used.

         Doc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020304025555.02c9eac8>