Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2002 19:29:55 +0530
From:      "G.B.Naidu" <gbnaidu@sasken.com>
To:        net@FreeBSD.ORG
Subject:   HELP NEEDED: ppp client not responding to LCP requests...
Message-ID:  <15724.55131.32403.159866@sunsv2.sasken.com>

next in thread | raw e-mail | index | archive | help


--ibfi4zPkg9
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

Hi,

We need some help with regards to ppp client program from FreeBSD (4.2
Release). We are trying to test the PPPoE/L2TP session establishment. In
our case the ppp client host is directly connected to the LAC system, where
PPPoE server, pppd server and LAC are running. LAC system is based on Linux
2.4.16 kernel.

We are able to connect to the LAC and PPPoE session is established(PADI,
PADO, PADR, PADS). After this, the pppd daemon on the LAC is sending LCP
config requests with CHAP (MD5) option. The ppp client on FreeBSD host is
not acknowledging the config requests and hence the LCP signaling is not
completed.

I would appreciate if some body can throw some light on why the FreeBSD ppp
client is not responding to the LCP config requests from pppd. Specifically
I would like to know if we need to use some configuration options to enable
LCP signaling.

Please find below the ppp.conf file on ppp client machine:


--ibfi4zPkg9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline;
	filename="ppp.conf"
Content-Transfer-Encoding: 7bit

#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.1 2000/08/18 08:33:02 jhb Exp $
#################################################################

default:
 ident user-ppp VERSION (built COMPILATIONDATE)

 # Ensure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #
 #set device /dev/cuaa1
 set device PPPoE:de0
 set MRU 1454
 set MTU 1454

 set log Phase LCP IPCP CCP tun command
 add default HISADDR			# Add a (sticky) default route
 accept CHAP
 enable dns				# request DNS info (for resolv.conf)


 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

edge123:
 set enddisc label edge123
 set authname sameer@sas.com
 set authkey hello_lns

--ibfi4zPkg9
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit


The command used to start the ppp communication is: 
ppp -ddial <system name>

Please find below the tcpdump log of the config requests sent to the ppp
client host:


--ibfi4zPkg9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline;
	filename="dump.txt"
Content-Transfer-Encoding: 7bit

19:31:54.734497 B 0:80:c8:55:42:e4 Broadcast 8863 60: PPPoE PADI [Host-Uniq UTF8]
			 1109 0000 000e 0103 0006 00ae e6c0 0cae
			 0101 0000 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000 0000 0000 0000
19:31:54.734846 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8863 70: PPPoE PADO [Host-Uniq UTF8] [Service-Name] [AC-Name UTF8]
			 1107 0000 0018 0103 0006 00ae e6c0 0cae
			 0101 0000 0102 0006 00d0 b7bd 0711 0000
			 0000 0000 0000 0000 0000 0000 0000 0000
			 0000 0000 0000 0000
19:31:54.735093 < 0:80:c8:55:42:e4 0:0:0:0:0:1 8863 60: PPPoE PADR [Host-Uniq UTF8] [AC-Name UTF8]
			 1119 0000 0018 0103 0006 00ae e6c0 0cae
			 0102 0006 00d0 b7bd 0711 0101 0000 0000
			 0000 0000 0000 0000 0000 0000 0000
19:31:54.746158 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8863 60: PPPoE PADS [ses 0x1] [Host-Uniq UTF8] [AC-Name UTF8]
			 1165 0001 0018 0103 0006 00ae e6c0 0cae
			 0102 0006 00d0 b7bd 0711 0101 0000 0000
			 0000 0000 0000 0000 0000 0000 0000
19:31:56.732405 < 0:80:c8:55:42:e4 0:0:0:0:0:1 8863 60: PPPoE PADR [Host-Uniq UTF8] [AC-Name UTF8]
			 1119 0000 0018 0103 0006 00ae e6c0 0cae
			 0102 0006 00d0 b7bd 0711 0101 0000 0000
			 0000 0000 0000 0000 0000 0000 0000
19:31:56.743981 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8863 60: PPPoE PADS [ses 0x2] [Host-Uniq UTF8] [AC-Name UTF8]
			 1165 0002 0018 0103 0006 00ae e6c0 0cae
			 0102 0006 00d0 b7bd 0711 0101 0000 0000
			 0000 0000 0000 0000 0000 0000 0000
19:31:57.754246 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x1] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0x45685e3>
			 1100 0001 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 0604 5685
			 e3
19:31:59.744252 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x2] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0xa19bf28f>
			 1100 0002 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 06a1 9bf2
			 8f
19:32:00.764238 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x1] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0x45685e3>
			 1100 0001 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 0604 5685
			 e3
19:32:02.754251 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x2] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0xa19bf28f>
			 1100 0002 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 06a1 9bf2
			 8f
19:32:03.774237 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x1] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0x45685e3>
			 1100 0001 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 0604 5685
			 e3
19:32:05.764251 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x2] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0xa19bf28f>
			 1100 0002 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 06a1 9bf2
			 8f
19:32:06.784237 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x1] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0x45685e3>
			 1100 0001 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 0604 5685
			 e3
19:32:08.774251 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x2] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0xa19bf28f>
			 1100 0002 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 06a1 9bf2
			 8f
19:32:09.794237 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x1] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0x45685e3>
			 1100 0001 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 0604 5685
			 e3
19:32:11.784251 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x2] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0xa19bf28f>
			 1100 0002 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 06a1 9bf2
			 8f
19:32:12.804237 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x1] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0x45685e3>
			 1100 0001 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 0604 5685
			 e3
19:32:14.794251 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x2] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0xa19bf28f>
			 1100 0002 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 06a1 9bf2
			 8f
19:32:15.814239 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x1] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0x45685e3>
			 1100 0001 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 0604 5685
			 e3
19:32:17.804252 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x2] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0xa19bf28f>
			 1100 0002 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 06a1 9bf2
			 8f
19:32:18.824238 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x1] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0x45685e3>
			 1100 0001 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 0604 5685
			 e3
19:32:20.814253 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x2] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0xa19bf28f>
			 1100 0002 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 06a1 9bf2
			 8f
19:32:21.834237 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x1] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0x45685e3>
			 1100 0001 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 0604 5685
			 e3
19:32:23.824252 > 0:0:0:0:0:0 0:2:b3:24:1a:1d 8864 47: PPPoE  [ses 0x2] LCP ConfReq id=0x1 <mru 1492> <asyncmap 0> <auth CHAP 0xc2> <magic 0xa19bf28f>
			 1100 0002 001b c021 0101 0019 0104 05d4
			 0206 0000 0000 0305 c223 0505 06a1 9bf2
			 8f

--ibfi4zPkg9
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit


TIA
--gb

--ibfi4zPkg9--

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




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