LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-21-2008, 05:09 PM   #1
zomane
Member
 
Registered: Sep 2005
Location: Austria
Distribution: Debian, CentOS, OpenBSD, FreeBSD
Posts: 52

Rep: Reputation: 16
multiple pppoe sessions simultaneously


Hello.
I want to create two ppp sessions using rp-pppoe. I already have one ISP using pppoe and wondering how in practice must be configured another ISP to work simultaneously with first one.
I want to made one elucidation - I dont have problems with routing. I already have two ISP's one with ppp and one via dhcp and I use them simultaneous with iproute and few bash scripts.
Now I want to add second ISP that uses pppoe.But how to configure rp-pppoe to create second connection ?
In /etc/ppp/ I have pap-secrets, chap-secrets, pppoe.conf for first connection and when i started pppoe it creates in /var/run these pids
Code:
ppp0.pid
pppd2.tdb
pppoe.conf-pppoe.pid
pppoe.conf-pppoe.pid.pppd
pppoe.conf-pppoe.pid.pppoe
pppoe.conf-pppoe.pid.start
So I think to made pppoe.conf1 with config for another ISP, but...now comes questions
In pppoe.conf I have row with USER= , so I put there my username, but password is in pap or chap file. How to tell in config "ppp1 your config is in pppoe.conf1 and password is in pap-secrets1" or I must add second row in pap-secrets with corresponding username like this :
Code:
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
"$user_ppp0"        *       "$passwd0"
"$user_ppp1"        *       "$passwd1"
.
And now comes "big" problem .
Lets imagine - two configs are ready, ppp0(started with pppoe-start /etc/ppp/pppoe.conf0) is up and running, now starting second connection with pppoe-start /etc/ppp/pppoe.conf1 and what happens ?
ppp1 goes up and creates something like this in /var/run
Code:
ppp1.pid
pppd2.tdb
pppoe.conf1-pppoe.pid
pppoe.conf1-pppoe.pid.pppd
pppoe.conf1-pppoe.pid.pppoe
pppoe.conf1-pppoe.pid.start
or just says "pppoe is already up" or something similar ?And what can I do in this case?
I still dont have second pppoe ISP and cant try what will happens, so I want to be ready for possible problems if any appears when plug cable .
Thanks in advance.

Ooops I forgot ... :
Distro is Slackware 11.0 .
rp-pppoe version is 3.8 from Slackware install disk.

And one last question :
How to tell to pppoe always to create same names for every connection no matter which one is started first
something like this : ppp0=ISP0 ppp1=ISP1.
Thanks again.

Last edited by zomane; 04-21-2008 at 05:21 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to write multiple threads working simultaneously ? indian Programming 3 09-19-2011 11:41 PM
Multiple Blade servers booting from multiple disk drives simultaneously NGC_cheryl Linux - Enterprise 0 11-26-2007 08:38 AM
Multiple Autologins; Multiple Users; Multiple Sessions mrclisdue Linux - Desktop 1 09-26-2007 05:50 AM
More Gnome-sessions simultaneously Menestrel Debian 5 06-19-2005 03:17 PM
pppoe.so sending sessions packets with wrong src mac ppp_guy Linux - Networking 1 03-05-2004 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration