[FUGSPBR] Rede lenta, sera a rtl8139 ??? ou outro setting ?
Marcelo Pereira
criar.marcelo em internext.com.br
Seg Mar 18 04:48:44 BRT 2002
Cara, tive o mesmo problema
com essa placa. O problema estah
nela mesmo. Troquei por uma 3c509
e ficou bala. Antes alem do trafego
estar por volta de 170kbits/s, o mesmo
para va por ateh 15 segundos e depois
retornava. Troque-a o
+ rapido possivel. Ahh, o problema
naum estah no FreeBSD+rtl8139,
isso acontece com qualquer SO. Aparente-
mente o problema estah na incompatibilidade
dessa placa com alguns HUBs e Switches.
aT+
craker maudoso wrote:
> Ola,
>
> Tenho um free4.4 com natd para uma rede interna,
> no servidor sao duas placas rtl8139.
>
> A transferencia de arquivos dos mircros clientes
> para o servidor(ip por DHCP) fica lenta, nao passa de 150 kbits/s.
> O interessante é que a transferencia fica lenta somente
> entre as maquinas clientes e o servidor, para
> transferencias de fora da rede, fica rapido.
>
> No link abaixo tem um caso sobre lentidao na 8139:
>
> http://profile.sh/syswiki/index.php?Why%20do%20I%20have%20Very%20low%20transfer%20speeds%20with%20Realtek%208139%3F
>
> Estou enviando abaixo o rc.conf, rc.ipfw e ifconfig, se alguem
> enxergar algum erro que justifique essa lentidao nas transferencias
> (ftp, www) entre o servidor e as maquinas da rede interna, eu agradeco
> muitissimo.
>
> --------------------------------------------------------------------
> localhost# cat /etc/rc.conf
>
> gateway_enable="YES"
> hostname="localhost.rjnet.com.br"
> ifconfig_rl0="DHCP"
> ifconfig_rl1="inet 192.168.0.1 netmask 255.255.255.0"
> kern_securelevel_enable="NO"
> nfs_reserved_port_only="YES"
> sendmail_enable="NO"
> sshd_enable="YES"
> inetd_enable="NO"
> firewall_enable="YES"
> firewall_script="/etc/rc.ipfw"
> natd_enable="YES"
> natd_interface="rl0"
> #natd_flags="-s -interface=rl0"
>
> ----------------------------------------------------------------
> localhost# cat /etc/rc.ipfw
> # rc.ipfw - Firewall Rules
>
> # Suck in the configuration variables.
> if [ -r /etc/defaults/rc.conf ]; then
> . /etc/defaults/rc.conf
> source_rc_confs
> elif [ -r /etc/rc.conf ]; then
> . /etc/rc.conf
> fi
>
> # Firewall program
> fwcmd="/sbin/ipfw"
>
> # Outside interface network and netmask and ip
> oif="rl0"
>
> # Inside interface network and netmask and ip
> iif="rl1"
> inet="192.168.0.0"
> imask="255.255.255.0"
> iip="192.168.0.1"
>
> # Flush previous rules
> ${fwcmd} -f flush
>
> # Allow loopbacks, deny imposters
> ${fwcmd} add 100 pass all from any to any via lo0
>
> ${fwcmd} add deny tcp from any to any 137-139 via ${oif}
> ${fwcmd} add deny udp from any to any 137-139 via ${oif}
> ${fwcmd} add deny tcp from ${inet}:${imask} to any 137-139 via ${oif} out
> ${fwcmd} add deny udp from ${inet}:${imask} to any 137-139 via ${oif} out
> ${fwcmd} add deny tcp from any to ${inet}:${imask} 137-139 via ${oif} in
> ${fwcmd} add deny udp from any to ${inet}:${imask} 137-139 via ${oif} in
>
> ${fwcmd} add divert natd all from any to any via ${natd_interface}
>
> ${fwcmd} add pass tcp from any to any established
> ${fwcmd} add pass all from any to any via ${iif}
> ${fwcmd} add 65000 pass all from any to any via ${oif}
>
> localhost# ipfw list
> 00100 allow ip from any to any via lo0
> 00200 deny tcp from any to any 137-139 via rl0
> 00300 deny udp from any to any 137-139 via rl0
> 00400 deny tcp from 192.168.0.0/24 to any 137-139 out xmit rl0
> 00500 deny udp from 192.168.0.0/24 to any 137-139 out xmit rl0
> 00600 deny tcp from any to 192.168.0.0/24 137-139 in recv rl0
> 00700 deny udp from any to 192.168.0.0/24 137-139 in recv rl0
> 00800 divert 8668 ip from any to any via rl0
> 00900 allow tcp from any to any established
> 01000 allow ip from any to any via rl1
> 65000 allow ip from any to any via rl0
> 65535 deny ip from any to any
>
> --------------------------------------------------------------------
> localhost# ifconfig
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet6 fe80::2e0:7dff:fec3:5580%rl0 prefixlen 64 scopeid 0x1
> inet 10.0.1.8 netmask 0xffff0000 broadcast 10.0.255.255
> ether 00:e0:7d:c3:55:80
> media: Ethernet autoselect (none)
> status: active
> rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
> inet6 fe80::202:44ff:fe31:2c08%rl1 prefixlen 64 scopeid 0x2
> ether 00:02:44:31:2c:08
> media: Ethernet autoselect (none)
> status: active
> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
> inet 127.0.0.1 netmask 0xff000000
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> faith0: flags=8000<MULTICAST> mtu 1500
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
> ----
> Para sair da lista envie um e-mail para majordomo em fugspbr.org
> com as palavras "unsubscribe fugspbr" no corpo da mensagem.
----
Para sair da lista envie um e-mail para majordomo em fugspbr.org
com as palavras "unsubscribe fugspbr" no corpo da mensagem.
Mais detalhes sobre a lista de discussão freebsd