Fedora Linux Support Community & Resources Center
Old 3rd April 2007, 09:40 PM
Jongi Offline
Registered User
Join Date: Oct 2005
Posts: 1,952
Need to split

EDIT: Apologies for the crappy title

Due to our backward internet here, I have cause to need to split traffic between local and international traffic. Now some has set up a process to do this via IPCop. Unfortunately this is not an option for me and I am trying to convert the IPCop instructions to FC instructions (IPCop instructions attached).

The problem is that I can't get past the first part of creating a ppp0 and ppp1 that run. Well the ppp0 runs but not the ppp1.

The instructions say
The first thing I needed to find out is what is the pppd command that I need in order to set up a second PPPoE connection to my isp. All I did is issue the following command while I had a connection running:

ps -ef|grep pppd

I got the following:

root 12942 1 0 Jan24 ? 00:00:00 /usr/sbin/pppd plugin rp-pppoe.so eth1 usepeerdns noipdefault defaultroute hide-password ipcp-accept-local ipcp-accept-remote passive noccp nopcomp novjccomp user MyUserName lcp-echo-interval 20 lcp-echo-failure 3 lcp-max-configure 50 maxfail 5

I then saved the command into a separate file for later use in a script.

I made a couple of changes to the command for my second link. The first change I made was use the "nodefaultroute" option as I was going to be setting up only the static local subnets as routes. I also took out the "hide-password" option. I was going to use the "password" option directly in the command itself.

My new pppd command now looks like this:

/usr/sbin/pppd plugin rp-pppoe.so eth1 usepeerdns noipdefault nodefaultroute ipcp-accept-local ipcp-accept-remote passive noccp nopcomp novjccomp user MyUserName password MyPassword lcp-echo-interval 20 lcp-echo-failure 3 lcp-max-configure 50 maxfail 5

I have:
[root:~#] ps -ef|grep pppd
root      2530  2468  0 21:53 ?        00:00:00 /usr/sbin/pppd pty /usr/sbin/pppoe -p /var/run/pppoe-adsl.pid.pppoe -I eth0 -T 80 -U  -m 1412    ipparam ppp0 linkname ppp0 noipdefault noauth default-asyncmap defaultroute hide-password nodetach usepeerdns mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user username lcp-echo-interval 20 lcp-echo-failure 3
root      4020  3601  0 22:31 pts/2    00:00:00 grep pppd
Now I have tried
[root:~#] /usr/sbin/pppd pty /usr/sbin/pppoe -p -I eth0 -T 80 -U  -m 1412    ipparam ppp1 linkname ppp1 noipdefault noauth default-asyncmap nodefaultroute nodetach usepeerdns mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user myusername password mypassword lcp-echo-interval 20 lcp-echo-failure 3
/usr/sbin/pppd: unrecognized option '-I'
pppd version 2.4.4
Usage: /usr/sbin/pppd [ options ], where options are:
        <device>        Communicate over the named device
        <speed>         Set the baud rate to <speed>
        <loc>:<rem>     Set the local and/or remote interface IP
                        addresses.  Either one may be omitted.
        asyncmap <n>    Set the desired async map to hex <n>
        auth            Require authentication from peer
        connect <p>     Invoke shell command <p> to set up the serial line
        crtscts         Use hardware RTS/CTS flow control
        defaultroute    Add default route through interface
        file <f>        Take options from file <f>
        modem           Use modem control lines
        mru <n>         Set MRU value to <n> for negotiation
See pppd(8) for more options.
I setup the ppp0 account using adsl-setup. I tried to setup the ppp1 account using adsl-setup, but after I run /sbin/ifup ppp1, when I run ifconfig there is no mention of ppp1.

I am a complete noob when it comes to network matters. Is what I am trying to do even possible?
Attached Files
File Type: gz IPCop Instructions.doc.tar.gz (6.2 KB, 94 views)
Desktop (64-bit) - F12, Debian Sid, OpenSUSE 11.2, ArchLinux

Last edited by Jongi; 3rd April 2007 at 09:41 PM. Reason: Crappy title
Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to split .zip file thisObject Using Fedora 4 12th May 2007 06:06 AM
Split partition lehoanq Using Fedora 22 10th May 2007 04:10 PM
How to Split Fedora 4 DVD to 4 CDs nagaya Installation, Upgrades and Live Media 2 8th January 2006 05:17 AM

Current GMT-time: 18:33 (Friday, 30-01-2015)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Jaeger Oslo - Krios Beach - Apple Store @ IFC Mall HK Photos - The Lobster Bay Eaon Mall - Laodikya Otel Travel Photos on Instagram