Forums

oasisone
oasisone
Offline
Resolved
0 votes
Hello,
i will start by explaining the whole situation. At the office i have a 15/15 mbit FO connection wich connects to a GPON and offers PPPoE at the eth port of the GPON. I wanted to add a hotspot to our company so the clients could surf the net while waiting. So to keep public and business sepparated i bought another IP over the same connection with another PPPoE account.

Now, the idea was to have sepparate IP's and NAT's for each connection so the public could not access the business network but on the same machine so i could use the proxy to save bandwidth.


any propositions on how to start this?
(in the mean time i will add another ppp interface in the command line but i lack the knowledge to make it also appear in the GUI and also to create a cron job to bring it up at the next reboot).
Sunday, February 02 2014, 08:21 AM
Share this post:
Responses (2)
  • Accepted Answer

    visarut
    visarut
    Offline
    Wednesday, December 31 2014, 02:03 PM - #Permalink
    Resolved
    0 votes
    I made 10 pppoe on 1 interface but when there is high traffic , cpu load is very high about 80-100%.

    /etc/sysconfig/network-scripts/ifcfg-ppp0 - ppp9

    DEVICE=ppp0
    TYPE="xDSL"
    USERCTL="no"
    BOOTPROTO="dialup"
    NAME="DSLppp0"
    ONBOOT="yes"
    PIDFILE="/var/run/pppoe-ppp0.pid"
    FIREWALL="NONE"
    PING="."
    PPPOE_TIMEOUT="80"
    LCP_FAILURE="5"
    LCP_INTERVAL="20"
    CLAMPMSS="1412"
    CONNECT_POLL="6"
    CONNECT_TIMEOUT="80"
    DEFROUTE="yes"
    SYNCHRONOUS="no"
    ETH="eth0"
    PROVIDER="DSLppp0"
    USER="account0@fttx"
    PEERDNS="no"



    DEVICE=ppp1
    TYPE="xDSL"
    USERCTL="no"
    BOOTPROTO="dialup"
    NAME="DSLppp1"
    ONBOOT="yes"
    PIDFILE="/var/run/pppoe-ppp1.pid"
    FIREWALL="NONE"
    PING="."
    PPPOE_TIMEOUT="80"
    LCP_FAILURE="5"
    LCP_INTERVAL="20"
    CLAMPMSS="1412"
    CONNECT_POLL="6"
    CONNECT_TIMEOUT="80"
    DEFROUTE="yes"
    SYNCHRONOUS="no"
    ETH="eth0"
    PROVIDER="DSLppp1"
    USER="account1@fttx"



    DEVICE=ppp2
    TYPE="xDSL"
    USERCTL="no"
    BOOTPROTO="dialup"
    NAME="DSLppp2"
    ONBOOT="yes"
    PIDFILE="/var/run/pppoe-ppp2.pid"
    FIREWALL="NONE"
    PING="."
    PPPOE_TIMEOUT="80"
    LCP_FAILURE="5"
    LCP_INTERVAL="20"
    CLAMPMSS="1412"
    CONNECT_POLL="6"
    CONNECT_TIMEOUT="80"
    DEFROUTE="yes"
    SYNCHRONOUS="no"
    ETH="eth0"
    PROVIDER="DSLppp2"
    USER="account2@fttx"


    and same on ppp3 - ppp9

    /etc/ppp/pap-secrets

    "account0@fttxhome" * "password0" *
    "account1@fttxhome" * "password1" *
    "account2@fttxhome" * "password2" *
    "account3@fttxhome" * "password3" *
    "account4@fttxhome" * "password4" *
    "account5@fttxhome" * "password5" *
    "account6@fttxhome" * "password6" *
    "account7@fttxhome" * "password7" *
    "account8@fttxhome" * "password8" *
    "account9@fttxhome" * "password9" *


    Why the cpu load is very high?

    http://www.clearfoundation.com/media/kunena/attachments/legacy/images/multiwan-20141231.jpg http://www.clearfoundation.com/media/kunena/attachments/legacy/images/ppp0e-20141231.jpg
    The reply is currently minimized Show
  • Accepted Answer

    oasisone
    oasisone
    Offline
    Tuesday, April 15 2014, 06:54 AM - #Permalink
    Resolved
    0 votes
    Really, no proposals, nothing?
    The reply is currently minimized Show
Your Reply