DG834G and multiple PPPOE...

TheRift

Expert Member
Joined
Apr 20, 2008
Messages
2,540
Reaction score
20
Location
Cape Town
Hi!

I'm jumping on the international/local split thing. Sick and tired of being broke all the time.

I have a Netgear DG834G router. I didn't want to do this bridge mode thing I've seen around here that requires it to act as a modem only so that I can use RouteSentry to split the traffic. The router isn't just doing 1 PC here, there's a notebook as well so need a solution on the router instead of proxying/routing the internal network through a PC and then to the router. However, on the one PC I run openweb's openrouter so it gets to use some local bandwidth for international surfing.

I've done the following on the DG834G to split 2 accounts.
It signs up with international account from Telkom.
The 2nd account is IS local only and hooked up to openweb openbrowse.
Telnet into the router and run the following:

Code:
pppd plugin pppoe nas0 user <username> password <password> mtu 1492 mru 1492 maxfail 10 demand idle 65520

wait for it to come up and then:

Code:
iptables -t nat -A POSTROUTING -o ppp1 MASQUERADE
route add -net 196.0.0.0 255.0.0.0 ppp1

That last one was needed because the IS connection number was seeing a Telkom one I think via NAT (seeing 41.x.x.x instead of 196.x.x.x).

Seems to be working for all sites in the 196.x.x.x range. Problem is, do those pppd instructions seem alright to people? I seem to get a little slower throughput speed on the local account than I did before. Is the MTU/MRU stuff alright? I use openweb 512 openbrowse account on the IS connection, which used to get pages down at 50K/sec, but now they're down to 25K/sec. Or is this openweb oversharing accounts?
 
Nice,

I'll try this on my DG834PN tonight.
Can't see why it should not work.:D
I'll keep you posted.
 
How bout you just downgrade the firmware and leave one acc on the router and dial up the other acc with windows etc - works for me - made a thread on it a while back... I just do that + routsentry...

J
 
I got this to work with my DG834GT.
Commands are a bit different though.
For me it was
Code:
pppd plugin pppoe nas0 user <localAccountUsername>  password <localAccountPassword>  mtu 1492 mru 1492 maxfail 10 demand idle 65520

And to get NAT working:
Code:
iptables -t nat -A POSTROUTING -o ppp1 -j MASQUERADE

Routing was abit more tricky. I used a python script to send the routing info ( http://formstar.net/gatecrasher/routes.txt) to the router.

Reply if you want more details.
 
router instead of proxying/routing

I didn't want to do this bridge mode thing I've seen around here that requires it to act as a modem only so that I can use RouteSentry to split the traffic. The router isn't just doing 1 PC here, there's a notebook as well so need a solution on the router instead of proxying/routing the internal network through a PC and then to the router. However, on the one PC I run openweb's openrouter so it gets to use some local bandwidth for international surfing.
 
Top
Sign up to the MyBroadband newsletter
X