LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   ppp0 and ppp1 keep switching around centos (http://www.linuxquestions.org/questions/linux-server-73/ppp0-and-ppp1-keep-switching-around-centos-769912/)

andycol 11-18-2009 06:26 AM

ppp0 and ppp1 keep switching around centos
 
Hi Guys

I hope someone can help me

my problem is i have setup 2x ppp used for adsl to split local and international bandwidth
ppp0 is using the international account
and ppp1 is using the local only account
this all works fine but every so often i notice when i do an ifconfig that ppp0 is dialed up on the local account and ppp1 is dialed up on the international one, and sometimes a reboot fixes it and sometimes it doesnt

does anyone have any ideas?

my config files are the following:

# Default ADSL network config file, as used by redhat
USERCTL=yes
PEERDNS=no
TYPE=xDSL
DEVICE=ppp0
BOOTPROTO=dialup
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl0.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=0
PERSIST=no
SYNCHRONOUS=no
DEFROUTE=yes
PROVIDER=provider
ETH=eth1
DEMAND=no
USER='myadslacc@no.co.za' (international account)

# Default ADSL network config file, as used by redhat
USERCTL=yes
PEERDNS=no
TYPE=xDSL
DEVICE=ppp1
BOOTPROTO=dialup
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl1.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=0
PERSIST=no
SYNCHRONOUS=no
DEFROUTE=no
PROVIDER=provider
ETH=eth1
DEMAND=no
USER='myadslaccount@no.local' (local account)

anyone have any ideas?

thanks

GlennsPref 11-18-2009 07:38 AM

Hi, set it the way you like and change persist=yes

Or look for the config files in /etc/sysconfig/network-scripts
and set the ip addresses for each of the ppp0 and ppp1 files

cheers Glenn

andycol 11-23-2009 03:12 AM

nope doesnt help

this is killing me ive looked everywhere and cant find anything


All times are GMT -5. The time now is 03:43 PM.