From owner-freebsd-net Wed Jan 23 21: 5:21 2002 Delivered-To: freebsd-net@freebsd.org Received: from spider.pilosoft.com (p66-24.acedsl.com [66.114.66.24]) by hub.freebsd.org (Postfix) with ESMTP id 0930A37B400 for ; Wed, 23 Jan 2002 21:05:14 -0800 (PST) Received: from localhost (alexmail@localhost) by spider.pilosoft.com (8.9.3/8.9.3) with ESMTP id AAA11036; Thu, 24 Jan 2002 00:13:11 -0500 (EST) Date: Thu, 24 Jan 2002 00:13:11 -0500 (EST) From: Alex Pilosov To: Tony Williams Cc: freebsd-net@FreeBSD.ORG Subject: Re: Question on PPPoE In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Multiple reasons: a) MAC addresses can be spoofed. (and are only 48 bit long). Session ID is 64 bit. b) A real reason is that you can have multiple PPPoE sessions to different ISPs from same MAC addr.m -alex On Thu, 24 Jan 2002, Tony Williams wrote: > > Hi, > > I have a question regarding PPPoE protocol and code. I recently > changed from dial up to a PPPoE service through a DSL provider > and was successful in setting the FreeBSD 4.2 box up! > > Out of curiousity, I went through some of the code in netgraph and > the rfc specification, but unable to follow the necessity for the > Session ID. the protocol says the peer mac address and the session > id determines a unique session. From one peer, one can have only one > internet connection and mac addresses are unique. Why then the session > id also included in the protocol. What is the advantage of having > session id, it is not there in normal dial up PPP and who uses it? > > In my case, the ISP did not mention anything about the session id > and I have only one session from the PC, i assume > > Thanks > -Tony > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message