Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 1999 12:15:40 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Christopher Michaels - SSG <ChrisMic@sbservices.com>
Cc:        "FreeBSD Mailing List (E-mail)" <questions@FreeBSD.ORG>
Subject:   Re: tun0 interface address 
Message-ID:  <199901291215.MAA02376@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Thu, 28 Jan 1999 15:52:23 EST." <6C37EE640B78D2118D2F00A0C90FCB441A5E75@site2s1> 

next in thread | previous in thread | raw e-mail | index | archive | help

> Hello,
> I am using FreeBSD 2.2.8-STABLE.  I have 2 possibly unrelated questions.  
> 
> When the PPP link is dropped and then PPP redials and usually gets a new IP
> number, now here's my questions.  When I type ifconfig tun0 (or ifconfig
> -a).  The old IP number is still listed there, with a netmask of
> 255.255.255.255.  Is this standard behavior?  If not, any idea what I may
> have done wrong to my PPP configuration to have caused this?

This is a feature.  Things can be tidied up a bit if you check out 
ppp.linkdown.sample.  Check http://www.FreeBSD.org/FAQ/userppp.html 
for the ``first connection'' problem to get a handle on why the 
``feature'' is there.

> Also, which my be related, I can't ping the IP address assigned to the tun0
> interface anymore.  Everything appears to work fine, the ed1 and lo0
> interfaces respond to pings just fine.  I can accept connections to the tun0
> interface (telnet, ident, ftp, etc...).  It just will not respond to pings.
> I have recently starting working with PPP filters and have setup a dial and
> alive filters that deny ICMP but no "in" or "out" filters at all.

The thing to bear in mind about local interface addresses is that 
there isn't necessarily a route to them.  Ppp will ``reflect'' 
traffic that it sees for it's local interface address (unless you 
``disable loopback''), but if it doesn't see it, nothing's reflected. 
 This isn't usually an issue as most people use ppp as a client with 
a default route pointing at the other end of the link.  With 
ethernet, because it's a broadcast medium, the route is implicit, and 
even if the driver doesn't reflect the packet, it'll go out on the 
wire and get read back again (I think).

> Any suggestions would be helpful.
> Thanks,
> Chris

-- 
Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour !



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



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