CASE A (2 Hosturi legate in access de cate un switch iar switch-urile legate in mod trunk cu access in VLAN7) Host1 (eth0) <------(access)------> (eth1)SWITCH1(eth0 allowed VLAN 7) <--------------(trunk)---------> (eth2 allowed VLAN7)SWITCH2 (eth0) <----------(access)-------> (eth0)Host2 Configuratie: ------------------------------------------------------------------------------ SWITCH2 switch2#show vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active 7 VLAN0007 active Et0, Et2 1002 VLAN1002 act/unsup 1003 VLAN1003 act/unsup 1004 VLAN1004 act/unsup 1005 VLAN1005 act/unsup switch2#show running-config interface eth2 Building configuration... Current configuration : 79 bytes ! interface Ethernet 2 switchport trunk allowed vlan 7 switchport mode trunk end switch2#show running-config interface eth0 Building configuration... Current configuration : 111 bytes ! interface Ethernet 0 switchport access vlan 7 switchport mode access end -------------------------------------------------------------------------------------------- SWITCH1 switch1#show running-config interface eth0 Building configuration... Current configuration : 79 bytes ! interface Ethernet 0 switchport trunk allowed vlan 7 switchport mode trunk end switch1#show running-config interface eth1 Building configuration... Current configuration : 111 bytes ! interface Ethernet 1 switchport access vlan 7 switchport mode access end #switch1:show vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active 7 VLAN0007 active Et0, Et1 1002 VLAN1002 act/unsup 1003 VLAN1003 act/unsup 1004 VLAN1004 act/unsup 1005 VLAN1005 act/unsup ------------------------------------------------------------------------------------ HOST1 ip_addr: 10.0.0.5 mac_addr: 70:71:bc:08:25:71» ------------------------------------------------------------------------------------ HOST2 ip_addr: 10.0.0.4 mac_addr: 70:71:bc:18:1c:1c ------------------------------------------------------------------------------------- Rezults We tested the configuration manually using ping command from the end hosts and it works fine. SWITCH2 FDB switch2#port no mac addr is local? ageing timer 1 00:e0:20:82:44:d9 no 20.16 1 00:e0:20:8c:01:ed yes 0.00 1 70:71:bc:08:25:71 no 0.13 2 70:71:bc:18:1b:ff yes 0.00 2 70:71:bc:18:1c:1c no 0.13 SWITCH1 FDB switch1#port no»mac addr » » is local?» ageing timer 1» 00:e0:20:82:44:d9» no» » 20.16 1» 00:e0:20:8c:01:ed» yes» » 0.00 1» 70:71:bc:08:25:71» no» » 0.13 2» 70:71:bc:18:1b:ff» yes» » 0.00 2» 70:71:bc:18:1c:1c» no» » 0.13 IPERF result access mode only H1 <---access--> S1 <--access--> S2 <--access--> H2 [ 4] local 10.0.0.4 port 53006 connected to 10.0.0.5 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 1.24 MBytes 1.04 Mbits/sec [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 4] 0.00-10.00 sec 1.24 MBytes 1.04 Mbits/sec 0.008 ms 0/159 (0%) [ 4] Sent 159 datagrams