authentication of VM's via PPPoE


 
Thread Tools Search this Thread
Special Forums IP Networking authentication of VM's via PPPoE
# 1  
Old 08-08-2012
authentication of VM's via PPPoE

I have two VM's running on Ubuntu box.Their name and IP addresses are give below.

nas 192.168.129.153
home_user 192.168.129.152

I establish a ppp connection between the two 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 I do the above I can see a ppp connection established between the two machines (from ifconfig )

#nas (server)

ppp0 Link encap:Point-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 encap:Point-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)


My next aim is to use PPPoE for transport.I install pppoe package on the 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

I have edited the options file to enable chap and pap authentication.I have also edited chap and pap secret files.

Now my question how do I use the ppp daemon pppd to connect to the server above?
It seems that I have to use the /usr/lib/ppp/version/rp-pppoe.so (part of ppp daemon).How do I make the ppp daemon act as a pppoe client that supports authentication?Any help is appreciated.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Ubuntu

PPPOE + Ubuntu = Frustrating

Hii everyone, I will be explaining what kind of problem I am having with Ubuntu and PPPOE. I have dual booted my PC with Win 7 and Ubuntu 10.10 Previously, whenever I use to start my ubuntu, internet automatically used to start up.. .no problems. I had created a DSL connection through... (0 Replies)
Discussion started by: zsycho
0 Replies

2. Slackware

pppoe-start not working

Hello. I'm new here and i'm new to slack (concept) as well. I made a connection for pppoe with pppoe-setup, bringed up eth0 with ifconfig but when i try pppoe-connect i get "Cannot determine ethernet address for proxy ARP" and with pppoe-start i get "child pppd process terminated". How can i make... (0 Replies)
Discussion started by: editheraven
0 Replies

3. Red Hat

PPPoE Connection on RHEL5

Hi, I am having broadband connection, I need to connect broadband internet through eth0. Please give me some use full information for configuring this. (0 Replies)
Discussion started by: pkachary
0 Replies

4. Red Hat

Dial-up PPPoE + Radius authentication in LINUX

Hi All, I am configured radius authentication server and PPPoE in my Linux systems. It is not work.. Kindly help me how to configure pppoe server to authenticate the clients via radius it is working in UNIX FreeBSD for the same not working in linux. Can you have any configuration... (0 Replies)
Discussion started by: thakshina
0 Replies

5. SCO

pppoe

Greetings... I'm looking for a pppoe client for SCO SYS_V can u guys gimme some help ? a website address or even the program name would be just fine. Thanx (1 Reply)
Discussion started by: nEuRoMaNcEr
1 Replies

6. UNIX for Dummies Questions & Answers

PPPoE + ADSL on FreeBSD 4.4

Hi everyone, This is basically my problem. I setup freebsd, and wanted to get my adsl connection up which uses pppoe to connect. I followed the steps in this (http://free.mine.nu/~squirrel/PPPoE/FreeBSD%20PPPoE%20Howto.htm) manual and configured everything successfully. The problem begins when i... (7 Replies)
Discussion started by: Luftwaffe
7 Replies

7. UNIX for Dummies Questions & Answers

dns/pppoe Problems

I would appreciate any help anyone could give. I am having DNS problems... Here are the facts: linux: 2.2.16 Distrib: SUSE 7.0 pppd: rp-pppoe ISP: Verizon Avenue IP: Dynamic DNS: 10.5.0.65 ??? Default Gateway: 10.5.0.65 ???? I have tried putting the above IP into /etc/resolv.conf with... (3 Replies)
Discussion started by: Recon
3 Replies
Login or Register to Ask a Question