Date: Mon, 17 Jan 2005 19:20:53 +0300 From: Vladimir Grebenschikov <vova@fbsd.ru> To: Ruslan Ermilov <ru@freebsd.org> Cc: freebsd-net <net@freebsd.org> Subject: Re: Invalid 'route change' functioning Message-ID: <1105978853.1229.18.camel@localhost> In-Reply-To: <20050117160523.GA77421@ip.net.ua> References: <1105974518.1229.9.camel@localhost> <20050117160523.GA77421@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D0=CE, 17/01/2005 =D7 18:05 +0200, Ruslan Ermilov =D0=C9=DB=C5=D4: > > Any ideas what wrong with 'route change' ?=20 > >=20 > The route(8) manpage says: >=20 > : In a change or add command where the destination and gateway are not su= f- > : ficient to specify the route (as in the ISO case where several interfac= es > : may have the same address), the -ifp or -ifa modifiers may be used to > : determine the interface or interface address. >=20 > So try this instead: >=20 > 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, --=20 Vladimir B. Grebenchikov vova@fbsd.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1105978853.1229.18.camel>