netventure
November 3rd, 2006, 06:23 AM
Hi,
I have been trying for quite some time to setup a PPPoE access concentrator (PPPoE server) on Ubuntu dapper and (edgy). I borrowed a *working* PPPoE server configuration from a Redhat 9 system but the server disconnects immediately after receiving a request.
I've ensured that the following packages have been installed:
#apt-get these:
ppp
pppconfig
pppoe
pppoeconf
Here's the working configuration I borrowed:
/etc/ppp/pap-secrets:
# Secrets for authentication using PAP
# client server secret IP addresses
user1 * upass1 *
test1 * tpass1 *
/etc/ppp/pppoe-server-options:
# PPP options for the PPPoE server
require-pap
login
lcp-echo-interval 10
lcp-echo-failure 10
ms-dns 40.0.0.1
ms-dns 40.0.0.2
mtu 1492
/etc/ppp/options:
lock
This is how I start the pppoe server from the shell:
ifdown eth0
ifconfig eth0 0.0.0.0
pppoe-server -I eth0 -L 40.0.0.1 -R 40.0.0.5 -O /etc/ppp/pppoe-server-options
Few other variations of the pppoe server options are:
pppoe-server -I eth0 -L 40.0.0.1 -R 40.0.0.5 -O /etc/ppp/pppoe-server-options -s
and
pppoe-server -I eth0 -L 40.0.0.1 -R 40.0.0.5 -O /etc/ppp/pppoe-server-options -C pppoeserv
and
pppoe-server -I eth0 -L 40.0.0.1 -R 40.0.0.5 -O /etc/ppp/pppoe-server-options -S accesscon
For all of the above settings, here's what I get in syslog:
Nov 3 15:15:01 localhost pppoe-server[19865]: Session 23 created for client 00:a1:b2:c3:d4:e5 (45.0.0.24) on eth0 using Service-Name ''
Nov 3 15:15:01 localhost pppoe-server[19316]: Session 23 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.24) on eth0
Nov 3 15:15:01 localhost pppoe-server[19316]: Sent PADT
Nov 3 15:15:12 localhost pppoe-server[19866]: Session 24 created for client 00:a1:b2:c3:d4:e5 (45.0.0.25) on eth0 using Service-Name ''
Nov 3 15:15:12 localhost pppoe-server[19316]: Session 24 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.25) on eth0
Nov 3 15:15:12 localhost pppoe-server[19316]: Sent PADT
Nov 3 15:15:24 localhost pppoe-server[19867]: Session 25 created for client 00:a1:b2:c3:d4:e5 (45.0.0.26) on eth0 using Service-Name ''
Nov 3 15:15:24 localhost pppoe-server[19316]: Session 25 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.26) on eth0
Nov 3 15:15:24 localhost pppoe-server[19316]: Sent PADT
Nov 3 15:15:35 localhost pppoe-server[19868]: Session 26 created for client 00:a1:b2:c3:d4:e5 (45.0.0.27) on eth0 using Service-Name ''
Nov 3 15:15:35 localhost pppoe-server[19316]: Session 26 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.27) on eth0
Nov 3 15:15:35 localhost pppoe-server[19316]: Sent PADT
Nov 3 15:15:47 localhost pppoe-server[19869]: Session 27 created for client 00:a1:b2:c3:d4:e5 (45.0.0.28) on eth0 using Service-Name ''
Nov 3 15:15:47 localhost pppoe-server[19316]: Session 27 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.28) on eth0
Nov 3 15:15:47 localhost pppoe-server[19316]: Sent PADT
Nov 3 15:15:58 localhost pppoe-server[19870]: Session 28 created for client 00:a1:b2:c3:d4:e5 (45.0.0.29) on eth0 using Service-Name ''
Nov 3 15:15:58 localhost pppoe-server[19316]: Session 28 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.29) on eth0
Nov 3 15:15:58 localhost pppoe-server[19316]: Sent PADT
This happens on Dapper as well as Edgy.
The config i tried has been working on Redhat 9, so, it should work on ubuntu too (unless there are debian specific things that I've missed out).
Has anyone setup a PPPoE server before and if so, please post your configuration here.
Thanks
--NV
I have been trying for quite some time to setup a PPPoE access concentrator (PPPoE server) on Ubuntu dapper and (edgy). I borrowed a *working* PPPoE server configuration from a Redhat 9 system but the server disconnects immediately after receiving a request.
I've ensured that the following packages have been installed:
#apt-get these:
ppp
pppconfig
pppoe
pppoeconf
Here's the working configuration I borrowed:
/etc/ppp/pap-secrets:
# Secrets for authentication using PAP
# client server secret IP addresses
user1 * upass1 *
test1 * tpass1 *
/etc/ppp/pppoe-server-options:
# PPP options for the PPPoE server
require-pap
login
lcp-echo-interval 10
lcp-echo-failure 10
ms-dns 40.0.0.1
ms-dns 40.0.0.2
mtu 1492
/etc/ppp/options:
lock
This is how I start the pppoe server from the shell:
ifdown eth0
ifconfig eth0 0.0.0.0
pppoe-server -I eth0 -L 40.0.0.1 -R 40.0.0.5 -O /etc/ppp/pppoe-server-options
Few other variations of the pppoe server options are:
pppoe-server -I eth0 -L 40.0.0.1 -R 40.0.0.5 -O /etc/ppp/pppoe-server-options -s
and
pppoe-server -I eth0 -L 40.0.0.1 -R 40.0.0.5 -O /etc/ppp/pppoe-server-options -C pppoeserv
and
pppoe-server -I eth0 -L 40.0.0.1 -R 40.0.0.5 -O /etc/ppp/pppoe-server-options -S accesscon
For all of the above settings, here's what I get in syslog:
Nov 3 15:15:01 localhost pppoe-server[19865]: Session 23 created for client 00:a1:b2:c3:d4:e5 (45.0.0.24) on eth0 using Service-Name ''
Nov 3 15:15:01 localhost pppoe-server[19316]: Session 23 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.24) on eth0
Nov 3 15:15:01 localhost pppoe-server[19316]: Sent PADT
Nov 3 15:15:12 localhost pppoe-server[19866]: Session 24 created for client 00:a1:b2:c3:d4:e5 (45.0.0.25) on eth0 using Service-Name ''
Nov 3 15:15:12 localhost pppoe-server[19316]: Session 24 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.25) on eth0
Nov 3 15:15:12 localhost pppoe-server[19316]: Sent PADT
Nov 3 15:15:24 localhost pppoe-server[19867]: Session 25 created for client 00:a1:b2:c3:d4:e5 (45.0.0.26) on eth0 using Service-Name ''
Nov 3 15:15:24 localhost pppoe-server[19316]: Session 25 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.26) on eth0
Nov 3 15:15:24 localhost pppoe-server[19316]: Sent PADT
Nov 3 15:15:35 localhost pppoe-server[19868]: Session 26 created for client 00:a1:b2:c3:d4:e5 (45.0.0.27) on eth0 using Service-Name ''
Nov 3 15:15:35 localhost pppoe-server[19316]: Session 26 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.27) on eth0
Nov 3 15:15:35 localhost pppoe-server[19316]: Sent PADT
Nov 3 15:15:47 localhost pppoe-server[19869]: Session 27 created for client 00:a1:b2:c3:d4:e5 (45.0.0.28) on eth0 using Service-Name ''
Nov 3 15:15:47 localhost pppoe-server[19316]: Session 27 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.28) on eth0
Nov 3 15:15:47 localhost pppoe-server[19316]: Sent PADT
Nov 3 15:15:58 localhost pppoe-server[19870]: Session 28 created for client 00:a1:b2:c3:d4:e5 (45.0.0.29) on eth0 using Service-Name ''
Nov 3 15:15:58 localhost pppoe-server[19316]: Session 28 closed for client 00:a1:b2:c3:d4:e5 (45.0.0.29) on eth0
Nov 3 15:15:58 localhost pppoe-server[19316]: Sent PADT
This happens on Dapper as well as Edgy.
The config i tried has been working on Redhat 9, so, it should work on ubuntu too (unless there are debian specific things that I've missed out).
Has anyone setup a PPPoE server before and if so, please post your configuration here.
Thanks
--NV