On Wed, Dec 09, 2009 at 02:37:32PM -0800, Doran Mori wrote:
> Sorry I'm not man enough...err savvy enough to know the man page ways
> to write the needed lingo.
> 
> Could somebody update the man page for route with the following gist:
> 
>      In a change or add command where the destination and gateway are not suf-
>      ficient to specify the route, the -ifp or -ifa modifiers may be used to
>      determine the interface or interface address.
> 
> +     -ifa specifies an interface by its IP address (not name).
> +
> +     -ifp specifies an interface by name and link layer address:
> +
> +          -ifp interface name:link layer address
> +
> +          example:
> +
> +          route add 192.1.2.3 10.10.0.34 -ifp em0:08:00:69:ff:ff:ff
> 
> dmo

hi. i've talked to claudio a bit about this, and i think it's not gonna
go in. the man page is fairly clear that ifp is the interface name, and
-ifa its address. if you look closely you'll see that, for better or for
worse, the whole page is written in that style. i'm not sure that the
text you're proposing will make things any clearer.

by the way, -ifp does not require the :address part - the interface name
is sufficient. if you look at pppoe(4), there's an example in there that
uses this syntax (and it does work).

jmc

Reply via email to