Hi all,
I am trying to implement a Dialin scenario
where a remote user (Red Hat 7.3) dials by using ppp over aux port the Cisco
3640 (acting as LAC). The Cisco is configured to l2tp-tunnel this ppp call to
Red Hat 7.3 PC running l2tpd-0.69/rp-l2tpd-0.3 (acting as
LNS).
I have some problems with the l2tpd implementation. I don’t thing that it is an options problem or Cisco configuration problem as the rp-l2tp implementation works just fine in the same scenario. The Cisco authenticates / accepts /tunnels the call but the connection is been terminated after a while (read_packet: Error 9 (Bad file descriptor)).
Jeff (or anyone else) could you please
have a look at my debug information?
Are there any known incompatibility issues
with Cisco machinery?
Best Regards to all
Nicholas Kouvelis
l2tpd Debug info
--------------------------------------------------------------------------------------------------------------
[root@patdpd10 l2tpd-0.69]# ./l2tpd
-D
This binary does not support kernel
L2TP.
l2tpd version 0.69 started on patdpd10.xxxxxxx.gr
PID:2339
Written by Mark Spencer, Copyright (C) 1998, Adtran,
Inc.
Forked by Scott Balmos and David Stipp, (C)
2001
Inhereted by Jeff McAdams, (C) 2002
Linux version 2.4.18-3 on a i686, port
1701
ourtid = 60908, entropy_buf = edec
check_control: control, cid = 0, Ns = 0, Nr =
0
handle_avps: handling avp's for tunnel 60908, call
0
message_type_avp: message type 1
(Start-Control-Connection-Request)
protocol_version_avp: peer is using version 1, revision
0.
framing_caps_avp: supported peer frames: async
sync
bearer_caps_avp: supported peer bearers: analog
digital
firmware_rev_avp: peer reports firmware version 4400
(0x1130)
hostname_avp: peer reports hostname
'ciscolac'
vendor_avp: peer reports vendor 'Cisco Systems,
Inc'
assigned_tunnel_avp: using peer's tunnel
47
receive_window_size_avp: peer wants RWS of 800. Will use flow
control.
check_control: control, cid = 0, Ns = 1, Nr =
1
handle_avps: handling avp's for tunnel 60908, call
0
message_type_avp: message type 3
(Start-Control-Connection-Connected)
control_finish: Connection established to 192.168.120.100, 1701. Local: 60908, Remote: 47. LNS session is
'default'
check_control: control, cid = 0, Ns = 2, Nr =
1
handle_avps: handling avp's for tunnel 60908, call
0
message_type_avp: message type 10
(Incoming-Call-Request)
message_type_avp: new incoming call
ourcid = 4167, entropy_buf = 1047
assigned_call_avp: using peer's call
25
call_serno_avp: serial number is 25
bearer_type_avp: peer bears:digital
dialing_number_avp: peer reports dialing number
'async'
handle_avps: dont know how
to handle atribute 100.
check_control: control, cid = 25, Ns = 3, Nr =
2
handle_avps: handling avp's for tunnel 60908, call
4167
message_type_avp: message type 12
(Incoming-Call-Connected)
tx_speed_avp: transmit baud rate is
38000
frame_type_avp: peer uses: async
frames
handle_avps: no handler for
atribute 27 (Last Sent LCP Confreq).
handle_avps: no handler for
atribute 28 (Last Received LCP Confreq).
ignore_avp : Ignoring AVP
ignore_avp : Ignoring AVP
ignore_avp : Ignoring AVP
ignore_avp : Ignoring AVP
ignore_avp : Ignoring AVP
start_pppd: /dev/pts/6(7) is
a tty
start_pppd: I'm running:
"/usr/sbin/pppd" "passive" "-detach" "10.2.2.1:10.2.2.2" "debug"
"/dev/pts/6"
control_finish: Call established with 192.168.120.100, Local: 4167,
Remote: 25, Serial: 25
child_handler : pppd died for call 25
read_packet: Error 9 (Bad file
descriptor)
read_packet: Error 9 (Bad file
descriptor)
read_packet: Error 9 (Bad file
descriptor)
read_packet: Error 9 (Bad file
descriptor)
read_packet: Error 9 (Bad file
descriptor)
read_packet: Error 9 (Bad file
descriptor)
read_packet: Error 9 (Bad file
descriptor)
read_packet: Error 9 (Bad file
descriptor)
read_packet: Error 9 (Bad file
descriptor)
read_packet: Error 9 (Bad file
descriptor)
read_packet: Error 9 (Bad file
descriptor)
read_packet: Too many errors.
Declaring call dead.
network_thread: tossing read packet, error = Bad file descriptor
(9). Closing
call.
call_close: Call 4167 to 192.168.120.100
disconnected
check_control: control, cid = 25, Ns = 4, Nr =
3
check_control: control, cid = 0, Ns = 4, Nr =
3
handle_avps: handling avp's for tunnel 60908, call
0
message_type_avp: message type 4
(Stop-Control-Connection-Notification)
assigned_tunnel_avp: using peer's tunnel
47
result_code_avp: peer closing for reason 1 (General request to clear
control connection), error = 0 (No Error)
control_finish: Connection closed to 192.168.120.100, port 1701 (No
Error), Local: 60908, Remote: 47
l2tpd.conf at
LNS
--------------------------------------------------------------------------------------------------------------
[global]
;
Global parameters:
port = 1701
; *
Bind to port 1701
access control = no ; * Refuse
connections without IP match
[lns default]
;
Our fallthrough LNS definition
ip range = 10.1.1.2-10.1.1.5 ; * Allocate from
this IP range
local ip = 10.1.1.1
; *
Our local IP to use
lac = 192.168.120.100
; *
These can connect as LAC's
ppp debug = yes
; *
Turn on PPP debugging
ppp options at
LNS
--------------------------------------------------------------------------------------------------------------
noauth
debug
defaultroute
nodetach
crtscts
lock
novj
noipdefault
nobsdcomp
nodeflate
ipcp-accept-local
ipcp-accept-remote
38400
domain xxxxxxx.gr
user [EMAIL PROTECTED]
lcp-echo-interval 30
lcp-echo-failure 6
