Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Sep 2001 13:40:05 +0100
From:      Brian Somers <brian@freebsd-services.com>
To:        David Hunt <davidh@apdata.com.au>
Cc:        freebsd-net@FreeBSD.ORG, brian@freebsd-services.com
Subject:   Re: PPP not adding an interface route 
Message-ID:  <200109071240.f87Ce5J14931@hak.lan.Awfulhak.org>
In-Reply-To: Message from David Hunt <davidh@apdata.com.au>  of "Fri, 07 Sep 2001 13:53:24 %2B0930." <3B984BBC.38C0FA7B@apdata.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi All
> 
> 
> I am running FreeBSD 4.4-RC, compiled on the 7-september and have found
> that PPP is not adding a local interface route when the link comes up.  I
> am using a legal subnet as follows:
> 
> 
> tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>         inet6 fe80::260:97ff:fe7b:3dc2%tun0 prefixlen 64 scopeid 0xa 
>         inet 192.168.252.2 --> 192.168.252.1 netmask 0xfffffffc 
>         Opened by PID 117
> 
> but the route table shows:
> 
> bash-2.04# netstat -arn
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags    Refs      Use  Netif Expire
> 127.0.0.1          127.0.0.1          UH          2      180    lo0
> 192.168.6          link#1             UC          1        0    xl0
> 192.168.6.255      ff:ff:ff:ff:ff:ff  UHLWb       1        1    xl0
> 192.168.252.1      192.168.252.2      UH          2       59   tun0

ppp has never automatically added a lo0 route.  If ppp detects an 
outbound packet destined for the local interface address and 
``loopback'' is ``enabled'' (the default), it'll turn the packet 
around, but that's the extent of it's helpfulness.

> Thanks
> 
> David Hunt

-- 
Brian <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109071240.f87Ce5J14931>