On Sun, 22 May 2005, Adam Gleave wrote:

> My question is, do you set the mtu on the box NAT'ing (fxp0, in this
> case), the box connecting to it, or both?

  If you are doing NAT and running pf, why not use the scrub feature 
 instead to adjust the TCP MSS? 

 It will work much better for you. Many pppoe/DSL widgets/access
 concentrators do this anyways. As a test, tcpdump an outgoing connection
 to a host that you can watch the MSS arriving on.

 Many providers do this in order to get around all of the MTU adjustment 
 headaches for CPE gear.

> Any ideas why it connects, authenticates, terminates, connects again
> and then stays connected? This isn't a one of, it seems to happen
> quite consistently EVERY time.

 Turn on debugging on the pppoe interface, see if it helps with any more 
 information.

 Note that in-kernel pppoe is still quite new and may have a few quirks
 under the hood. I would see if debug produces anything. Do you have 
 access to the other side? Do you know if you get an IP address from the 
 provider OK ? 


cheers,
--
jason

Reply via email to