From owner-freebsd-bugs Tue Dec 8 07:10:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA03773 for freebsd-bugs-outgoing; Tue, 8 Dec 1998 07:10:03 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA03708 for ; Tue, 8 Dec 1998 07:10:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA16759; Tue, 8 Dec 1998 07:10:00 -0800 (PST) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA02592; Tue, 8 Dec 1998 07:00:08 -0800 (PST) (envelope-from nobody) Message-Id: <199812081500.HAA02592@hub.freebsd.org> Date: Tue, 8 Dec 1998 07:00:08 -0800 (PST) From: sa@kki.org To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/9012: route add -host hostIP -interface localIP doesn't work Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9012 >Category: bin >Synopsis: route add -host hostIP -interface localIP doesn't work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 8 07:10:00 PST 1998 >Last-Modified: >Originator: Sven Anderson >Organization: University Goettingen >Release: 2.2.8 >Environment: FreeBSD stoffel.cweg.goe.net 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Thu Dec 3 00:51:44 CET 1998 root@stoffel.cweg.goe.net:/usr/src/sys/compile/STOFFEL i386 >Description: a) If you set a route to a locally connected host with route add -host hostIP -interface localIP the route is set, but dosn't work. The man-page says it should work. I guess it is the wrong type of route (UHS) which is set, and it should be a link#X type of route (UHCS). Either this option combination shouldn't be possible or it should work. b) If you use the -interface option with a devicename, the gateway ist set to the ether-address of the local device and not of the destination host. You then have to set the correct ether-address with the arp -s command. >How-To-Repeat: a) Type: route add -host hostIP -interface localIP where hostIP is the IP of any host in your local network and localIP is the IP of your network interface. After that the host is not reachable anymore. b) Type: route add -host hostIP -interface devicename where hostIP is the IP of any host in your local network and devicename is the name of your ethernet-device. After that the host is not reachable anymore, until you set the correct ether-address with the arp -s command. >Fix: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message