From owner-freebsd-isdn Wed Dec 8 1:24:44 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from peedub.muc.de (peedub.muc.de [193.149.49.109]) by hub.freebsd.org (Postfix) with ESMTP id 0252314D12 for ; Wed, 8 Dec 1999 01:24:41 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id KAA06613; Wed, 8 Dec 1999 10:10:08 +0100 (CET) Message-Id: <199912080910.KAA06613@peedub.muc.de> X-Mailer: exmh version 2.1.0 09/18/1999 To: Juergen Lock Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: i4b syncppp not talking with Ascend Max - followup Reply-To: Gary Jennejohn In-reply-to: Your message of "Tue, 07 Dec 1999 21:27:57 +0100." <19991207212756.A1824@saturn.kn-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 08 Dec 1999 10:10:08 +0100 From: Gary Jennejohn Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As a followup to my previous mail, it seems like this trivial change should allow each isp interface (up to 15) to be assigned a unique address. I expect that this would eliminate the problems which we've been seeing when more than one interface has 0.0.0.0/0.0.0.1 assigned, since we could now use 0.0.0.0/[0.0.0.1 thru 0.0.0.15] instead, which should be enough for most users ;-) This diff is against the code in FreeBSD-current and is untested. Beware ! Cut & paste. *** /sys/net/if_spppsubr.c.orig Wed Dec 8 09:54:36 1999 --- /sys/net/if_spppsubr.c Wed Dec 8 10:09:09 1999 *************** *** 2656,2665 **** desiredaddr = p[2] << 24 | p[3] << 16 | p[4] << 8 | p[5]; if (desiredaddr == hisaddr || ! (hisaddr == 1 && desiredaddr != 0)) { /* * Peer's address is same as our value, ! * or we have set it to 0.0.0.1 to * indicate that we do not really care, * this is agreeable. Gonna conf-ack * it. --- 2656,2666 ---- desiredaddr = p[2] << 24 | p[3] << 16 | p[4] << 8 | p[5]; if (desiredaddr == hisaddr || ! (hisaddr > 0 && hisaddr <= 15 && desiredaddr != 0)) { /* * Peer's address is same as our value, ! * or we have set it to 0.0.0.1 thru ! * 0.0.0.15 to * indicate that we do not really care, * this is agreeable. Gonna conf-ack * it. --- Gary Jennejohn / garyj@muc.de garyj@fkr.cpqcorp.net gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message