Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2000 15:39:36 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        brian@Awfulhak.org (Brian Somers)
Cc:        archie@whistle.com (Archie Cobbs), phk@critter.freebsd.dk (Poul-Henning Kamp), tlambert@primenet.com (Terry Lambert), winter@jurai.net (Matthew N. Dodd), arch@FreeBSD.org, brian@hak.lan.awfulhak.org
Subject:   Re: Software detection of link integrity
Message-ID:  <200006222239.PAA94706@bubba.whistle.com>
In-Reply-To: <200006222220.XAA02751@hak.lan.Awfulhak.org> from Brian Somers at "Jun 22, 2000 11:20:00 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Brian Somers writes:
> > > >> But a dial on demand line is a layered concept.  You have a transient
> > > >> physical line with a layer on top of it which pretends to be a
> > > >> permanent line.
> > > >
> > > >Which unfortunately doesn't work with a dynamically assigned IP 
> > > >number.
> > > 
> > > That is a different story alltogether...
> > 
> > On the InterJet, if it's dynamic IP and there is no other IP address
> > to use, we actually make one up! Once connected, we renumber the
> > interface of course.
> 
> How do you deal with the first connection problem - where that first 
> packet that causes the dial ends up with an incorrect src address ?
> 
> ppp(8) does it when NAT is enabled by keeping the old interface 
> address as an alias and just NATing the first connection.

That packet eventually gets dropped/ignored, and subsequent packets
will be correct, because when/if the interface gets renumbered we
restart whatever proceses need to be restarted. We can do this
because we "know" what's running and what needs a restart in this
case.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


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




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