Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2000 22:27:08 -0600 (MDT)
From:      Nick Rogness <nick@rapidnet.com>
To:        freebsd-net@freebsd.org
Subject:   2 routes/same net
Message-ID:  <Pine.BSF.4.21.0006262216160.35481-100000@rapidnet.com>

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

How do you add 2 static routes to the same network through different
gateways with different metric sizes? (FBSD 4.0-RELEASE,3.3-RELEASE)
This is legal to do in routing...

	Example:

	# route add -net 192.168.0.0 -netmask 255.255.255.252 192.168.1.1
	# route add -net 192.168.0.0 -netmask 255.255.255.252 192.168.1.2
	route: writing to routing socket: File exists
	add net 192.168.0.0: gateway 192.168.1.2: File exists

I thought (at 1 time) there was a -metric switch to route(8)?  Is
-hopcount associated with that?  Can you even add 2 routes to the same
network?

Thanks in adv.

Nick Rogness
- Speak softly and carry a Gigabit switch.




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006262216160.35481-100000>