| 
 Титла: Проблем с мрежата
 Публикувано от: vladi4ko в Jun 02, 2007, 15:04
 
 Имам много странен проблем при копиране от самби трафика е от порядъка на 400кб в най добрия случай стига до 1,5мб странното е че когато пусна етхстатус интерфейса през който тегла и скороста се вдига до максималната в случая до 2,77мб  копирането го правя през уаерлес с тоталкопи стига до 3,1-3,3мб през ланки положението е малко по добре при 100мб ланка 3мб с етхстатус стига до максималната а при 1000мб ланка от 8мб стига на 30-40мб за да се получи номера с етхстатус  трябва да се логна от машината която тегла опитах се да ги стартирам направо на машината ама ефект няма шарвам мрежата с  iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -j MASQUERADE на фтп хттп трафика е както трябваhttp://www.bulclima.net/1.jpghttp://www.bulclima.net/2.jpg дистрото е слакуаре и е ъпгрейдван от 10.2 до кърент | Примерен код |  | root@bulclima:~# uname -a
 Linux bulclima 2.6.21.3-smp #2 SMP Thu May 24 21:09:15 CDT 2007 i686 pentium4 i386 GNU/Linux
 root@bulclima:~# lspci
 00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
 00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 02)
 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
 00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
 00:1f.2 SATA controller: Intel Corporation 82801GR/GH (ICH7 Family) Serial ATA Storage Controller AHCI (rev 01)
 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
 01:00.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d1)
 01:01.0 Mass storage controller: Triones Technologies, Inc. HPT366/368/370/370A/372/372N (rev 03)
 01:02.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
 01:02.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
 01:03.0 Mass storage controller: Integrated Technology Express, Inc. ITE 8211F Single Channel UDMA 133 (ASUS 8211 (ITE IT8212 ATA RAID Controller)) (rev 11)
 02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19)
 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
 06:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 TurboCache™] (rev a1)
 root@bulclima:~# lsusb
 Bus 005 Device 001: ID 0000:0000
 Bus 004 Device 001: ID 0000:0000
 Bus 003 Device 002: ID 0bda:8150 Realtek Semiconductor Corp. RTL8150 Fast Ethernet Adapter
 Bus 003 Device 001: ID 0000:0000
 Bus 002 Device 002: ID 0a46:6688 Davicom Semiconductor, Inc.
 Bus 002 Device 001: ID 0000:0000
 Bus 001 Device 001: ID 0000:0000
 
 root@bulclima:~# ifconfig eth0
 eth0      Link encap:Ethernet  HWaddr 00:E0:4C:08:15:B0
 inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
 inet6 addr: fe80::2e0:4cff:fe08:15b0/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:41563477 errors:0 dropped:0 overruns:0 frame:0
 TX packets:28292217 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:1594883169 (1.4 GiB)  TX bytes:1363565294 (1.2 GiB)
 Interrupt:16 Base address:0xe000
 
 root@bulclima:~# ifconfig eth1
 eth1      Link encap:Ethernet  HWaddr 00:E0:4C:07:A3:0F
 inet addr:10.4.4.1  Bcast:10.4.255.255  Mask:255.255.0.0
 inet6 addr: fe80::2e0:4cff:fe07:a30f/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:63555699 errors:0 dropped:0 overruns:0 frame:0
 TX packets:86144404 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:975267498 (930.0 MiB)  TX bytes:3184854635 (2.9 GiB)
 Interrupt:17 Base address:0x2000
 
 root@bulclima:~# ifconfig eth2
 eth2      Link encap:Ethernet  HWaddr 00:E0:4C:08:15:D7
 inet addr:192.168.8.1  Bcast:192.168.8.255  Mask:255.255.255.0
 inet6 addr: fe80::2e0:4cff:fe08:15d7/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:10351392 errors:0 dropped:0 overruns:0 frame:0
 TX packets:17875791 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:657556038 (627.0 MiB)  TX bytes:2638893937 (2.4 GiB)
 Interrupt:18 Base address:0x4000
 
 root@bulclima:~# ifconfig eth3
 eth3      Link encap:Ethernet  HWaddr 00:E0:4C:03:2E:B3
 inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
 inet6 addr: fe80::2e0:4cff:fe03:2eb3/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1540  Metric:1
 RX packets:2811930 errors:0 dropped:0 overruns:0 frame:0
 TX packets:2485874 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:2180003418 (2.0 GiB)  TX bytes:817547858 (779.6 MiB)
 
 root@bulclima:~# lsmod
 Module                  Size  Used by
 cls_u32                10628  1
 sch_ingress             7556  1
 sch_tbf                 8960  1
 tun                    12160  1
 ppp_deflate             8704  0
 bsd_comp                9600  0
 ppp_async              13056  2
 crc_ccitt               5888  1 ppp_async
 ppp_generic            26772  11 ppp_deflate,bsd_comp,ppp_async
 slhc                    9856  1 ppp_generic
 ip_gre                 14496  0
 w83627ehf              21392  0
 hwmon                   6404  1 w83627ehf
 i2c_isa                 7808  1 w83627ehf
 snd_seq_dummy           6788  0
 snd_seq_oss            32896  0
 snd_seq_midi_event     10112  1 snd_seq_oss
 snd_seq                50640  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
 snd_seq_device         10508  3 snd_seq_dummy,snd_seq_oss,snd_seq
 snd_pcm_oss            42784  1
 snd_mixer_oss          18048  1 snd_pcm_oss
 snd_hda_intel          20120  1
 snd_hda_codec         209152  1 snd_hda_intel
 snd_pcm                72068  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
 snd_timer              22532  2 snd_seq,snd_pcm
 snd                    47204  9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,s
 
 
 
 
 
 
 nd_pcm,snd_timer
 soundcore               9824  2 snd
 snd_page_alloc         11528  2 snd_hda_intel,snd_pcm
 ipv6                  254624  31
 ipt_REJECT              7552  9
 ipt_MASQUERADE          6656  15
 xt_multiport            7040  68
 xt_tcpudp               7040  36
 iptable_mangle          6272  0
 iptable_nat            10116  1
 nf_nat                 19116  2 ipt_MASQUERADE,iptable_nat
 nf_conntrack_ipv4      17676  2 iptable_nat
 nf_conntrack           52616  4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
 nfnetlink               8856  3 nf_nat,nf_conntrack_ipv4,nf_conntrack
 iptable_filter          6400  1
 ip_tables              14276  3 iptable_mangle,iptable_nat,iptable_filter
 x_tables               15748  6 ipt_REJECT,ipt_MASQUERADE,xt_multiport,xt_tcpudp,iptable_nat,ip_tables
 sg                     30364  0
 bttv                  173620  0
 btcx_risc               8072  1 bttv
 tveeprom               17552  1 bttv
 tuner                  63656  0
 saa7134               118624  1
 video_buf              24068  2 bttv,saa7134
 compat_ioctl32          5248  2 bttv,saa7134
 ir_kbd_i2c             10768  1 saa7134
 ir_common              33796  3 bttv,saa7134,ir_kbd_i2c
 videodev               29184  3 bttv,saa7134
 v4l2_common            18688  4 bttv,tuner,saa7134,videodev
 v4l1_compat            17668  3 bttv,saa7134,videodev
 capability              7304  0
 commoncap               9344  1 capability
 rtl8150                14848  0
 r8169                  29832  0
 agpgart                31432  0
 lp                     13736  0
 parport_pc             27812  1
 parport                34760  2 lp,parport_pc
 pcspkr                  6528  0
 psmouse                39048  0
 root@bulclima:~# ps afx
 PID TTY      STAT   TIME COMMAND
 1 ?        Ss     0:02 init [3]
 2 ?        S      0:00 [migration/0]
 3 ?        SN     0:28 [ksoftirqd/0]
 4 ?        S      0:00 [migration/1]
 5 ?        SN     0:25 [ksoftirqd/1]
 6 ?        S<     0:00 [events/0]
 7 ?        S<     0:00 [events/1]
 8 ?        S<     0:00 [khelper]
 9 ?        S<     0:00 [kthread]
 87 ?        S<     0:00  \_ [kblockd/0]
 88 ?        S<     0:00  \_ [kblockd/1]
 89 ?        S<     0:00  \_ [kacpid]
 195 ?        S<     0:00  \_ [ata/0]
 196 ?        S<     0:00  \_ [ata/1]
 197 ?        S<     0:00  \_ [ata_aux]
 198 ?        S<     0:00  \_ [ksuspend_usbd]
 201 ?        S<     0:00  \_ [khubd]
 203 ?        S<     0:00  \_ [kseriod]
 215 ?        S<     0:00  \_ [khpsbpkt]
 231 ?        S      0:00  \_ [pdflush]
 233 ?        S<     0:08  \_ [kswapd0]
 234 ?        S<     0:00  \_ [aio/0]
 235 ?        S<     0:00  \_ [aio/1]
 236 ?        S<     0:00  \_ [jfsIO]
 237 ?        S<     0:00  \_ [jfsCommit]
 238 ?        S<     0:00  \_ [jfsCommit]
 239 ?        S<     0:00  \_ [jfsSync]
 240 ?        S<     0:00  \_ [xfslogd/0]
 241 ?        S<     0:00  \_ [xfslogd/1]
 242 ?        S<     0:00  \_ [xfsdatad/0]
 243 ?        S<     0:00  \_ [xfsdatad/1]
 244 ?        S<     0:00  \_ [ocfs2_wq]
 245 ?        S<     0:00  \_ [user_dlm]
 945 ?        S<     0:00  \_ [scsi_tgtd/0]
 946 ?        S<     0:00  \_ [scsi_tgtd/1]
 980 ?        S<     0:00  \_ [scsi_eh_2]
 981 ?        S<     0:00  \_ [scsi_eh_3]
 982 ?        S<     0:00  \_ [scsi_eh_4]
 983 ?        S<     0:00  \_ [scsi_eh_5]
 1015 ?        S<     0:00  \_ [exec-osm/0]
 1016 ?        S<     0:00  \_ [exec-osm/1]
 1021 ?        S<     0:00  \_ [block-osm/0]
 1022 ?        S<     0:00  \_ [block-osm/1]
 1096 ?        S<     0:00  \_ [kcryptd/0]
 1097 ?        S<     0:00  \_ [kcryptd/1]
 1101 ?        S<     0:00  \_ [reiserfs/0]
 1102 ?        S<     0:00  \_ [reiserfs/1]
 1164 ?        S<     0:00  \_ [kpsmoused]
 1284 ?        S<     0:00  \_ [xfsbufd]
 1285 ?        S<     0:00  \_ [xfssyncd]
 1287 ?        S<     0:00  \_ [xfsbufd]
 1288 ?        S<     0:00  \_ [xfssyncd]
 6608 ?        S<     0:00  \_ [xfsbufd]
 6609 ?        S<     0:00  \_ [xfssyncd]
 6611 ?        S<     0:00  \_ [xfsbufd]
 6612 ?        S<     0:00  \_ [xfssyncd]
 6614 ?        S<     0:00  \_ [xfsbufd]
 6615 ?        S<     0:00  \_ [xfssyncd]
 6617 ?        S<     0:00  \_ [xfsbufd]
 6618 ?        S<     0:00  \_ [xfssyncd]
 6620 ?        S<     0:00  \_ [xfsbufd]
 6621 ?        S<     0:00  \_ [xfssyncd]
 6623 ?        S<     0:00  \_ [xfsbufd]
 6624 ?        S<     0:00  \_ [xfssyncd]
 6626 ?        S<     0:00  \_ [xfsbufd]
 6627 ?        S<     0:00  \_ [xfssyncd]
 6629 ?        S<     0:00  \_ [xfsbufd]
 6630 ?        S<     0:00  \_ [xfssyncd]
 6052 ?        S      0:00  \_ [pdflush]
 1098 ?        S      0:00 [kirqd]
 1246 ?        S      0:00 [saa7133[0]]
 1451 ?        Ss     0:00 /usr/sbin/syslogd
 1458 ?        Ss     0:00 /usr/sbin/klogd -c 3 -x
 2178 ?        Ss     0:01 /usr/sbin/sshd
 21430 ?        Ss     0:03  \_ sshd: root@pts/3
 21433 pts/3    Ss     0:00  |   \_ -bash
 22285 pts/3    S+     0:00  |       \_ /usr/bin/mc -P /tmp/mc-root/mc.pwd.21433
 22287 pts/6    Ss+    0:00  |           \_ bash -rcfile .bashrc
 21623 ?        Ss     0:00  \_ sshd: root@pts/1
 21625 pts/1    Ss     0:00      \_ -bash
 22534 pts/1    R+     0:00          \_ ps afx
 2181 ?        Ssl    0:09 /usr/sbin/named
 2194 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 2207 ?        S      0:04 /usr/sbin/crond -l10
 2209 ?        Ss     0:00 /usr/sbin/atd -b 15 -l 1
 2212 ?        Ss     0:00 sendmail: accepting connections
 2215 ?        Ss     0:00 sendmail: Queue runner@00:25:00 for /var/spool/clientmqueue
 2218 ?        Ss     0:00 /usr/sbin/acpid
 2292 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid
 2324 ?        Sl     3:32  \_ /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysql/mysql.pid --skip-external-lo
 2432 ?        Ss     0:00 /usr/sbin/gpm -m /dev/mouse -t ps2
 2452 ?        S      0:05 /usr/local/snmp/sbin/snmpd -c /usr/local/snmp/etc/snmpd.conf
 2514 ?        Ss     0:00 /usr/sbin/dhcpd
 2516 ?        Ss     0:00 /usr/local/programs/pptpd/sbin/pptpd
 20953 ?        S      0:03  \_ pptpd [10.4.3.168:4000 - 0D80]
 20954 ?        S      0:00  |   \_ /usr/sbin/pppd local file /etc/ppp/options.pptpd 115200 192.168.0.1:192.168.0.60 ipparam 10.4.3.168
 21869 ?        S      0:00  \_ pptpd [10.6.9.128:0100 - 0E80]
 21870 ?        S      0:00      \_ /usr/sbin/pppd local file /etc/ppp/options.pptpd 115200 192.168.0.1:192.168.0.61 ipparam 10.6.9.128
 2608 tty1     Ss+    0:00 /sbin/agetty 38400 tty1 linux
 2609 tty2     Ss+    0:00 /sbin/agetty 38400 tty2 linux
 2610 tty3     Ss+    0:00 /sbin/agetty 38400 tty3 linux
 2611 tty4     Ss+    0:00 /sbin/agetty 38400 tty4 linux
 2612 tty5     Ss+    0:00 /sbin/agetty 38400 tty5 linux
 2613 tty6     Ss+    0:00 /sbin/agetty 38400 tty6 linux
 2633 ?        S      0:00 /home/psybnc/psybnc/psybnc
 2681 ?        Ss     0:00 /home/ircd/ircd/bin/ircd /home/ircd/ircd/etc/ircd.conf
 2682 ?        Sl     0:01 /usr/local/ircd/gliner/gliner
 2696 ?        Ss     0:02 /usr/local/ircd/stats/bin/sentinel
 2697 ?        Ss     0:03 /usr/local/ircd/hybserv/hybserv /usr/local/ircd/hybserv/hybserv.conf
 2904 ?        S      0:02 /usr/local/ircd/seen/seenserv
 2930 ?        Ss     0:00 /usr/local/openvpn/sbin/openvpn --config server.conf --daemon --syslog
 5129 ?        Ss     0:00 /usr/local/apache2/bin/httpd -k start
 22331 ?        S      0:00  \_ /usr/local/apache2/bin/httpd -k start
 22341 ?        S      0:00  \_ /usr/local/apache2/bin/httpd -k start
 22342 ?        S      0:00  \_ /usr/local/apache2/bin/httpd -k start
 22343 ?        S      0:00  \_ /usr/local/apache2/bin/httpd -k start
 22351 ?        S      0:00  \_ /usr/local/apache2/bin/httpd -k start
 32239 ?        Ss     0:19 /usr/bin/perl -w /usr/local/programs/mrtg-2/bin/mrtg /usr/local/programs/mrtg-2/etc/mrtg1.cfg
 32245 ?        Ss     0:23 /usr/bin/perl -w /usr/local/programs/mrtg-2/bin/mrtg /usr/local/programs/mrtg-2/etc/cpu.cfg
 32272 ?        Ss     0:35 /usr/bin/perl -w /usr/local/programs/mrtg-2/bin/mrtg /usr/local/programs/mrtg-2/etc/server-info.cfg
 32280 ?        Ss     0:03 /usr/bin/perl -w /usr/local/programs/mrtg-2/bin/mrtg /usr/local/programs/mrtg-2/etc/mysql.cfg
 5596 ?        Ss     0:00 /usr/bin/perl /etc/webmin-1.340/miniserv.pl /etc/webmin/miniserv.conf
 10588 ?        Ss     0:00 /usr/sbin/smbd -D
 10590 ?        S      0:00  \_ /usr/sbin/smbd -D
 21175 ?        S      0:00  \_ /usr/sbin/smbd -D
 22288 ?        S      0:00  \_ /usr/sbin/smbd -D
 22362 ?        S      0:01  \_ /usr/sbin/smbd -D
 10591 ?        Ss     0:01 /usr/sbin/nmbd -D
 9323 ?        Ss     0:00 /usr/sbin/inetd
 3323 ?        S      0:00 -bash
 3324 ?        Sl    40:30  \_ vlc -vvv --color v4l:/dev/video:norm=pal:frequency=592000:size=640x480:channel=0:adev=/dev/dsp0:audio=0 --sout #transcode{vcode
 root@bulclima:~# w
 15:05:50 up 3 days, 14:45,  2 users,  load average: 0.03, 0.29, 0.33
 USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
 root     pts/3    192.168.8.2      14:10    2:18   0.04s  0.04s -bash
 
 
 | 
 
 дъното е ASUS P5LD2 предното беше пак ASUS P5PE-VM и пак имаше този проблем
 
 
 
 
 
 |