Re: [pfSense] Setting PPPoE MTU

2014-01-29 Thread Brian Candler
I should add: when I Click Here for Advanced and MLPPP options (takes 
me to interfaces_ppps_edit.php) I don't see any settings relating to 
MTU/MRU.


But in the HTML there are 6 hidden tables.

tr style=display: none id=link0
td width=22% valign=top id=linklabel0 class=vncellLink 
Parameters (bce0)/td

  .. table with rows for bandwidth, MTU, MRU, MRRU
/td
/tr

  .. repeat for link1 to link5, although they don't show (bce0)

It seems to me that at least the link0 entry should be shown. I don't 
see any MTU/MRU/MRRU options even if I select two ethernet interface 
under Link interface(s)


Maybe some Javascript which is supposed to be un-hiding them isn't doing 
so? But I don't see any errors in Javascript console. I'm using Chrome 
32.0.1700.102 under OSX.


I have also tried Firefox 26.0 - no difference.

Regards,

Brian.

___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Setting PPPoE MTU

2014-01-29 Thread Brian Candler

On 29/01/2014 11:20, Brian Candler wrote:


Maybe some Javascript which is supposed to be un-hiding them isn't 
doing so? But I don't see any errors in Javascript console. I'm using 
Chrome 32.0.1700.102 under OSX.

Hah, found it.

--- /usr/local/ppps_edit.js.orig2013-09-11 23:25:50.0 +0100
+++ /usr/local/www/javascript/interfaces_ppps_edit/ppps_edit.js 
2014-01-29 11:33:30.0 +

@@ -30,7 +30,7 @@
 advanced = #advanced_ + j.toString();
 jQuery(advanced).show();
 }
-jQuery('#adv_show').html = 1;
+jQuery('#adv_show').html(1);
 show_hide_linkfields(select_list);
 } else {
 jQuery('#advanced_').show();
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Setting PPPoE MTU

2014-01-29 Thread Chris Bagnall

On 29/1/14 10:57 am, Brian Candler wrote:

My uplink is using PPPoE into a DSL router in bridged mode. The
connectivity is fine, but the MTU is 1492 and I would like to bump this
up to 1500 (assuming the router will take ethernet frames which are 1508
bytes).


I looked at this about a year ago when we started getting clients with 
FTTC connections here in the UK (which are basically VDSL), and at the 
time it looked like RFC4638 support (baby jumbos) wasn't supported in 
pfSense.


I've just done a quick search for 'pfSense RFC4638' and found this 
thread from May last year:

https://forum.pfsense.org/index.php?topic=61876.0

which seems to indicate that the underlying BSD support is now there. 
Whether that means 2.1 supports RFC4638 is something perhaps one of the 
devs can answer?


As an aside, I wonder if it might be possible to 'bodge' it by 
increasing MTU for the parent interface. So, looking at one of of my 
pfSense's, for example, the PPPoE interface is on vr2, so I'd create a 
new interface (after creating the PPPoE interface on WAN) called 
'WANModem', and given that interface an MTU of 1508. Then go back to the 
PPPoE WAN page and increase the MTU there to 1500.


Creating a 'WANModem' or similar interface also allows you access to the 
web interface on your DSL modem, which can be useful for checking line 
sync speeds and the like, which might otherwise not be visible to a 
PPPoE connection.


Kind regards,

Chris
--
This email is made from 100% recycled electrons
___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Setting PPPoE MTU

2014-01-29 Thread Brian Candler

On 29/01/2014 11:37, Brian Candler wrote:

On 29/01/2014 11:20, Brian Candler wrote:


Maybe some Javascript which is supposed to be un-hiding them isn't 
doing so? But I don't see any errors in Javascript console. I'm using 
Chrome 32.0.1700.102 under OSX.

Hah, found it.

Raised as https://redmine.pfsense.org/issues/3416

Now this just leaves MTU behaviour. I find that I can happily set the 
MTU to something *lower*, e.g. setting 1480 either on the main WAN page 
or on the per-link settings gives me pppoe0 with MTU 1480.


However if I try to set MTU 1500 I still get pppoe0 with MTU 1492.

Checking /var/etc/mpd_wan.conf I find

set link mtu 1500

so the value I entered has ended up in the right place. Something else 
is clamping MTU or MRU to 1492.


___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list


Re: [pfSense] Setting PPPoE MTU

2014-01-29 Thread Brian Candler

On 29/01/2014 11:46, Chris Bagnall wrote:


I looked at this about a year ago when we started getting clients with 
FTTC connections here in the UK (which are basically VDSL), and at the 
time it looked like RFC4638 support (baby jumbos) wasn't supported in 
pfSense.



I'm in the UK too. The line I'm discussing is ADSL on Plusnet. (*)

I've just done a quick search for 'pfSense RFC4638' and found this 
thread from May last year:

https://forum.pfsense.org/index.php?topic=61876.0


That's useful, thanks.

Doing a tcpdump on the WAN interface, after the initial PADI exchange 
(which doesn't include a PPP-Max-Payload tag) I see that at the LCP 
stage, pfsense is offering MRU=1492, whilst the BRAS side is offering 
MRU=32725


Regards,

Brian.

(*) At home I have FTTC on Plusnet, and that definitely works with 
MTU=1500. However I'm using their provided router, which does PPPoE to 
the BT VDSL modem. I'd like to be able to change to pfsense at some point.


___
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list