Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pppoe and mtu [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Dec 07, 2012 1:29 pm    Post subject: pppoe and mtu [solved] Reply with quote

My home network is configured in the following way:

modem -- eth1 (pppoe) --- eth0 --- wireless network

all wireless clients need to set by hand mtu=1492 to browse internet.
No, I bought a stupid close device which is unable to set mtu (and which does not read option interface-mtu from dhcpd) by itself.
Anyway, this device browses correctly if connected to internet through a commercial wireless router.

what should I do to browse with my device?
_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Fri Dec 07, 2012 3:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Dec 07, 2012 2:45 pm    Post subject: Reply with quote

Instead of messing with all clients, use this iptables rule on the machine than runs pppoe:
Code:
-I FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Dec 07, 2012 3:05 pm    Post subject: Reply with quote

wonderfull.
my previous iptables line was no working.

but now the problem is solved.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum