From owner-freebsd-hackers Wed Oct 20 5:28:49 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id 169851B4CD; Wed, 20 Oct 1999 05:26:53 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id PAA04525; Wed, 20 Oct 1999 15:26:06 +0300 (EEST) (envelope-from ru) Date: Wed, 20 Oct 1999 15:26:06 +0300 From: Ruslan Ermilov To: Garrett Wollman , Bill Fenner Cc: hackers@FreeBSD.org Subject: Help to delete entry from the routing table Message-ID: <19991020152606.A2289@relay.ucb.crimea.ua> Mail-Followup-To: Garrett Wollman , Bill Fenner , hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! Does anyone have an idea what is going on here? : # route add -host 10.0.0.13 -iface sl8 : add host 10.0.0.13: gateway sl8 : # netstat -rn | grep ^10.0.0.13 : 10.0.0.13 sl8 UHS 0 0 sl8 : # arp -s 10.0.0.13 1:1:1:1:1:1 pub : # netstat -rn | grep ^10.0.0.13 : 10.0.0.13 sl8 UHS 0 0 sl8 : 10.0.0.13 1.1.1.1.1.1 UHS2 0 0 sl9 : # route delete -host 10.0.0.13 : delete host 10.0.0.13 : # netstat -rn | grep ^10.0.0.13 : 10.0.0.13 1.1.1.1.1.1 UHS2 0 0 sl9 : # route delete -host 10.0.0.13 : route: writing to routing socket: No such process : delete host 10.0.0.13: not in table : # netstat -rn | grep ^10.0.0.13 : 10.0.0.13 1.1.1.1.1.1 UHS2 0 0 sl9 : # arp -d 10.0.0.13 : delete: can't locate 10.0.0.13 : # netstat -rn | grep ^10.0.0.13 : 10.0.0.13 1.1.1.1.1.1 UHS2 0 0 sl9 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Now, I can't delete this entry! In the `route -v -n -d flush' output it looks like: : RTM_GET: Report Metrics: len 164, pid: 0, seq 0, errno 0, flags: : locks: inits: : sockaddrs: : 10.0.0.13 1.1.1.1.1.1 Trying to delete this entry results in: : # route -v -n delete -host 10.0.0.13 -iface -proto2 : u: inet 10.0.0.13; : RTM_DELETE: Delete Route: len 108, pid: 0, seq 1, errno 0, flags: : locks: inits: : sockaddrs: : 10.0.0.13 : route: writing to routing socket: No such process : delete host 10.0.0.13: not in table Thanks, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message