ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] pppoe & Message too long
@ 2015-06-01 12:07 altconf
  2015-06-25 10:23 ` Sergey
    0 siblings, 2 replies; 3+ messages in thread
From: altconf @ 2015-06-01 12:07 UTC (permalink / raw)
  To: sysadmins

Добрый день!
Не держится pppoe.

Есть
[root@gate ~]# uname -a
Linux gate.localdomain 3.10.32-std-def-alt1 #1 SMP Mon Feb 24 09:17:28 
UTC 2014 x86_64 GNU/Linux

[root@gate ~]# cat /etc/redhat-release
ALT Linux 7.0.4 Centaurus  (Pholus)

[root@gate ppp0]# cat pppoptions
noipdefault
noauth
default-asyncmap
hide-password
mtu 1492
mru 1492
noaccomp
noccp
nobsdcomp
nodeflate
nopcomp
novj
novjccomp
user login1111
lcp-echo-interval 20
lcp-echo-failure 3

enp1s10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
state UNKNOWN qlen 1000
     link/ether 00:c0:df:10:f4:98 brd ff:ff:ff:ff:ff:ff
     inet6 fe80::2c0:dfff:fe10:f498/64 scope link
        valid_lft forever preferred_lft forever

Соединяюсь с провайдером и всё работает замечательно пока из локалки не 
начинают выходить в инет.
После чего
Jun  1 13:09:08 gate pppoe[7522]: send (sendPacket): Message too long
Jun  1 13:09:08 gate pppd[7526]: Modem hangup
Jun  1 13:09:08 gate pppd[7526]: Connect time 1.6 minutes.
Jun  1 13:09:08 gate pppd[7526]: Sent 33232 bytes, received 29531 bytes.
Jun  1 13:09:08 gate pppd[7526]: Connection terminated.
Jun  1 13:09:08 gate avahi-daemon[4502]: Withdrawing workstation service 
for ppp0.
Jun  1 13:09:09 gate pppd[7526]: Script /etc/ppp/ip-down finished (pid 
7778), status = 0x1
Jun  1 13:09:13 gate pppd[7526]: Exit.

MTU вроде как положено для рррое1492.
Пробовал
$IPTABLES -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 
(разные значения)
IPTABLES -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS 
--clamp-mss-to-pmtu
не помогло.
Провайдер Ростелеком.
Подскажите куда посмотреть.
Спасибо.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] pppoe & Message too long
  2015-06-01 12:07 [Sysadmins] pppoe & Message too long altconf
@ 2015-06-25 10:23 ` Sergey
    1 sibling, 0 replies; 3+ messages in thread
From: Sergey @ 2015-06-25 10:23 UTC (permalink / raw)
  To: sysadmins

On Monday 01 June 2015, altconf@gmail.com wrote:

> Соединяюсь с провайдером и всё работает замечательно пока из локалки
> не начинают выходить в инет.
> После чего
> Jun  1 13:09:08 gate pppoe[7522]: send (sendPacket): Message too long
> Jun  1 13:09:08 gate pppd[7526]: Modem hangup

Вот что пишут: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=309384

То есть, надо pppoe убрать, а rp-pppoe.so (пакет ppp-pppoe) установить.
ppp не через etcnet поднимается, да ? А то у меня, вчера, вообще не
завелось с sbin/pppoe - etcnet на rp-pppoe.so переделали:
http://bugzilla.altlinux.org/27108#c21

-- 
С уважением, Сергей.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] pppoe & Message too long
  @ 2015-07-06 12:39     ` Sergey
  0 siblings, 0 replies; 3+ messages in thread
From: Sergey @ 2015-07-06 12:39 UTC (permalink / raw)
  To: ALT Linux sysadmins' discussion

On Monday 06 July 2015, altconf@gmail.com wrote:

> именно "Потому что не в filter, а в mangle надо"  это я пропустил,
> как mangle сделал всё заработало. Странно почему именно с ростелеком
> такая беда. 

Не очень понятно, почему ppp валился от этого. По идее, не должен.
Собственно, с Path MTU Discovery Black Hole сталкиваться приходилось,
но не помню, чтобы это влияло на стабильность соединения.

-- 
С уважением, Сергей.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-06 12:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-01 12:07 [Sysadmins] pppoe & Message too long altconf
2015-06-25 10:23 ` Sergey
2015-07-06 12:39     ` Sergey

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git