From owner-freebsd-net@FreeBSD.ORG Mon Jun 21 16:13:17 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63D6716A4CE for ; Mon, 21 Jun 2004 16:13:17 +0000 (GMT) Received: from Awfulhak.org (awfulhak.demon.co.uk [80.177.173.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id A78B743D1F for ; Mon, 21 Jun 2004 16:13:16 +0000 (GMT) (envelope-from brian@Awfulhak.org) Received: from mail.lan.Awfulhak.org (brian@dev.lan.Awfulhak.org [172.16.0.5]) by Awfulhak.org (8.12.11/8.12.11) with SMTP id i5LGC84B000721; Mon, 21 Jun 2004 17:12:08 +0100 (BST) (envelope-from brian@Awfulhak.org) Date: Mon, 21 Jun 2004 17:12:08 +0100 From: Brian Somers To: Yohan , freebsd-net@freebsd.org Message-Id: <20040621171208.675354ae@dev.lan.Awfulhak.org> In-Reply-To: <20040621125541.20360.qmail@web60810.mail.yahoo.com> References: <20040621122211.30f48082@dev.lan.Awfulhak.org> <20040621125541.20360.qmail@web60810.mail.yahoo.com> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on gw.lan.Awfulhak.org cc: Julian Elischer Subject: Re: PPPoE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 16:13:17 -0000 On Mon, 21 Jun 2004 05:55:41 -0700 (PDT), Yohan wrote: > 17:48:15.035656 0:8:a1:5f:b5:4b Broadcast 8863 60: > PPPoE PADI [Host-Uniq UTF8] > 17:48:15.049217 0:4:e6:4:41:1 0:8:a1:5f:b5:4b 8863 76: > PPPoE PADO [AC-Name "BANYAN"] [AC-Cookie UTF8] > [Service-Name] [Relay-Session-ID UTF8] [Host-Uniq > UTF8] > 17:48:15.049232 0:8:a1:5f:b5:4b 0:4:e6:4:41:1 8863 60: > PPPoE PADR [Host-Uniq UTF8] [AC-Cookie UTF8] [AC-Name > "BANYAN"] And the missing bit is the PADS packet (which we're expecting from the PPPoE server). Here, the netgraph node is resending the PADR after 2 seconds of inactivity, then dropping back to sending a PADI all over again. Interestingly enough, the PADR doesn't seem to have the Service-Name or Relay-Session-ID tags that the PADO has - perhaps that's what's causing the problem... certainly the PADO handling code that sends the PADS calls scan_tags() which is supposed to copy tags not already handled from the PADO into the PADR. Julian, have you any comments on this ? Cheers. -- Brian Don't _EVER_ lose your sense of humour !