linux vlan router dropping packets
I have no clue with my problem so i hope someone could help me.
I had setup linux router with vlan interfaces and there is a problem copying from windows clients between vlans, i get "the network name is no longer available" in the middle of copying. inter-vlan communication is ok, i can ping and connect to pc from one vlan to another. I think it is linux router related, because there are no problems when pc comunicate in the same vlan (without going throuh linux box)
I have Hp ProCurve 2626 switch with vlans:
VLAN10: connected linux router, all servers, wan routers
VLAN11: 1 port connected to another unmanaged switch with about 20-30 winxp clients
linux router has interfaces: eth0 (ip: 192.168.0.7), vlan11/eth0.11 (ip: 192.168.11.1)
linux dhcp gives all vlan11 members ip from 192.168.11.x with gw 192.168.11.1
traffic between vlans routed with:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.11.0/255.255.255.0 -j SNAT --to-source 192.168.0.7
192.168.11.199 (winxp client [VLAN11]) -> switch -> HPProCurve2626 -> 192.168.11.1 (linux gw [VLAN10]) -> HPProCurve2626 -> 192.168.0.250 (win2k3 file server [VLAN10])
backwards is the same instead of if eth0 of linux with ip 192.168.0.7
thanks for any help!!