Date: Thu, 29 Nov 2001 02:48:47 -0200 From: "Mauro Dias" <localhost@dsgx.org> To: <freebsd-questions@FreeBSD.ORG> Subject: Ethernet Problem. Message-ID: <004001c17891$228950a0$0200a8c0@mdrjr.net>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_003D_01C17880.5E264D40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=3D8843<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=3D8843<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=3D8049<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=3D8051<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. ------=_NextPart_000_003D_01C17880.5E264D40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>I have two ethernet adapter, two = Realtek=20 8139c</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>rl0 -> interface that is connected = to the ADSL=20 Modem.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>rl1 -> interface connected to my HUB = (10Mbit)</FONT></DIV> <DIV><FONT face=3DArial size=3D2>tun0 -> interface created by ppp=20 (PPPoE)</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>The problem:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>*ONLY* ethernet rl1 is slow i can't get = more than=20 8Kbytes/s</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>ifconfig:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>rl0:=20 flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu=20 1500<BR> inet6=20 fe80::2e0:7dff:fe99:9db%rl0 prefixlen 64 scopeid=20 0x1<BR> ether=20 00:e0:7d:99:09:db<BR> media: = Ethernet=20 autoselect (100baseTX=20 <full-duplex>)<BR> = status:=20 active<BR>rl1: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu=20 1500<BR> inet 192.168.0.1 = netmask=20 0xffffff00 broadcast = 192.168.0.255<BR> =20 inet6 fe80::2c0:dfff:fe0a:c652%rl1 prefixlen 64 scopeid=20 0x2<BR> ether=20 00:c0:df:0a:c6:52<BR> media: = Ethernet=20 10baseT/UTP<BR> status: = active<BR>lo0:=20 flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu=20 16384<BR> inet6 ::1 prefixlen=20 128<BR> inet6 fe80::1%lo0 = prefixlen 64=20 scopeid 0x3<BR> inet 127.0.0.1 = netmask=20 0xff000000<BR>tun0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> = mtu=20 1492<BR> inet6=20 fe80::2e0:7dff:fe99:9db%tun0 prefixlen 64 scopeid=20 0x7<BR> inet 200.158.34.63 = -->=20 200.206.156.227 netmask = 0xffffff00<BR> =20 Opened by PID 135<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>my firewall rules:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>00100 52800 = 31457209 divert=20 8668 ip from any to any via tun0<BR>00200 3646325 3135705179 allow ip = from=20 192.168.0.0/24 to any<BR>00300 =20 0 0 allow ip from=20 192.168.0.0/24 to 192.168.0.1<BR>00400 =20 97 5046 allow tcp from any to = 200.158.34.63=20 113<BR>00500 =20 0 0 deny tcp from = any to=20 200.158.34.63 139<BR>00600 =20 0 0 deny tcp from = any to=20 200.158.34.63 22<BR>00700 =20 0 0 deny tcp from = any to=20 200.158.34.63 1021<BR>00800 =20 0 0 deny tcp from = any to=20 200.158.34.63 2049<BR>00900 =20 0 0 deny tcp from = any to=20 200.158.34.63 1022<BR>01000 =20 0 0 deny tcp from = any to=20 200.158.34.63 1023<BR>01100 =20 0 0 deny tcp from = any to=20 200.158.34.63 111<BR>01200 =20 0 0 deny udp from = any to=20 200.158.34.63 138<BR>01300 =20 0 0 deny udp from = any to=20 200.158.34.63 137<BR>01400 =20 0 0 deny udp from = any to=20 200.158.34.63 67<BR>01500 =20 0 0 deny udp from = any to=20 200.158.34.63 1004<BR>01600 =20 0 0 deny udp from = any to=20 200.158.34.63 2049<BR>01700 =20 0 0 deny udp from = any to=20 200.158.34.63 1016<BR>01800 =20 0 0 deny udp from = any to=20 200.158.34.63 1021<BR>01900 =20 0 0 deny udp from = any to=20 200.158.34.63 111<BR>02000 = 444 =20 178973 deny udp from any to 200.158.34.63=20 1024<BR>02100 =20 0 0 deny udp from = any to=20 200.158.34.63 514<BR>65535 71929 48645633 allow = ip from=20 any to any<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>natd.conf file:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>interface tun0<BR>dynamic = yes<BR>same_ports=20 yes<BR>use_sockets yes<BR>redirect_port tcp 192.168.0.2:6000 = 6000</FONT></DIV> <DIV><FONT face=3DArial size=3D2><BR></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Does anyone have a idea ?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Thank you.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Best Regards,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Mauro Dias Ribeiro Junior.</FONT></DIV> <DIV><FONT face=3DArial size=3D2> </DIV></FONT></BODY></HTML> ------=_NextPart_000_003D_01C17880.5E264D40-- 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?004001c17891$228950a0$0200a8c0>