Multiple PPPoE Sessions

Spamtheman

Senior Member
Joined
Sep 7, 2004
Messages
575
Reaction score
1
Location
Cape Town
I'm just posting this to see if anyone has already managed to come up with a cunning solution rather than duplicate unneccesary work (spot the sysadmin ethos [:D])

I'm looking at getting an ADSL line in but I intend sharing it with someone else. In the interest of harmony with friends however we decided it would be wise not to share accounts, we intend to each have our own so that no one get's blamed for getting the other capped.

I'm looking at a D-Link DL300 (?) ADSL modem which I'm told can handle multiple PPPoE sessions, If I'm wrong I'd appreciate knowing now. We'd also hate to have to buy/scrounge a second firewall since we already have a perfectly good FreeBSD one currently. According to my reading in FreeBSD PPPd can handle multiple PPPoE sessions and I should be able to NAT using the interface name and -dynamic I'm just curious if anyone has played around with this? The multiple sessions ability is not particularly well documented.

Any feedback would be appreciated.
 
I do not know the gear you're using but I can say that I've had multiple accounts talk through my single firewall to Telkoms adsl router. Each is completely seperate .. works like a charm.

Even went as far as running seperate traffic shaping rules on each ppp interface ...
 
its a biach to set up on linux i have done the following ....

1)multiple routing tables based on IP mark value
2)iptables marks packets to go out on the alternate routes
3)iptables nats traffic setting the src addr of the interface on all outgoing packets so they come back on the same interface
4)tc shapes incoming traffic and limits out going traffic with imq/htb/sfq

currently im sorting traffic based on TOS values ie service filtering not so source filtering to do it the other way is quite straight forward ...

one sugestion is use n+1 accounts have the additional account the default and this will be where ICMP/DNS/SMTP.... traffic will flow and have the extra accounts running via pppoe-relay ....

of course a ethernet modem a hub and a few pc's with DUN will do the same thing but unprotected un managed ...

you sometimes dont need to be to smart :)
 
Well it doesn't seem that tricky to do in FreeBSD. Each PPPoE session creates a virtual device tun0, tun1 ect. Those device names can in turn be referenced in natd and as long as you use the dynamic switch there shouldn't be any issues on that side, I'm just curious if anyone has already experimented with it. It's quite possible there is a gaping hole in my forehead and that I've missed something horribly obvious, I'd prefer to find out sooner rather than later though.

Just out of interest would using multiple accounts simultaneosly result in 2x512kbit or 512kbit/2 ?
 
Cheapest hardware for multiple PPP sessions

Hello all,

I was just wondering, can anyone recommend some locally available hardware that will allow me to do the "multiple PPP sessions thing" NOT using FreeBSD or Linux. Everything must be handled by the router/appliance. I see some Speedtouch models support this (610 series) & Conexant chipset based models. What others please? I suppose this is probably a matter of contacting local suppliers, checking stock & looking up specs...
 
I have a SMC7204BRA and it can handle more than 1 pppoe session by itself, then you can set up different routing tables to different pppoe sessions ect.
What is also nice is you can tell it to lets say make 3 pppoe connections + do bridging so that you can make pppoe connections from windows or linux too.
 
doekvoet said:
Was just wondering - would multiple PPPoE sessions work through a USB modem?

No it wouldn't. PPPoE = Point to Point Protocol over Ethernet.
The only way to get more than one computer on the internet with the USB modem is to use Internet Connection Sharing (ICS).
 
Kick dude - you're not correct. One modem can handle multiple PPOE sessions in bridge mode.
Your computer keeps the authentification header and the modem just resends it like any other PPOE packet, the authentification server verifies the authentification header, unwraps the underlying TCPIP packet and sends it on it's way.
 
I am sure if the usb modem emulates a ethernet device in windows, you should be able to bridge it with a current real ethernet device, and multiple pppoe sessions over the network should be possible. Other than that, 1 windows pc cant handle more than 1 pppoe connection by itself...
 
I have the sentech modem and the Ethernet cable I want 2 pc's to connect. The modem is in one network card and the other pc connect to the 2nd network card the 2 network cards are bridged. I can only connect one pc at a time.

