Date: Fri, 4 Apr 1997 01:04:16 +0300 From: Ville Eerola <ville@vlsi.fi> To: Burton Sampley <burton@bsampley.vip.best.com> Cc: Adam Hawks <awhawks@Perigee.net>, questions@freebsd.org, current@freebsd.org Subject: RE: more problems w/ fetchmail Message-ID: <199704032204.AA156415056@layout.vlsi.fi> In-Reply-To: <Pine.BSF.3.95q.970402163638.203B-100000@bsampley.vip.best.com> References: <XFMail.970402185103.awhawks@perigee.net> <Pine.BSF.3.95q.970402163638.203B-100000@bsampley.vip.best.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704032204.AA156415056>
