Community discussions

MikroTik App
 
buggin69
just joined
Topic Author
Posts: 8
Joined: Sat Jul 21, 2007 2:01 am

PPPoE client on RB450g

Thu May 28, 2009 9:42 pm

I've got three RB450G MTs brand new. Two of them need to be set up as PPPoE clients for a DSL connection through a bridged modem.
I can not get it to work. I have reset them to factory defaults and tried re-flashing them.

My setup thus far is very simple. PPPoE on ether1 with ether2-5 bridged and DHCP server on the bridge. I have the masquerade rule in place as well. The PPPoE connection does dial in and connect and I'm getting an ip address.
Now at this point I am able to ping and do dns lookups but web traffic will nto load. Google comes up but most of the time graphic free. Other sites seems to stop loading after the initial *burst* of information.
To verify this was a PPPoE problem I diabled the PPPoE client and set up a DHCP client on ether1 and plugged into an active internet connection. I was immedately online as expected. All sites load and no lost packets. same results with a static IP setup.
I also set up a PPPoE connection through the same modem on a different router to verify. This worked fine as well.
Lastly I copied a working PPPoE client config from another MT router and changed the settings to match my login information. Same problem.
I've verified all the PPPoE settings and I work for the ISP that provides the DSL so I'm fairly certain I got those right.

Any help is greatly appreciated.
 
thiele
newbie
Posts: 44
Joined: Mon Jun 01, 2009 5:08 pm
Location: Curitiba - Brasil

Re: PPPoE client on RB450g

Mon Jun 01, 2009 9:19 pm

Did you tried to decrease mtu on pppoe client?
 
buggin69
just joined
Topic Author
Posts: 8
Joined: Sat Jul 21, 2007 2:01 am

Re: PPPoE client on RB450g

Tue Jun 02, 2009 2:46 am

Settings should be the default 1492 but I took it all the way down to 1420 and 1400 just to check that because I had a Cisco VPN router that was very touchy on the MTU once. Again, no dice.
 
JorgeAmaral
Trainer
Trainer
Posts: 199
Joined: Wed Mar 04, 2009 11:53 pm
Location: /ip route add type=blackhole

Re: PPPoE client on RB450g

Tue Jun 02, 2009 4:13 am

so, how are you doing your masquerade?
/ip firewall filter add chain=src-nat out-interface="pppoe-client" action=masquerade disable=no?

or out-interface=ether1?

with pppoe-client oyu need to do the masquerade on the pppoe-client interface

Jorge
 
buggin69
just joined
Topic Author
Posts: 8
Joined: Sat Jul 21, 2007 2:01 am

Re: PPPoE client on RB450g

Tue Jun 02, 2009 4:42 am

I tried both of those settings.

I started off with pppoe-client and then when I tried a dhcp connection I obviously had to change it. When that worked I tried leaving it that way and going back to a pppoe connection and the result was as expected. It didn't work at all.

Thanks for the help so far though. I'll be hella relieved if I get this figured out. MT's are usually great and we've never had problems like this before.
 
buggin69
just joined
Topic Author
Posts: 8
Joined: Sat Jul 21, 2007 2:01 am

Re: PPPoE client on RB450g

Tue Jun 02, 2009 6:58 am

I also tried letting the pppoe-client interface create the default route and tried setting a static route myself. The pppoe login happens to get a specific IP address so I tried to use both the pppoe-client interface and the actual gateway address.

I don't recall the specifics of what didn't work at all but I know nothing solved the problem.

Again, it seems like only the first "burst" of data gets through and then it just stops. I can get to an imageless google and even get a partial search result page but those pages are specifically written to be extremely small so it's even fast on dial up.
Other than that I can't get a page to load. I was able to telnet but I timed out. I always seem to be able to ping fine. I loaded an outside winbox connection through it once. That also timed out eventually(minutes). All of these use very very little bandwidth. The speed is so amazingly slow. If I recall correctly the usage on the interface in winbox was like 8k. Sorry I don't remember all the specifics. I'm not in the office right now and this isn't my only project by any means.



Also, after I try a few things and they don't work I tend to reset and start over again just in case I've forgotten to uncheck something.
 
thiele
newbie
Posts: 44
Joined: Mon Jun 01, 2009 5:08 pm
Location: Curitiba - Brasil

Re: PPPoE client on RB450g

Tue Jun 02, 2009 5:27 pm

buggin69,


Got a similar problem here once, it was MTU... cause of this I was wondering if you tried a MTU change.

You said about ping and lookups, after the first burst you still able to do it?

If yes, you can try to change TCP MSS, it can help in some cases. Try something like this:
/ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn,rst action=change-mss new-mss=1360
(its recommended to set it to 40 bytes less than MTU)


Hope its help!
 
buggin69
just joined
Topic Author
Posts: 8
Joined: Sat Jul 21, 2007 2:01 am

Re: PPPoE client on RB450g

Tue Jun 02, 2009 7:01 pm

I tried serveral MTU settings as stated above. It generated the MSS rule automatically and I never tried manaully setting it.

The pings never stopped. DNS also seems to always work.

I will try this and post my results.

thanks again
 
buggin69
just joined
Topic Author
Posts: 8
Joined: Sat Jul 21, 2007 2:01 am

Re: PPPoE client on RB450g

Tue Jun 02, 2009 7:40 pm

How do I get it to NOT automatically create a change MSS rule when it dials up the pppoe. Currently it is set exactly 40 off my MTU and I can't change it. I can delete it but if pppoe logs in for any reason (reboot, loss of sync, etc) it will auto generate the rule again.
 
thiele
newbie
Posts: 44
Joined: Mon Jun 01, 2009 5:08 pm
Location: Curitiba - Brasil

Re: PPPoE client on RB450g

Tue Jun 02, 2009 8:01 pm

When you create a pppoe connection you need to select a PPP profile right?

Ok, what you need to do:

- Go to PPP menu e duplicate default profile (you can change default profile too, your choice)
- Change option "Change TCP MSS" of you new/modifyed profile to: no
- If you created a new profile change it to new name at you pppoe connection, if you edited default just test new conf.


Good Luck...
 
buggin69
just joined
Topic Author
Posts: 8
Joined: Sat Jul 21, 2007 2:01 am

Re: PPPoE client on RB450g

Tue Jun 02, 2009 9:41 pm

I will try that next. Thanks
 
buggin69
just joined
Topic Author
Posts: 8
Joined: Sat Jul 21, 2007 2:01 am

Re: PPPoE client on RB450g

Fri Jun 05, 2009 8:38 pm

That was a no go as well. It seems to not even use the rule I create even if I tie it directly to the pppoe interface (In Intrerface). The ato generated MSS rule sees 1 packet and about 44 bytes everytime i try to load a site and the rule I created (that is identical to the auto rule except for the size) doesn't seem to ever see any data at all.