I did change the wan endpoint to more than 1 but still does not resolve my problem.

The one network card is a NVIDIA nforce(pc) and the other realtek rtl8169/8110 family (modem)

Any suggestions?
 
stoke said:
Kick dude - you're not correct. One modem can handle multiple PPOE sessions in bridge mode.
Your computer keeps the authentification header and the modem just resends it like any other PPOE packet, the authentification server verifies the authentification header, unwraps the underlying TCPIP packet and sends it on it's way.

Yeah, i realised that a few weeks later :)

BioVolt, something that might work:
Get an 8-port (or whatever) hub and connect both pc's (or more) and you sentech modem to that hub. Then set up broadband dial-up connections on each computer using PPPOE.
Never tried this with sentech though... only iBurst..
 
Please Tell Me How

stoke said:
One modem can handle multiple PPOE sessions in bridge mode.

Please, please, pleeeeaaaase tell me how to do this. I have an Alcatel SpeedTouch USB modem connected to a PC running XP Pro. This PC is usually busy with P2P transfers and acts as a gateway for my main PC (using ICS). I would like to route local and international traffic through separate accounts.

I would prefer to keep XP running on the gateway PC, but if it is required I will install Linux on it (although I have no previous Linux experience). However, I do not want to buy additional hardware (i.e. an ADSL router).
 
Set the router to bridge mode and the encap to 1483 bridged ip llc and tada each pc will have to make a PPPoE connection out via the router. The max speed of the line remains and gets shared ie with both users downloading stuff they will each get 50% of the line or if the one user is doing little the other will get more bw. (other factors comee in but essentially thats what happens). One thing, with users creating a PPPoE session they i think loose access to their local network when the adapter is inuse(PPPoE) though not sure if unix does a better job than xp.

usb modem works that way(bridged, when you wanna connect you click on a broadband icon/pppoe), install a usb modem and you will see a lan connection appear. not sure if you can share a usb connecton cause it would be a device, perhaps map the ip and share on a local network ? Anyways thats why the router adsl modems are so much better than usb ones.
 
After much searching, this thread is exactly what I have been looking for. My friends and I want to set up a home network with 512k ADSL, using a DLink/NetGear wireless router. We all want our own ISP accounts to prevent arguments over bandwidth usage.

From what I've read, the only way to do this would be to put the router in bridge mode and each user dials up using WinXP's PPPoE client and their own ISP credentials? Am I correct?

I have been told that when a router is in bridge mode, the NAT and firewall capabilities are turned off, and each client needs its own firewall. Is this correct?

Lastly, when a wireless router is in bridge mode, can you still rely on the wireless security features of the router, and can you dial PPPoE over wireless?

If all the above are true, are there any devices that offer wireless/ethernet access and act only as a bridged ADSL modem, so that I'm not paying for NAt and firewall features that I will never use?

Any help would be appreciated.
 
DVDA said:
From what I've read, the only way to do this would be to put the router in bridge mode and each user dials up using WinXP's PPPoE client and their own ISP credentials? Am I correct?

Correct.

DVDA said:
I have been told that when a router is in bridge mode, the NAT and firewall capabilities are turned off, and each client needs its own firewall. Is this correct?

NAT and the firewall on the router are bypassed so yes each client will need its own firewall

DVDA said:
Lastly, when a wireless router is in bridge mode, can you still rely on the wireless security features of the router, and can you dial PPPoE over wireless?

Yes you can rely on it, wireless security is separate to the other features. I don't know about using PPPoE over wireless, never tried it.

DVDA said:
If all the above are true, are there any devices that offer wireless/ethernet access and act only as a bridged ADSL modem, so that I'm not paying for NAt and firewall features that I will never use?

Any help would be appreciated.

I don't know if a wireless modem exists without the routing features but the amount you'll save over a standard router is minimal. I recommend just getting the router as your setup may change at some point in the future.
 
Thanks perdition. I was hoping someone would address my questions separately and concisely as you have. Big up!
 
Top
Sign up to the MyBroadband newsletter
X