OK, I need help, 2 PPPOE on 1 line problem... again

kwaggawerner

Senior Member
Joined
Sep 6, 2007
Messages
915
Reaction score
203
Location
Somewhere in the east of South Africa
OK, Here I go:

I have Wimax, for those of you who don't know how it works, think of wireless ADSL... it does the same thing... I connect to the internet via a PPPOE account.

Now, I have an AP connected to the WIMAX device... One WLAN client connects directly to the net via Windows XP PPP Client. For client 2, that's me, I also connect to the MAIN AP via WLAN, but from the Client AP I run cable to a wlan router, so the link from the main ap/client2 connects to the WAN port of the wlan router... this router then dials another PPPOE, and distributes it via WLAN again, and then on this 2nd AP/router, 3 clients connect.

I know, laborious, but at the time this is what worked, let me explain, I tried IPCOP, I tried Kerio, nothing worked, because Client 1 needs international internet, client 2 needs a PPP availability, because client 2 needs international at times, and sometimes local, but the second AP must always provide international to clients 3,4,5. And the second AP connects to the CPE of client 2.

Now here is my question, how can I have one router/server/firewall, dial an intl connection, have clients 1,3,4,5 on it, but still allow client 2 to dial his own connections? I know the simple answer is ppp-relay/passthrough, but it's not working, since the MAIN AP is DD-WRT (Which does not support pppoe-relay) and then there is the problem with distance, thats why there is a second AP for clients 2,3,4,5.

Any ideas, of making this setup a bit more streamlined? Reason being, I cannot switch local/intl without forcing client 3,4,5 also on whatever connection I choose - currently client 2 is also connected to AP2.

If I throw in a server (IPCOP/Kerio) in the link, say, between the wimax and the MAIN AP, It can only dial one connection, and should I open a pppoe passthrough port, and dial ppp2, then ppp1 stops sending/receiving data... although it does not disconnect.

Ideally, it would be great if kerio (example) can dial a connection (ppp1), have client 1 go through ppp1, then allow AP2 to dial PPP2(for clients 3,4,5), and allow client 2 to also dial its own connection or have client 1, 2 and AP2 dial their own connections.




"Taking a simple network, and turning it into something the OSI-model doesnt know how to handle, or, Telkom's infrastructure can't handle - or simply put, I'm an idiot"
 
Last edited:
Easy solution:

Run a cat5 cable from the wan port of your router to one of the lan ports. Connect the cat5 cable coming from the Wimax device into one of the other lan ports. Now the router can make its own pppoe connection AND any of the clients connected to the router either via one of the other lan ports or wirelessly can make their own pppoe connections too without any sort of pppoe relay.

Good luck.
 
I will most definitely try it, I didn't know it could work like that, but now, should I do it like this, and the client machine, already has a DHCP addy to the router, iow it has internet, and that same client dials a ppp, through what will the traffic go? Will ppp connections take precedence? or will the ppp for some weird reason try to dial through the already established connection on the router? - I know the easy solution is not use static IP's, and not enter a gateway, but it there an alternative way?
 
hi have you tried making a wireless network using vista, it works nice and has all those functions you looking for
 
in Thoery it should be possible.

i have routed different Local IP traffic through different PPPoE connections. all done via Microsoft Routing and Remote access.
eg: routing clients internal IP ranges through a MPLS link.

1stly you will need 3 network cards in your server.(1=internal traffic, 2=local router,3=international router.
Have your Default (international) Router connected Normally through the NIC2 interface.

Set both the NIC2, and NIC3 and External interfaces. (enabling NAT)

Set local bandwidth router in bridge mode (connect to NIC3)
Initialized PPPoE from the Routing and Remote access.

So now you have 2 PPPoE connections. 1=International on ADSL ROUTER1.
2. PPPoE connection dialed via Routing and remote access through ADSL Router2(which is in bridge mode)

Then set default Gateway as the International routers LAN IP (connected on the NIC2).(NB: No default gateway set on NIC1 and NIC3, and only the default gateway set on the nic2 that is connected to the Router with International Connection.

Now Set Static Routes.
You will need to get the IP ranges of South Africa. to my knowledge. its just telkom..41 ip. and IS 196 ip range)

set IP 41.0.0.0(whatever telkom Range) to route through PPPoE Connection Setup in Routing and Remote access

Set IP 196.0.0.0(whatever IS range is) also to route through the PPPoE connection in RRAS.

this can be done in linux aswell ofcoarse. similar principal.

My Question to the forum is. can you dial 2PPPoE connections through ONE ADSL router and 1 ADSL line??

Basically have the router in bridge mode..and be able to dial a PPPoE connection on that router. Setup RRAS to Dial through that router. therefore the PPPoE connection on the RRAS Server will go through the Router. This making 2 PPPoE connections on 1 line??

is this possible??
 
Cisco

I know the easy solution is not use static IP's, and not enter a gateway, but it there an alternative way?

You can obtain EOL but still currently useful Cisco stuff at nearly the same price as all these other "bits & pieces"

( Some will say use Microtik and Routerboard -- bit of a steeper learning curve)

Use proper routiing / switching equipment and get past all these "hacks"

With an 877W you get an ADSL "modem" -- router -- AP -- four port intelligent switch all in ONE device.

AP , VLANS , VPN , DHCP , PPPoE client with any number of simultaneous connections , etc etc.

Or get an older router and a 12 or 24 port Cisco switch with IOS.


MW
 
With an 877W you get an ADSL "modem" -- router -- AP -- four port intelligent switch all in ONE device.

How much does a secondhand 877W go for these days? Never worked with the 'small stuff', only 7xxx, 65xx, 26xx, 36xx etc stuff so no idea as to costs.
 
Wow, that's quite a nice all-in-one package, although it comes at a matching pricetag too :(
I've found it for R4k at http://www.server-warehouse.co.za/870-series

Another option would be to get a RouterBoard 750 for around R310 and use it in combination with a standard ADSL + Wifi router. The RB is capable of VLAN's, VPN, DHCP & PPPoE. You get the RouterOS v4 license with the RB750, allowing you to utilize multiple PPPoE connections too!
I don't have one yet, but I'm VERY tempted to get myself one to replace my Linksys WRT54GL running DD-WRT VPN build.

You could simply dial multiple PPPoE accounts and split the (local & international) traffic using simple scripts, like the generic one that dawbomb made OR if you're going to use a MikroTik router, follow the Mikrotik guide. A few firewall rules OR placing them on VLAN's could also separate those that may have international bandwidth and those that shouldn't.
Using 3 NIC's like gareth300 suggested could work, but its not necessary to have that many NIC's.
 
Top
Sign up to the MyBroadband newsletter
X