Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
проблемы в соеденении с некоторыми хостами [solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
unaos
n00b
n00b


Joined: 06 Apr 2006
Posts: 64
Location: brovary,UA

PostPosted: Mon May 04, 2009 2:51 pm    Post subject: проблемы в соеденении с некоторыми хостами [solved) Reply with quote

Добрый день. Установил новенький роутер на базе Дженту, который хорошо работает, только с одной незадачей:

не устанавливается соеденение с некоторыми хостами, например mail.ru

Quote:
wget -d mail.ru
DEBUG output created by Wget 1.11.4 on Windows-MSVC.

--2009-05-04 17:38:10-- http://mail.ru/
Resolving mail.ru... seconds 0.00, 194.67.57.26
Caching mail.ru => 194.67.57.26
Connecting to mail.ru|194.67.57.26|:80... seconds 0.00, connected.
Created socket 1892.
Releasing 0x00ab2770 (new refcount 1).

---request begin---
GET / HTTP/1.0
User-Agent: Wget/1.11.4
Accept: */*
Host: mail.ru
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...


это прямо по эзернету. вместе с тем, если поднять pptp тунель, все гуд.

eth0 Link encap:Ethernet HWaddr 00:21:91:8b:a1:6b
inet addr:ххx Bcast:ххx Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2236616 errors:0 dropped:0 overruns:0 frame:0
TX packets:1727929 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1966296248 (1.8 GiB) TX bytes:378736195 (361.1 MiB)
Interrupt:11 Base address:0xe400

eth1 Link encap:Ethernet HWaddr 00:02:44:3f:c4:4a
inet addr:ххx Bcast:ххx Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:593465 errors:0 dropped:0 overruns:0 frame:0
TX packets:15327 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:47392826 (45.1 MiB) TX bytes:3787857 (3.6 MiB)
Interrupt:10 Base address:0xdc00

eth2 Link encap:Ethernet HWaddr 00:02:44:bf:fb:5d
inet addr:ххx Bcast:ххx Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1343751 errors:0 dropped:0 overruns:0 frame:0
TX packets:2125354 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:1000
RX bytes:325053886 (309.9 MiB) TX bytes:1893947590 (1.7 GiB)
Interrupt:10 Base address:0xe000


ppp0 Link encap:Point-to-Point Protocol
inet addr:ххx P-t-P:ххx Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1464 Metric:1
RX packets:2131801 errors:0 dropped:0 overruns:0 frame:0
TX packets:1347140 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1845849300 (1.7 GiB) TX bytes:292714576 (279.1 MiB)

проблемный интерфейс eth2, с остальных пока не пробовал. ppp0, соответственно, uplink :)

kernel config -> http://pastebin.ch/1306

Chain POSTROUTING (policy ACCEPT 33777 packets, 2196K bytes)
pkts bytes target prot opt in out source destination
355K 27M MASQUERADE all -- * ppp0 172.16.72.0/24 0.0.0.0/0
142 8289 SNAT all -- * eth2 int.lan.subnet.0/24 0.0.0.0/0 to:ext.lan.ip.xx
10681 1089K MASQUERADE all -- * ppp0 172.16.74.0/24 0.0.0.0/0

вот такие пироги
_________________
house of mystic lies


Last edited by unaos on Tue May 05, 2009 9:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Aid
n00b
n00b


Joined: 04 May 2009
Posts: 1
Location: Russia/Ivanvo

PostPosted: Mon May 04, 2009 4:59 pm    Post subject: Reply with quote

была такаяже проблема, в /etc/ppp/peers/prov выставил другие mtu и mru
_________________
memento mortis
Back to top
View user's profile Send private message
unaos
n00b
n00b


Joined: 06 Apr 2006
Posts: 64
Location: brovary,UA

PostPosted: Tue May 05, 2009 9:47 am    Post subject: Reply with quote

PPTP MTU WORKAROUND

iptables -I FORWARD -o ppp0 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
_________________
house of mystic lies
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian 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