Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2001 09:15:48 +0200
From:      German Tischler <tanis@gaspode.franken.de>
To:        shailesh sheoran <shailesh@ece.ubc.ca>
Cc:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: -iface option doesn't work in route command
Message-ID:  <20010701091548.A1027@gaspode.franken.de>
In-Reply-To: <Pine.GSO.4.33.0106302152260.1347-100000@shannon.ece.ubc.ca>; from shailesh@ece.ubc.ca on Sat, Jun 30, 2001 at 11:13:13PM -0700
References:  <025301c0f91f$caff1130$1200a8c0@gsicomp.on.ca> <Pine.GSO.4.33.0106302152260.1347-100000@shannon.ece.ubc.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--+QahgC5+KEYLbs62
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 30, 2001 at 11:13:13PM -0700, shailesh sheoran wrote:
> Hi,
> 	i am trying to setup a network using 5 computers each with 2
> network interfaces.
> 	when i try to do the following on my FreeBSD 4.3 RELEASE machine:
>=20
> 	route add 198.82.223.123 198.82.223.79 -iface fxp1
>=20
> 	i.e i want to tell my machine to look for 198.82.223.123 on
> interfacet fxp1 instead of fxp0, and use 198.82.223.79 as the gateway, i
> get the following error/bug:
> 	bad address : fxp1

Did you try

	route add 198.82.223.79 -iface fxp1
	route add 198.82.223.123 198.82.223.79

?

(According to the route manpage the iface and gateway flags can't be
set at the same time)

--gt

--+QahgC5+KEYLbs62
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iQEVAwUBOz7OJL7hO6NLB/FvAQG6SQf/f41XF23GGWl0yPxuFM1kdTJc97HX77tI
PKbLerJ00ra8GntZrrujKcox5GBW9BCSOteMki9fXlKRaPGuSJY1duHRKt8Llo6J
/KuAN7l9m071OjswBhoLkHQ+EBSjS6+UNyN3thJEj7iRBvsXNqOf9yMzTUZFMj1p
IUHCo1rzq4mVzrT9t0Mf1S1U/8ocvPsjMhHnhOKks/Cujchgf7eE8nKoqIDNOM1o
Y8xIpPezJrMYXVOQEhN0dpiMe397xLjM66pRRQ2PuRVYIXvbWqWslz2ycrst/R3r
BjIYIuKW9D4UDph/5de6x5FXF/JU4t7icJv4bvpoBYc18pgWP3CM0Q==
=D3wo
-----END PGP SIGNATURE-----

--+QahgC5+KEYLbs62--

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




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