Issue with userspace pppoe-server (PADS not sent)

Issues related to configuring your network
Post Reply
murugav86
Posts: 1
Joined: 2013/12/18 15:13:20

Issue with userspace pppoe-server (PADS not sent)

Post by murugav86 » 2013/12/18 15:40:20

Hi,

I am using CentOS release 5.4 (Final) in my x86_64 machine (Linux 2.6.18-164.el5 #1 SMP).
I try to connect my client machine (user: aluppp) with userspace pppoe-server.
pppoe-server fails to send out PADS frames back to client.

=============================
Client cfg (pppd/2.4.5/rp-pppoe.so):
=============================
lcp-echo-interval 50
user aluppp
password alutesyt
mtu 1492
idle 0
maxconnect 0


=============================
Server side config:
=============================
# cat /etc/ppp/options
lock
crtscts
nobsdcomp
nodeflate
nopcomp

# cat /etc/ppp/pppoe-server-options
# PPP options for the PPPoE server
# LIC: GPL
auth
require-chap
login
default-mru
default-asyncmap
lcp-echo-interval 50
lcp-echo-failure 5
ms-dns a.b.c.d
noipdefault
noipx
nodefaultroute
noproxyarp
noktune
netmask 255.255.255.255
logfile /var/log/ppp/pppd.log

# cat /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
"eagle" * "eaglepw" 192.168.100.3
"test" * "testpass" 192.168.100.11
"aluppp" * "alutesyt" 192.168.100.33

#pppoe-server -I eth0 -F
//cmd success - fails in PADR

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:60:08:5A:45:30
inet addr:125.17.98.18 Bcast:125.17.98.255 Mask:255.255.255.0
inet6 addr: fe80::260:8ff:fe5a:4530/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:200175 errors:0 dropped:0 overruns:0 frame:0
TX packets:33046 errors:0 dropped:0 overruns:0 carrier:0
collisions:4818 txqueuelen:1000
RX bytes:58910279 (56.1 MiB) TX bytes:4328697 (4.1 MiB)
Interrupt:74 Base address:0xd000

Moreover, no logs were logged in /var/log/ppp/pppd.log, while
tail -f /var/log/messages display only pppoe server termination message
(pppoe-server[16280]: Terminating on signal 2 -- killing all PPPoE sessions)

I have attached wireshark capture snapshot.
Please some one help to resolve this issue.

Thanks in advance
Mur
Attachments
PPPoE server userspace - PADS not sent out to client
PPPoE server userspace - PADS not sent out to client
PPPoEdiscover-PADSissue.png (106.01 KiB) Viewed 3074 times

Post Reply