Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow NAT Gentoo 1.4_rc2
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
cynninge
n00b
n00b


Joined: 03 Jul 2002
Posts: 31

PostPosted: Tue Feb 25, 2003 5:47 am    Post subject: Slow NAT Gentoo 1.4_rc2 Reply with quote

I setup NAT on my old Dell Inspiron 7000 Laptop with two PCMCIA NIC's from intel etherexpress pro/100 mobile adapter 32-bit Cardbus and the NAT box is networked to my net thru a hub with at present one other connection
Now the problem is that without the NAT in place my desktop usually gets 4.6Mbps to cablevision's speedcheck servers

But turn the NAT on and voila the speed drops down to .5Mbps now that's a whopping drop.
The NAT how-to from TLDP.org seems to say that a 486 with 16 megs of ram can easily handle 1.5Mbps connections

this laptop is a frigging P2 300Mhz and 384Megs of ram dedicated system that may eventually run a web in addition to being a NAT box.

Any idea which ethernet driver module i oughta compile into the kernel? i used the etherexpress driver and i selected all the drivers under pcmcia i figure one oughta stick.

Any idea where the bottleneck is guys?

I don't want to go purchase a router from linksys if i dont have to :-D
Back to top
View user's profile Send private message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Tue Feb 25, 2003 7:15 pm    Post subject: Re: Slow NAT Gentoo 1.4_rc2 Reply with quote

cynninge wrote:

Any idea where the bottleneck is guys?


does ifconfig -a at NAT/gateway give you any RX/TX errors/dropped/overruns/frame/carrier ?

It could suggest broken NIC or wrong drivermodule...
Back to top
View user's profile Send private message
cynninge
n00b
n00b


Joined: 03 Jul 2002
Posts: 31

PostPosted: Wed Feb 26, 2003 8:41 pm    Post subject: Reply with quote

i tried changing the drivers and recompiling the kernel... maybe cardbus adapters cant handle that kind of bandwidth?
Back to top
View user's profile Send private message
cynninge
n00b
n00b


Joined: 03 Jul 2002
Posts: 31

PostPosted: Wed Feb 26, 2003 8:41 pm    Post subject: Reply with quote

i tried changing the drivers and recompiling the kernel... maybe cardbus adapters cant handle that kind of bandwidth?
Back to top
View user's profile Send private message
cynninge
n00b
n00b


Joined: 03 Jul 2002
Posts: 31

PostPosted: Tue Mar 04, 2003 3:01 am    Post subject: Reply with quote

does anyone know a way to figure out how much traffic i can push through each one of the cards? I need to figure out why my PC 100 cards are delivering nowhere near 100Mbps sec and only a measly .5 Mbps


my network is connected as follows.
cable modem--->Latptop eth0--->NAT--->Laptop eth1--->
HUB uplink port-->Port 1->Desktop1
-->Port 2->Desktop2(off while testing NAT)
-->Port 3->Desktop3(off while testing NAT)
-->Port 4->WLAN bridge(off while testing NAT)
Back to top
View user's profile Send private message
cynninge
n00b
n00b


Joined: 03 Jul 2002
Posts: 31

PostPosted: Tue Mar 04, 2003 3:03 am    Post subject: Reply with quote

no tx/rx errors sorry i had a discrete math exam and some programming assignments to do between didnt get a chance to reply to your message
Back to top
View user's profile Send private message
cynninge
n00b
n00b


Joined: 03 Jul 2002
Posts: 31

PostPosted: Mon Mar 10, 2003 7:02 am    Post subject: Reply with quote

ok here's some new info.. i borrowed a friend's router and set it up and i get 5 mbps directly into the laptop wow! how is a 75 mhz strong arm beating my p2 ?

well after checking the config on the router it says the connection between the router and the 3 com modem registers are 10 Mbps/half duplex what mode? i can't tell
3 com home connect cable modem for optimum online in NY

and mii-diag with the router shows that the cards negotiate with the router and chose 100baseTx-FD media type

now when i plug the same cards into the cable box
mii-diag cant figure out what speed the card is in or what media it is using. although we do get some really slow network connections. The cable box apparently is not autonegotiating with the card and this is causing the card to go wonkers

I tried using mii-diag -F 10baseT-HD for half duplex like i saw in the router screen but this doesnt help...
I'm out of ideas... the difference is that my desktop cards dont seem to have this problem although the pcmcia nics do.

Any solutions guys? a little help here...
Back to top
View user's profile Send private message
cynninge
n00b
n00b


Joined: 03 Jul 2002
Posts: 31

PostPosted: Mon Mar 10, 2003 5:23 pm    Post subject: Reply with quote

dont rush in with the replies!!
i have a tulip_cb and cb_enabler listed as modules
how do i go about setting it to use 10baseT half duplex?
ifconfig eth0 media 10baseT doesnt work
i tried adding the following lines to /etc/modules.d/aliases

Code:
alias eth0 tulip_cb
options tulip_cb options=12

alias eth0 tulip
options tulip options=12


didnt work. i'm running out of ideas...
Back to top
View user's profile Send private message
cynninge
n00b
n00b


Joined: 03 Jul 2002
Posts: 31

PostPosted: Thu Mar 13, 2003 5:13 am    Post subject: Reply with quote

8) Just putting a heartbeat on this post so that it doesnt get buried and unanswered in the list of other posts. I really need help with this. I am at my wits end. I am not going to give up to this stupid machine after putting in so much time on it.
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