Помогите кто знает
Поставил OpenWrt на это железку. создаю Виланы.
root@OpenWrt:~# cat /etc/config/networkconfig 'switch' 'eth0'
option 'vlan0' '1 2 3 4 5t'
option 'vlan500' '0 5t'
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0.0'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'gateway' '192.168.1.1'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'dns' '195.206.40.177'
option 'ipaddr' '192.168.1.200'
config 'interface' 'wan'
option 'ifname' 'eth1.500'
option 'proto' 'static'
option 'ipaddr' '192.168.200.5'
option 'netmask' '255.255.255.0'
option 'defaultroute' '0'
option 'peerdns' '0'
далее проверяю
eth0 Link encap:Ethernet HWaddr 00:1B:FC:C0:73:B7
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:344 errors:0 dropped:0 overruns:0 frame:0
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:35028 (34.2 KiB) TX bytes:29354 (28.6 KiB)
Interrupt:4
eth0.0 Link encap:Ethernet HWaddr 00:1B:FC:C0:73:B7
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:335 errors:0 dropped:0 overruns:0 frame:0
TX packets:171 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:27318 (26.6 KiB) TX bytes:28972 (28.2 KiB)
eth1 Link encap:Ethernet HWaddr 40:10:18:00:00:2D
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:5
eth1.500 Link encap:Ethernet HWaddr 40:10:18:00:00:2D
inet addr:192.168.200.5 Bcast:192.168.200.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
все есть но данные по Vlan 500 не идут
пробывал на eth0.500 такая же проблема.
oot@OpenWrt:~# robocfg show
Switch: enabled
Port 0(W): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
Port 1(4): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
Port 2(3): DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
Port 3(2): DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
Port 4(1): DOWN enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
Port 5(C): 100FD enabled stp: none vlan: 0 mac: 00:00:00:00:00:00
VLANs: BCM5325/535x enabled mac_check mac_hash
vlan0: 1 2 3 4 5t
если задать руками
robocfg vlan 500 ports "0 5t" зависает!
root@OpenWrt:~# uname -a
Linux OpenWrt 2.6.25.17 #16 Sun Feb 15 00:19:46 CET 2009 mips unknown
кто знает отпишите