Date: Fri, 23 Jun 2000 00:26:47 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Brian Somers <brian@Awfulhak.org> Cc: Archie Cobbs <archie@whistle.com>, 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: <1594.961712807@critter.freebsd.dk> In-Reply-To: Your message of "Thu, 22 Jun 2000 23:20:00 BST." <200006222220.XAA02751@hak.lan.Awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200006222220.XAA02751@hak.lan.Awfulhak.org>, Brian Somers writes: >> 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. If you want to get dirty, you can actually reach backwards and poke the actual IP# into the pcb (unless it's a ping packet). -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. 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?1594.961712807>