#Server PPPoE Ionel Mocanu Configurare server PPPOE in Debian — Ionel Mocanu
Skip to content
 

Configurare server PPPOE in Debian

Se instaleaza pppoe
WEST:~# apt-get install pppoe

Se creeaza si editeaza fisierul /etc/ppp/pppoe:
WEST:~# cat <<EOF>> /etc/ppp/pppoe
> require-chap
> lcp-echo-interval 10
> lcp-echo-failure 2
> ms-dns 8.8.8.8
> logfile /var/log/pppoe.log
> EOF

In fisierul /etc/ppp/chap-secrets se introdc combinatiiile utilizator-parola folosite pe client:
WEST:~# cat <<EOF>> /etc/ppp/chap-secrets
> test * test 10.0.0.10
> test2 * test2 10.0.0.11
> EOF

Utilizatorul test va primi IP-ul 10.0.0.10 iar test2 10.0.0.11

Serverul pppoe se porneste prin comanda:
WEST:~# pppoe-server -T 60 -I eth1 -N 25 -C WEST \
> -L  10.0.0.1 -N 20 -R 10.0.0.10 -O /etc/ppp/pppoe

Dupa conectarea clientilor pe server apar interfetele ppp:
WEST:~# ifconfig
ppp0      Link encap:Point-to-Point Protocol
inet addr:10.0.0.1  P-t-P:10.0.0.11  Mask:255.255.255.255
ppp1      Link encap:Point-to-Point Protocol
inet addr:10.0.0.1  P-t-P:10.0.0.10  Mask:255.255.255.255

Leave a Reply