Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2001 00:15:17 -0600 (CST)
From:      Nick Rogness <nick@rogness.net>
To:        Mauro Dias <localhost@dsgx.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Ethernet Problem.
Message-ID:  <Pine.BSF.4.21.0111290015050.19251-100000@cody.jharris.com>
In-Reply-To: <004001c17891$228950a0$0200a8c0@mdrjr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Nov 2001, Mauro Dias wrote:

Try a different ethernet card...


> Hi,
> 
> I have two ethernet adapter, two Realtek 8139c
> 
> rl0 -> interface that is connected to the ADSL Modem.
> rl1 -> interface connected to my HUB (10Mbit)
> tun0 -> interface created by ppp (PPPoE)
> 
> 
> The problem:
> *ONLY* ethernet rl1 is slow i can't get more than 8Kbytes/s
> 
> 
> 
> ifconfig:
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet6 fe80::2e0:7dff:fe99:9db%rl0 prefixlen 64 scopeid 0x1
>         ether 00:e0:7d:99:09:db
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         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::2c0:dfff:fe0a:c652%rl1 prefixlen 64 scopeid 0x2
>         ether 00:c0:df:0a:c6:52
>         media: Ethernet 10baseT/UTP
>         status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>         inet 127.0.0.1 netmask 0xff000000
> tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
>         inet6 fe80::2e0:7dff:fe99:9db%tun0 prefixlen 64 scopeid 0x7
>         inet 200.158.34.63 --> 200.206.156.227 netmask 0xffffff00
>         Opened by PID 135
> 
> my firewall rules:
> 00100   52800   31457209 divert 8668 ip from any to any via tun0
> 00200 3646325 3135705179 allow ip from 192.168.0.0/24 to any
> 00300       0          0 allow ip from 192.168.0.0/24 to 192.168.0.1
> 00400      97       5046 allow tcp from any to 200.158.34.63 113
> 00500       0          0 deny tcp from any to 200.158.34.63 139
> 00600       0          0 deny tcp from any to 200.158.34.63 22
> 00700       0          0 deny tcp from any to 200.158.34.63 1021
> 00800       0          0 deny tcp from any to 200.158.34.63 2049
> 00900       0          0 deny tcp from any to 200.158.34.63 1022
> 01000       0          0 deny tcp from any to 200.158.34.63 1023
> 01100       0          0 deny tcp from any to 200.158.34.63 111
> 01200       0          0 deny udp from any to 200.158.34.63 138
> 01300       0          0 deny udp from any to 200.158.34.63 137
> 01400       0          0 deny udp from any to 200.158.34.63 67
> 01500       0          0 deny udp from any to 200.158.34.63 1004
> 01600       0          0 deny udp from any to 200.158.34.63 2049
> 01700       0          0 deny udp from any to 200.158.34.63 1016
> 01800       0          0 deny udp from any to 200.158.34.63 1021
> 01900       0          0 deny udp from any to 200.158.34.63 111
> 02000     444     178973 deny udp from any to 200.158.34.63 1024
> 02100       0          0 deny udp from any to 200.158.34.63 514
> 65535   71929   48645633 allow ip from any to any
> 
> natd.conf file:
> interface tun0
> dynamic yes
> same_ports yes
> use_sockets yes
> redirect_port tcp 192.168.0.2:6000 6000
> 
> 
> 
> Does anyone have a idea ?
> 
> 
> Thank you.
> 
> Best Regards,
> Mauro Dias Ribeiro Junior.
> 
> 

Nick Rogness <nick@rogness.net>
 - Keep on Routing in a Free World...
  "FreeBSD: The Power to Serve!"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0111290015050.19251-100000>