Connecting to host 10.0.0.1, port 5201 [ 4] local 10.0.0.3 port 45440 connected to 10.0.0.1 port 5201 [ ID] Interval Transfer Bandwidth Retransmits [ 4] 0.00-10.18 sec 115 MBytes 94.7 Mbits/sec 0 [ ID] Interval Transfer Bandwidth Retransmits Sent [ 4] 0.00-10.18 sec 115 MBytes 94.7 Mbits/sec 0 Received [ 4] 0.00-10.18 sec 115 MBytes 94.5 Mbits/sec iperf Done. { "start": { "version": "iperf version 3.0-BETA5 (28 March 2013)", "system_info": "Linux lisa 2.6.32-279.9.1.el6.lisa2.0.1.build3.i686 #1 SMP Fri Oct 5 19:22:40 EEST 2012 i686 i686 i386 GNU/Linux\n", "connecting_to": { "host": "10.0.0.1", "port": 5201 }, "cookie": "lisa.1372532321.408224.44816fed36563", "tcp_mss": 1400, "connected": { "socket": 4, "local_host": "10.0.0.3", "local_port": 45442, "remote_host": "10.0.0.1", "remote_port": 5201 }, "test_start": { "protocol": "TCP", "num_streams": 1, "blksize": 131072, "duration": 10 } }, "intervals": [{ "streams": [{ "socket": 4, "start": 0, "end": 10.1821, "seconds": 10.1821, "bytes": 120586240, "bits_per_second": 9.47436e+07, "retransmits": 0 }] }], "end": { "streams": [{ "sent": { "socket": 4, "start": 0, "end": 10.1821, "seconds": 10.1821, "bytes": 120586240, "bits_per_second": 9.47436e+07, "retransmits": 0 }, "received": { "socket": 4, "start": 0, "end": 10.1821, "seconds": 10.1821, "bytes": 120324096, "bits_per_second": 9.45377e+07 } }], "cpu_utilization_percent": { "host": 7.69756, "remote": 3.7996 } } } TCPDUMP pe SW1 la iesirea spre sw3, interfata eth1: 00:58:50.348115 70:71:bc:08:25:7e > 70:71:bc:08:25:71, ethertype 802.1Q (0x8100), length 1458: vlan 3, p 0, ethertype IPv4, 10.0.0.3.45442 > 10.0.0.1.5201: Flags [.], seq 119401470:119402858, ack 1, win 219, options [nop,nop,TS val 2472414 ecr 5307095], length 1388 00:58:50.348235 70:71:bc:08:25:7e > 70:71:bc:08:25:71, ethertype 802.1Q (0x8100), length 1458: vlan 3, p 0, ethertype IPv4, 10.0.0.3.45442 > 10.0.0.1.5201: Flags [.], seq 119402858:119404246, ack 1, win 219, options [nop,nop,TS val 2472414 ecr 5307095], length 1388 00:58:50.348307 70:71:bc:08:25:71 > 70:71:bc:08:25:7e, ethertype 802.1Q (0x8100), length 70: vlan 3, p 0, ethertype IPv4, 10.0.0.1.5201 > 10.0.0.3.45442: Flags [.], ack 119401470, win 31711, options [nop,nop,TS val 5307117 ecr 2472414], length 0 00:58:50.348352 70:71:bc:08:25:7e > 70:71:bc:08:25:71, ethertype 802.1Q (0x8100), length 1458: vlan 3, p 0, ethertype IPv4, 10.0.0.3.45442 > 10.0.0.1.5201: Flags [.], seq 119404246:119405634, ack 1, win 219, options [nop,nop,TS val 2472414 ecr 5307095], length 1388 00:58:50.348472 70:71:bc:08:25:7e > 70:71:bc:08:25:71, ethertype 802.1Q (0x8100), length 1458: vlan 3, p 0, ethertype IPv4, 10.0.0.3.45442 > 10.0.0.1.5201: Flags [.], seq 119405634:119407022, ack 1, win 219, options [nop,nop,TS val 2472414 ecr 5307095], length 1388 00:58:50.348532 70:71:bc:08:25:71 > 70:71:bc:08:25:7e, ethertype 802.1Q (0x8100), length 70: vlan 3, p 0, ethertype IPv4, 10.0.0.1.5201 > 10.0.0.3.45442: Flags [.], ack 119404246, win 31711, options [nop,nop,TS val 5307117 ecr 2472414], length 0 00:58:50.348591 70:71:bc:08:25:7e > 70:71:bc:08:25:71, ethertype 802.1Q (0x8100), length 1458: vlan 3, p 0, ethertype IPv4, 10.0.0.3.45442 > 10.0.0.1.5201: Flags [.], seq 119407022:119408410, ack 1, win 219, options [nop,nop,TS val 2472414 ecr 5307095], length 1388 00:58:50.348711 70:71:bc:08:25:7e > 70:71:bc:08:25:71, ethertype 802.1Q (0x8100), length 1458: vlan 3, p 0, ethertype IPv4, 10.0.0.3.45442 > 10.0.0.1.5201: Flags [.], seq 119408410:119409798, ack 1, win 219, options [nop,nop,TS val 2472414 ecr 5307095], length 1388 SW1: mac-address-table mjolnir#show mac-address-table Destination Address Address Type VLAN Destination Port ------------------- ------------ ---- ---------------- 7071.bc18.1c04 Static 3 eth0 7071.bc18.1bff Static 3 eth0 7071.bc08.257e Static 3 eth1 00e0.209e.aeab Static 3 eth2 7071.bc08.2571 Static 3 eth2 00e0.2082.44d9 Static 3 eth1 7071.bc08.2588 Static 4 eth1 7071.bc18.1c04 Static 4 eth0 00e0.2082.44d9 Static 4 eth1 7071.bc18.1c1c Static 4 eth0 00e0.208c.01ed Static 4 eth0 root@mjolnir:/home/student# brctl showmacs vlan3 port no mac addr is local? ageing timer 2 00:e0:20:82:44:d9 yes 0.00 3 00:e0:20:9e:ae:ab yes 0.00 3 70:71:bc:08:25:71 no 117.95 2 70:71:bc:08:25:7e no 19.52 1 70:71:bc:18:1b:ff no 35.55 1 70:71:bc:18:1c:04 yes 0.00 root@mjolnir:/home/student# brctl showmacs vlan4 port no mac addr is local? ageing timer 2 00:e0:20:82:44:d9 yes 0.00 1 00:e0:20:8c:01:ed no 37.13 2 70:71:bc:08:25:88 no 21.49 1 70:71:bc:18:1c:04 yes 0.00 1 70:71:bc:18:1c:1c no 36.43 Configurarea interfetelor pe SW1: Interface eth2, type=1, index=3 Link detected: yes Interface status: up Hardware address: 00:e0:20:9e:ae:ab Permanent address: 00:e0:20:9e:ae:ab MTU: 1500 Supported = 0x02cf Advertising = 0x02cf Speed = 100 Duplex = 1 Auto = 1 Driver: sc92031, version: , fw_version: , bus: 0000:04:04.0 NIC statistics: tx_timeout: 0 rx_loss: 0 Interface eth1, type=1, index=2 Link detected: yes Interface status: up Hardware address: 00:e0:20:82:44:d9 Permanent address: 00:e0:20:82:44:d9 MTU: 1500 Supported = 0x02cf Advertising = 0x02cf Speed = 100 Duplex = 1 Auto = 1 Driver: sc92031, version: , fw_version: , bus: 0000:04:03.0 NIC statistics: tx_timeout: 0 rx_loss: 0 Interface eth0, type=1, index=4 Link detected: yes Interface status: up Hardware address: 70:71:bc:18:1c:04 Permanent address: 70:71:bc:18:1c:04 MTU: 1500 Supported = 0x02ff Advertising = 0x62ff Speed = 1000 Duplex = 1 Auto = 1 Driver: r8169, version: 2.3LK-NAPI, fw_version: N/A, bus: 0000:03:00.0 NIC statistics: tx_packets: 412 rx_packets: 318 tx_errors: 0 rx_errors: 0 rx_missed: 0 align_errors: 0 tx_single_collisions: 0 tx_multi_collisions: 0 unicast: 5 broadcast: 33 multicast: 313 tx_aborted: 0 tx_underrun: 0 SW1: toate VLAN-urile mjolnir#show vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active 3 VLAN0003 active Et0, Et1, Et2 4 VLAN0004 active Et0, Et1 1002 VLAN1002 act/unsup 1003 VLAN1003 act/unsup 1004 VLAN1004 act/unsup 1005 VLAN1005 act/unsup