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
+ route add 220.127.116.11 10.10.0.34 -ifp em0:08:00:69:ff:ff:ff
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).
Ok, I didn't realize the interface name was sufficient.
I would of have never looked at pppoe(4) unless you told me about it.
I suggest just adding "name" then:
-determine the interface or interface address.
+determine the interface name or interface address.
Just because interface by itself was a little generic and if someone
uses the mac address of the interface alone it won't work.