PPPoE - Multiple Connections
How to setup multiple PPPoE connections
1) Install multiple network devices (ethernet cards).
- (you can probably do this with one and use eth0:0, eth0:1, etcetera but, it's a bad idea).
2) Make note of each device's MAC address.
3) Make sure the correct interface is assigned to the correct network card.
/etc/udev/rules.d/70-persistent-net.rulesfile 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.
pppoe-setup and set up the connection for connection #1.
mv /etc/ppp/pppoe.conf /etc/pppoe-connection1.conf
pppoe-setup and set up the connection for connection #2.
mv /etc/ppp/pppoe.conf /etc/pppoe-connection2.conf
8) Repeat steps 6 & 7 for each of the remaining DSL connections.
-setup is complete-
How to start the connections
3) Repeat step 2 for all remaining connections.
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:
- route del default
- route add default gw ip_address_of_one_of_your_pppoe_connections
NOTE: The above will set ONE connection as the default, you must adjust your routing to suit your needs from this point on.
How to setup routing and/or weighted routing
Too be added...