Skip to main content

Thread: authentication of VM's using PPPoE


i have 2 vm's running on ubuntu box.their name , ip addresses give below.

nas 192.168.129.153
home_user 192.168.129.152

establish ppp connection between 2 machines

#nas (server)
sudo pppd noauth local lock defaultroute persist nodetach 10.1.1.2:10.1.1.3 pty “nc -l 3333”

#home_user(client)
sudo pppd noauth local lock nodetach passive pty “nc 192.168.129.153 3333”


once above can see ppp connection established between 2 machines (from ifconfig )

#nas (server)

ppp0 link encapoint-to-point protocol
inet addr:10.1.1.2 p-t-p:10.1.1.3 mask:255.255.255.255
up pointopoint running noarp multicast mtu:1500 metric:1
rx packets:5 errors:0 dropped:0 overruns:0 frame:0
tx packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
rx bytes:78 (78.0 b) tx bytes:72 (72.0 b)

#home_user (client)

ppp0 link encapoint-to-point protocol
inet addr:10.1.1.3 p-t-p:10.1.1.2 mask:255.255.255.255
up pointopoint running noarp multicast mtu:1500 metric:1
rx packets:5 errors:0 dropped:0 overruns:0 frame:0
tx packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
rx bytes:72 (72.0 b) tx bytes:78 (78.0 b)


next aim use pppoe transport.i install pppoe package on server

sudo apt-get install pppoe

sudo pppoe-server -i eth0 -l 192.168.129.153 -r 192.168.129.152 -o /etc/ppp/options

have edited options file enable chap , pap authentication.i have edited chap , pap secret files.

question how use ppp daemon pppd connect server above?
seems have use /usr/lib/ppp/version/rp-pppoe.so (part of ppp daemon).how make ppp daemon act pppoe client supports authentication?any appreciated.



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] authentication of VM's using PPPoE


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues