From nobody@FreeBSD.ORG Wed Jan 5 16:30:11 2000 Return-Path: Received: by hub.freebsd.org (Postfix, from userid 32767) id 0170D154E7; Wed, 5 Jan 2000 16:30:10 -0800 (PST) Message-Id: <20000106003010.0170D154E7@hub.freebsd.org> Date: Wed, 5 Jan 2000 16:30:10 -0800 (PST) From: kj@milinx.com Sender: nobody@FreeBSD.ORG To: freebsd-gnats-submit@FreeBSD.org Subject: the routing table seems to mirror the arp cache X-Send-Pr-Version: www-1.0 >Number: 15928 >Category: misc >Synopsis: the routing table seems to mirror the arp cache >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 5 16:40:01 PST 2000 >Closed-Date: Wed Jan 5 18:13:26 PST 2000 >Last-Modified: Wed Jan 5 19:20:02 PST 2000 >Originator: kj >Release: 3.3 >Organization: Milinx >Environment: FreeBSD heracles.internal.com 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Thu Sep 16 23:40:35 GMT 1999 jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: Every computer, once a session is open (i.e. ssh to it)) it then put into the route table in the FreeBSD PC. Now if I wanted to make FreeBSD our router, and I have 2 class C subnets the routing table could grow up to about 500 lines, when maybe 7 lines would be just fine. If you delete a line and then start another session the route will reappear. It would slow down network traffice as it has to go through all those route lines, and if there wasn't that many PCs on the network (say 30) it is still _very_ annoying to see all these route lines in the table. Is gets very confusing and frustrating to read and troubleshoot routing problems when you should get a few screen fulls of route lines, when say the manual 7 you put in is fine -> perfect. >How-To-Repeat: netstat -rn and see for yourself >Fix: use Linux as they don't seem to have this "feature" I don't mind so much if it is set as the default, but at least give an option to turn it off. I have asked in #freebsd on Efnet about this and "they" say it can't be turned off, I am just verifying it. Thanks >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: jmb State-Changed-When: Wed Jan 5 18:13:26 PST 2000 State-Changed-Why: The ARP cache is stored in the route table since the Net/3 release as detailed by Gary R Wright and W Richard Stevens in _TCP/IP_Illustrated_Volume_2_ page 675. This behavior is not a bug but rather a deliberate design choice. At tthis time one can not exclude the ARP entries when displaying the routing table using "netstat -r". From: Garrett Wollman To: kj@milinx.com Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: misc/15928: the routing table seems to mirror the arp cache Date: Wed, 5 Jan 2000 21:27:38 -0500 (EST) < I don't mind so much if it is set as the default, but at least give > an option to turn it off. I have asked in #freebsd on Efnet about > this and "they" say it can't be turned off, I am just verifying it. There is no ``arp cache''. That *is* the routing table. If you don't like it, too bad. -GAWollman >Unformatted: