Здравейте,
Мисля вече, почти съм сигурен, че прблема не е в настройката на суитча, а в рутирането на рутера закачен за порт 1 на суитча, защото:
На рутера направих два vlana - eth1.1 eth1.11, наред с интерфейса eth1
GeSHi (Bash):
- [root@router1 ~]# ifconfig  
- eth1      Link encap:Ethernet  HWaddr 00:E0:4C:23:41:3D   
-           inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0 
-           inet6 addr: fe80::2e0:4cff:fe23:413d/64 Scope:Link 
-           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
-           RX packets:6110 errors:0 dropped:0 overruns:0 frame:0 
-           TX packets:3217 errors:0 dropped:0 overruns:0 carrier:0 
-           collisions:0 txqueuelen:1000  
-           RX bytes:909487 (888.1 KiB)  TX bytes:380754 (371.8 KiB) 
-           Interrupt:17 Base address:0x4c00  
-   
- eth1.1    Link encap:Ethernet  HWaddr 00:E0:4C:23:41:3D   
-           inet addr:192.168.2.6  Bcast:192.168.2.255  Mask:255.255.255.0 
-           inet6 addr: fe80::2e0:4cff:fe23:413d/64 Scope:Link 
-           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
-           RX packets:7 errors:0 dropped:0 overruns:0 frame:0 
-           TX packets:23 errors:0 dropped:1 overruns:0 carrier:0 
-           collisions:0 txqueuelen:0  
-           RX bytes:627 (627.0 b)  TX bytes:3945 (3.8 KiB) 
-   
- eth1.11   Link encap:Ethernet  HWaddr 00:E0:4C:23:41:3D   
-           inet addr:192.168.2.7  Bcast:192.168.2.255  Mask:255.255.255.0 
-           inet6 addr: fe80::2e0:4cff:fe23:413d/64 Scope:Link 
-           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
-           RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
-           TX packets:19 errors:0 dropped:3 overruns:0 carrier:0 
-           collisions:0 txqueuelen:0  
-           RX bytes:0 (0.0 b)  TX bytes:2218 (2.1 KiB) 
-   
- lo        Link encap:Local Loopback   
-           inet addr:127.0.0.1  Mask:255.0.0.0 
-           inet6 addr: ::1/128 Scope:Host 
-           UP LOOPBACK RUNNING  MTU:16436  Metric:1 
-           RX packets:337 errors:0 dropped:0 overruns:0 frame:0 
-           TX packets:337 errors:0 dropped:0 overruns:0 carrier:0 
-           collisions:0 txqueuelen:0  
-           RX bytes:38486 (37.5 KiB)  TX bytes:38486 (37.5 KiB) 
-   
GeSHi (Bash):
- [root@router1 ~]# route -n 
- Kernel IP routing table 
- Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
- 192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1 
- 192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1.1 
- 192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1.11 
- 169.254.0.0     0.0.0.0         255.255.0.0     U     1003   0        0 eth1 
- 169.254.0.0     0.0.0.0         255.255.0.0     U     1007   0        0 eth1.1 
- 169.254.0.0     0.0.0.0         255.255.0.0     U     1008   0        0 eth1.11 
- 0.0.0.0         192.168.2.111   0.0.0.0         UG    0      0        0 eth1 
-   
Закачам едно PC с ИП - 192.168.2.200 на порт 4 (vlan1 на суитча) слагам и рутера на порт 5 (vlan1 на суитча) и пробите показват следното:
От 192.168.2.200 --> 192.168.2.6 има пинг
НО от 192.168.2.6 --> 192.168.2.200 ( ping -I eth1.1 192.168.2.200 ) нямаПремествам рутера в порт 1 (uplink,trunk) и изпълнявам следното на рутера:
GeSHi (Bash):
- route add -net 192.168.2.0 netmask 255.255.255.0 dev eth1.1 
GeSHi (Bash):
- [root@router1 ~]# route -n 
- Kernel IP routing table 
- Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
- 192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1.1 
- 192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1 
- 192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1.1 
- 192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1.11 
- 169.254.0.0     0.0.0.0         255.255.0.0     U     1003   0        0 eth1 
- 169.254.0.0     0.0.0.0         255.255.0.0     U     1007   0        0 eth1.1 
- 169.254.0.0     0.0.0.0         255.255.0.0     U     1008   0        0 eth1.11 
- 0.0.0.0         192.168.2.111   0.0.0.0         UG    0      0        0 eth1 
-   
независимо че вече имам два еднакви реда в рут таблицата  vlan1 като цяло работи.
ако пък изпълня
GeSHi (Bash):
- route add -net 192.168.2.0 netmask 255.255.255.0 dev eth1.11 
 работи 
само vlan 2 като цялно.
т.е. работи само този vlan който е на пръво място в рут таблицата на рутера дали проблема не в това че и трите интерфейса са в една мрежа 192.168.2.0/24 или е някъде другаде
ако е нужна още информация пишете, моля...