https://www.slackwiki.com/index.php?title=PPPoE_-_Multiple_Connections&feed=atom&action=historyPPPoE - Multiple Connections - Revision history2024-03-29T07:08:25ZRevision history for this page on the wikiMediaWiki 1.40.0https://www.slackwiki.com/index.php?title=PPPoE_-_Multiple_Connections&diff=102&oldid=prevErik: Copy from old2009-06-03T02:05:29Z<p>Copy from old</p>
<p><b>New page</b></p><div>[[Category:Tutorials]]<br />
== How to setup multiple PPPoE connections ==<br />
<br />
1) Install multiple network devices (ethernet cards).<br />
: (you can probably do this with one and use eth0:0, eth0:1, etcetera but, it's a bad idea).<br />
<br />
2) Make note of each device's MAC address.<br />
<br />
3) Make sure the correct interface is assigned to the correct network card.<br />
: Edit <code>/etc/udev/rules.d/70-persistent-net.rules</code> file so that the MAC address of each card matches the interface you want. You must do this so the correct pppoe connection connects to the correct modem.<br />
<br />
4) Run <code>pppoe-setup</code> and set up the connection for connection #1.<br />
<br />
5) <code>mv /etc/ppp/pppoe.conf /etc/pppoe-connection1.conf</code><br />
<br />
6) Run <code>pppoe-setup</code> and set up the connection for connection #2.<br />
<br />
7) <code>mv /etc/ppp/pppoe.conf /etc/pppoe-connection2.conf</code><br />
<br />
8) Repeat steps 6 & 7 for each of the remaining DSL connections.<br />
<br />
-setup is complete-<br />
<br />
<br />
<br />
== How to start the connections ==<br />
<br />
1) Run <code>pppoe-start /etc/ppp/pppoe-connection1.conf</code><br />
<br />
2) Run <code>pppoe-start /etc/ppp/pppoe-connection2.conf</code><br />
<br />
3) Repeat step 2 for all remaining connections.<br />
<br />
At this point, you should have ppp0, ppp1 and etc. ppp connections. Your routing table ''may'' be trashed at this point, you can clear it and use one as the default route by:<br />
:: route del default<br />
:: route add default gw ''ip_address_of_one_of_your_pppoe_connections''<br />
<br />
NOTE: The above will set ONE connection as the default, you must adjust your routing to suit your needs from this point on.<br />
<br />
== How to setup routing and/or weighted routing ==<br />
<br />
Too be added...</div>Erik