Invalid 'route change' functioning

Vladimir Grebenschikov vova at fbsd.ru
Mon Jan 17 08:20:55 PST 2005


В пн, 17/01/2005 в 18:05 +0200, Ruslan Ermilov пишет:

> > Any ideas what wrong with 'route change' ? 
> > 
> The route(8) manpage says:
> 
> : In a change or add command where the destination and gateway are not suf-
> : ficient to specify the route (as in the ISO case where several interfaces
> : may have the same address), the -ifp or -ifa modifiers may be used to
> : determine the interface or interface address.
> 
> So try this instead:
> 
> route change 192.168.0/23 -ifp fxp0

Thank you, it works.

So, as I understand, route add ... -iface fxp0 is invalid if I want
specify gateway interface ?

(how this works, '-iface' flag and 'fxp0' is what ? gateway ?)

> Cheers,
-- 
Vladimir B. Grebenchikov
vova at fbsd.ru


More information about the freebsd-net mailing list