Strange thing: arp and windows

A strange situation: i have configured a piranha lvs router(two load balancer and two real servers),
the virtual ip is 192.168.3.252.
Linux and windows clients are on a different subnet (192.168.3.0) and i use route

route add -net 192.168.3.0/24 dev eth0

on linux

for /F "tokens=2 delims=:" %%i in ('"ipconfig | findstr IP | findstr 192."') do SET LOCAL_IP=%%i

route add 192.168.3.0 mask 255.255.255.0 %LOCAL_IP% metric 1

On Windows

The real servers use bonding network(mode 1)

On linux no problem,telnet 192.168.3.252 25 ok,thunderbird ok.
On windows work one time yes...and ten not!
On arp i see
Linux: the correct arp
Window: the arp not correct
Why?

ipconfig | findstr IP | findstr 192.

doesn' return the IP address, but the whole line, which has some title in front. I have only a german WinXP at hand, where it looks like this:

ipconfig | findstr IP | findstr 192.
       IP-Adresse. . . . . . . . . . . . : 192.168.1.1

This means your command evaluates to (something like)

route add 192.168.3.0 mask 255.255.255.0 IP-Adresse. . . . . . . . . . . . : 192.168.1.1 metric 1

And this perhaps is a syntax error.

I hope this helps.

bakunin

On XP route is correct,i can ping the server,but
return a bad hw address(arp wrong)

dear please check for arp
it is creating problem