Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
routing problem
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
marchino
n00b
n00b


Joined: 16 Dec 2002
Posts: 70
Location: /home/marchino

PostPosted: Mon Apr 14, 2003 12:19 pm    Post subject: routing problem Reply with quote

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
View user's profile Send private message
cyfred
Retired Dev
Retired Dev


Joined: 23 Aug 2002
Posts: 596

PostPosted: Mon Apr 14, 2003 1:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
marchino
n00b
n00b


Joined: 16 Dec 2002
Posts: 70
Location: /home/marchino

PostPosted: Mon Apr 14, 2003 10:16 pm    Post subject: Reply with quote

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
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