Date: Wed, 28 Jun 2000 15:51:49 -0600 (MDT) From: Nick Rogness <nick@rapidnet.com> To: freebsd-hackers@freebsd.org Subject: 2 routes/same net Message-ID: <Pine.BSF.4.21.0006281550280.30173-100000@rapidnet.com>
next in thread | raw e-mail | index | archive | help
Maybe someone on this list knows the answer... 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-hackers" 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.0006281550280.30173-100000>