From owner-freebsd-questions Thu Apr 3 14:13:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA19803 for questions-outgoing; Thu, 3 Apr 1997 14:13:21 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA19781; Thu, 3 Apr 1997 14:13:10 -0800 (PST) Received: from mail.vlsi.fi (mail.vlsi.fi [195.74.10.147]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id OAA18712 ; Thu, 3 Apr 1997 14:12:33 -0800 (PST) Received: (from smap@localhost) by mail.vlsi.fi (8.7.6/8.7.3) id BAA27583; Fri, 4 Apr 1997 01:04:33 +0300 (EET DST) Received: from vlsi1.vlsi.fi(193.64.2.2) by mail.vlsi.fi via smap (V1.3) id sma027579; Fri Apr 4 01:04:18 1997 Received: from layout.vlsi.fi by vlsi1.vlsi.fi with ESMTP (1.37.109.16/16.2) id AA244335056; Fri, 4 Apr 1997 01:04:17 +0300 Received: by layout.vlsi.fi (1.37.109.15/16.2) id AA156415056; Fri, 4 Apr 1997 01:04:16 +0300 Date: Fri, 4 Apr 1997 01:04:16 +0300 Message-Id: <199704032204.AA156415056@layout.vlsi.fi> From: Ville Eerola To: Burton Sampley Cc: Adam Hawks , questions@freebsd.org, current@freebsd.org Subject: RE: more problems w/ fetchmail In-Reply-To: References: X-Mailer: VM Version 5.93 (beta) under GNU Emacs 19.29.6 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Burton Sampley writes: > Thanks for the reply. As strange as this may seem, I just happen to have > a xterm open with netstat -r before I started routed. I see exactly what > you mean. I'm going to cc this message to both groups and see if anybody > has a solution. > > Here's the info: > > bash# netstat -r > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default ns3.best.com UGSc 4 0 tun0 > localhost localhost UH 0 0 lo0 > 192.168.1 link#1 UC 0 0 > ns3.best.com bsampley UH 5 10 tun0 > bash# routed > bash# kill 1733 [routed] > bash# netstat -r > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default ns3.best.com UGSc 4 0 tun0 > localhost localhost UH 0 225 lo0 > 192.168.1 link#1 UC 0 0 > ns3.best.com bsampley UH 5 124 tun0 > bsampley localhost UH 0 199 lo0 > bash# > > Anybody know what I need to change so the routing table looks liks the > second version without having to run and kill routed? Yeah, Do you see the difference: > bsampley localhost UH 0 199 lo0 was added by routed. You can get this efect by including the following into your /etc/sysconfig file: > static_routes="loopback" > route_loopback="${hostname} localhost" This will create the static route to your host using the loopback interface. From the shell you can say: # route add bsampley localhost Regards, Ville -- Ville.Eerola@vlsi.fi VLSI Solution Oy Tel:+358 3 3165579 Hermiankatu 6-8 C Fax:+358 3 3165220 FIN-33720 Tampere, Finland