View previous topic :: View next topic |
Author |
Message |
marchino n00b
Joined: 16 Dec 2002 Posts: 70 Location: /home/marchino
|
Posted: Mon Apr 14, 2003 12:19 pm Post subject: routing problem |
|
|
I'm installing a new gentoo machine, using my own gentoo box as a internet gateway. So i reconfigured my 2.4.20-gentoo-r1 kernel to support iptables and ip forwarding.
Note that I've a DSL connection on eth0 (via pppoe) and the second box is connected via eth1.
I've set up MASQUERADING for my ppp0 and the strange thing I cannot understand is that from my second box I can resolve IPs, ping and also do an emerge sync, but when I try to dl something via emerge nothing works. I've tried both http and ftp servers but same result:
Code: |
root # emerge proftpd
Calculating dependencies ...done!
>>> emerge (1 of 2) net-libs/libpcap-0.7.1-r1 to /
>>> Resuming download...
>>> Downloading http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/libpcap-0.7.1.tar.gz
--14:12:34-- http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/libpcap-0.7.1.tar.gz
=> `/usr/portage/distfiles/libpcap-0.7.1.tar.gz'
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/libpcap-0.7.1.tar.gz [following]
--14:12:35-- http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/libpcap-0.7.1.tar.gz
=> `/usr/portage/distfiles/libpcap-0.7.1.tar.gz'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response...
|
and it waits forever. Tried also wget by hand and same result.
I cannot understand what's wrong...
Thanks for any advice
marchino |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Mon Apr 14, 2003 1:00 pm Post subject: |
|
|
As a thought have you tried using one of the mirrors for distfiles that are around.
The ibiblio one usually does get rather conjested at times due to the large number of people using it.
http://www.gentoo.org/main/en/mirrors.xml |
|
Back to top |
|
|
marchino n00b
Joined: 16 Dec 2002 Posts: 70 Location: /home/marchino
|
Posted: Mon Apr 14, 2003 10:16 pm Post subject: |
|
|
I've solved the problem changing in file /etc/ppp/pppoe.conf
CLAMPMSS=1412
instead of
CLAMPMSS=no
Probably rsync generates shorter packets than ftp/http protocols and that was the reason it was working. Same story for ICMP/ping.
Bye! |
|
Back to top |
|
|
|