LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-13-2013, 11:36 PM   #1
sekarlinux
Member
 
Registered: Dec 2011
Posts: 48

Rep: Reputation: Disabled
Could not bring up more than one PPP interface on CentOS-5.9 at a time


Hi Friends,

I have 4 DSL lines are connected to server with different ethernet ports.

PPP0 config :

USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=no
PIDFILE=/var/run/pppoe-adsl-0.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=no
SYNCHRONOUS=no
ETH=eth1
PROVIDER=DSLppp0
USER="XXXXXXXXXXXX"
PEERDNS=no
DEMAND=no
IPV6INIT=no
IPV6_AUTOCONF=no

PPP1 Config :

USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp1
DEVICE=ppp1
TYPE=xDSL
ONBOOT=no
PIDFILE=/var/run/pppoe-adsl-1.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=no
SYNCHRONOUS=no
ETH=eth2
PROVIDER=DSLppp1
USER="XXXXXXXXXXXXXX"
PEERDNS=no
DEMAND=no
IPV6INIT=no
IPV6_AUTOCONF=no

Iam able to bring up one at a time but i could not bring up both interfaces together. When i connect second interface using ifup ifcfg-ppp1 then we got the message modem got hangup . But if i shutdwn ppp0 then start ppp1 then it is working.
Nov 13 22:30:54 localhost pppd[28619]: pppd 2.4.4 started by root, uid 0
Nov 13 22:30:54 localhost pppd[28619]: Using interface ppp0
Nov 13 22:30:54 localhost pppd[28619]: Connect: ppp0 <--> /dev/pts/2
Nov 13 22:30:54 localhost pppoe[28622]: PPP session is 3977
Nov 13 22:30:55 localhost pppd[28619]: CHAP authentication succeeded
Nov 13 22:30:55 localhost pppd[28619]: CHAP authentication succeeded
Nov 13 22:30:55 localhost pppd[28619]: local IP address X.X.X.X
Nov 13 22:30:55 localhost pppd[28619]: remote IP address X.X.X.X
Nov 13 22:31:04 localhost pppd[28720]: pppd 2.4.4 started by root, uid 0
Nov 13 22:31:04 localhost pppd[28720]: Using interface ppp1
Nov 13 22:31:04 localhost pppd[28720]: Connect: ppp1 <--> /dev/pts/3
Nov 13 22:31:35 localhost pppd[28720]: LCP: timeout sending Config-Requests
Nov 13 22:31:35 localhost pppd[28720]: Connection terminated.
Nov 13 22:31:35 localhost pppd[28720]: Modem hangup
Nov 13 22:31:39 localhost pppoe[28723]: Timeout waiting for PADO packets
Nov 13 22:31:39 localhost pppd[28720]: Exit.
Nov 13 22:31:39 localhost adsl-connect: ADSL connection lost; attempting re-connection.
Nov 13 22:31:44 localhost pppd[28847]: pppd 2.4.4 started by root, uid 0
Nov 13 22:31:44 localhost pppd[28847]: Using interface ppp1
Nov 13 22:31:44 localhost pppd[28847]: Connect: ppp1 <--> /dev/pts/3

Is there any PPPoE session management for each line separately?

How do i bringup all the interfaces at a time?

Please let me know if we want correct the configuration parameters.

Last edited by sekarlinux; 11-13-2013 at 11:38 PM.
 
Old 11-15-2013, 08:18 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 2,975

Rep: Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795
I suspect it's a routing issue. In the normal use case for ppp it's the only network connection to a box, so it gets the default route. When you get a packet on the second ppp how does the network stack know where to send the response? Unless you have set up different routes it is being returned on the wrong port so you end up with a timeout.
 
Old 11-16-2013, 09:24 PM   #3
Andre.Smit
LQ Newbie
 
Registered: Nov 2013
Location: Bronkhortspruit
Distribution: SuSE - Kubuntu - OpenWRT
Posts: 22

Rep: Reputation: Disabled
Agree with post above. Are you trying to set up a router using linux? If the intention is to run a server, it will make your setup very complex. Default routes, services bindings etc will be a challenge.

If you want to setup a router, install something like OpenWRT and look at their documentation...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bring interface physically down m4rtin Linux - Networking 1 12-08-2012 11:40 AM
Manually bring up network interface every time mahmoodn Ubuntu 8 11-25-2010 01:13 AM
Failed to bring up <Interface> jose_tk Linux - Networking 1 11-04-2009 07:48 AM
What does ifup do to bring up an interface? crazyjimbo Linux - Networking 1 07-04-2006 01:00 AM
pppd: how to bring up an interface? J_Szucs Linux - Networking 2 08-08-2004 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:25 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration