Hello,
Here is my .config file
It's the default .config from factory
I've made a new "factory" folder, using twr_vf600-factory-installer.sh, and i used the default .config file. I remove the FEC and enable L2_Switch, and because i'm using the freescale tower_board with a twr_ser2 card, I change the PHY driver to the good one : Drivers for National Semiconductor dp83848 dp83849 PHYs
My /network/interfaces file is :
auto eth0
iface eth0 inet static
address 192.168.3.42
network 192.168.3.0
netmask 255.255.255.0
broadcast 192.168.3.255
gateway 192.168.3.25
With this config, i simply plug an ethernet cable from my pc to the TWR, and a second cable from the TWR to a 30 slot ethernet switch on my local network.
Now for test :
- ping is OK. I can ping local devices or ping www.google.fr, it works fine.
- web access : I can access website through my router. (like www.google.com, www.youtube.com ...) it works.
- Local web access : It not work! I can't load the website of my printer for example. on wireshark i can see that the first packet is received, but not the nexts.
- ssh on local device : i can't access to my local device in SSH.
- ftp : It's weir, i can acces device when there is not a lot of repertories to load. I can't if there is a lot of repertories. It's like if there is a lot of repertories to load, I lost frames and the connection is lost.
I will submit a support request on timesys website.
EDIT : I add some screenshot.
The first , "page_good.png" is the page i must load from my device (ip addr 192.168.3.62, in my LOCAL network). This device is connected to my local network, I load this page when i was NOT connected to the TWR_BOARD switch.
The second, "page_bug_switch.png", show you what I get when I try to connect to my embedded website USING the TWR_BOARD switch. My pc is connected to the freescale TWR_Board and the TWR is connted to the device. The webpage is loading continusly but i don't get it.
The "wireshark_switch_bug.png" is the wireshark capture when i'm trying to get the website through the TWR_Board switch. You can see that the TCP connection is well done. I get the first packet but after there is a problem.
Looking wireshark, i've noticed that a big amount of data in a short time don't pass through the switch.I
I don't know if it's the driver or if it's a hardware issue, but i only get this issue with the switch. And i was able to reproduce this bug using phytec board, freescale board, and with the default .config file, i simply change the FEC for L2_SWITCH in kernel.
workaround :
If someone is having this bug and need switch ability, I'm using a trick: enable "Bridge" and the "dual fec" in kernel and use "bridge-utils" software, you get a software switch. .