Re: ADSL <-> Debian Etch <-> Wi-Fi: correct MTU|MRU
Mike Gusev -> debian-russian@lists.debian.org @ Mon, 12 Feb 2007 16:40:25 +0300:
MG> Есть debian etch с двумя сетевухами. в одной торчит ADSL-модем, в
MG> другой - Wi-Fi точка доступа. Удаленная машинка с Оффтопиком XP через
MG> маскарадинг половину сайтов видит, половину - нет. (google видит, yandex
MG> не видит). Проблема решается установкой корректных mtu|mru? и каких
MG> именно? Спасибо.
Я глянул у себя - на ppp0 выставлено mtu 1492 и (у меня там woody, и
соответственно, не rp-pppoe, а отдельная программа pppoe)
# Use the pppoe program to send the ppp packets over the Ethernet link
# This line should work fine if this computer is the only one accessing
# the Internet through this DSL connection. This is the right line to use
# for most people.
pty "/usr/sbin/pppoe -I eth1 -T 240 -m 1452"
# If the computer connected to the Internet using pppoe is not being used
# by other computers as a gateway to the Internet, you can try the following
# line instead, for a small gain in speed:
#pty "/usr/sbin/pppoe -I eth1 -T 80"
# An even more conservative version of the previous line, if things
# don't work using -m 1452...
#pty "/usr/sbin/pppoe -I eth1 -T 80 -m 1412"
По-моему, комментарии сами за себя говорят. Нет, я их не писал, они там
так и были.
--
Artem Chuprina
RFC2822: <ran{}ran.pp.ru> Jabber: ran@jabber.ran.pp.ru
Секретный ключ, известный более чем одной персоне, называется публичным.
Reply to: