WIZnet Developer Forum

TCP Does not connect on NLB Unicast Server

Hi, i have a problem with WIZ750SR, the module is connecting on a network 192.168.0.0/24, in this network there was a server with a Network Load Balancing service in “unicast” mode.

when i try to connect from the server to the module this not work.
if i connect with other pc on the network work well.

what is the problem? can i setup module to communicate?
thanks in advance

1 Like

We are going to test it in a similar environment to your network.
Can you tell me more about your Network configurations?

If possible, please save and attach wireshark packet capture (.pcapng) on this post when the WIZ750SR module is trying to connect to the server with NLB.

Regards,
Eric

thank you for replying, the issue is simple, probably need to use
an arp table to resolve it.

  create a server (windows server 2008 or newer), put fixed ip at

the network (ex.192.168.0.100), install features:network load
balancing, with NLB manager wizard create a NLB with the Host IP
as guest (ex.192.168.0.100) and the NLB in the same subnet
(ex:192.168.0.101).

now try to ping or connect to any pc or router and this work

whe try to connecto with WIZ750SR not respond at all

  the issue is caused by NLB that in the request header put a

different mac address (not the correct ones) and thew module will
respond at this mac address.

thank you for replying, the issue is simple, probably need to use
an arp table to resolve it.

  create a server (windows server 2008 or newer), put fixed ip at

the network (ex.192.168.0.100), install features:network load
balancing, with NLB manager wizard create a NLB with the Host IP
as guest (ex.192.168.0.100) and the NLB in the same subnet
(ex:192.168.0.101) in unicast mode.

now try to ping or connect to any pc or router and this work

whe try to connecto with WIZ750SR not respond at all

  the issue is caused by NLB that in the request header put a

different mac address (not the correct ones) and thew module will
respond at this mac address.

Hi gstef!
I am Peter. I tested MS NLB with WIZ750SR. But I could not find the any problem that you mentioned.
You can see the test environment in the following picture.
Server: windows server 2008 R2 NLB unicast

And I also tested that the NLB function works well. After configuring the NLB cluster, I turned off the server 1 and I checked that the WIZ750SR was connected to the server 2. It worked well too.
You can see the result in the following picture.

I think that there was something mistake with your nlb cluster configuration.

Thanks.

1 Like

thanks for replying,

  the Wiznet module is in TCP server mode, but i cannot see in your

log the server connection (From 192.168.128.111 to
192.168.128.128)

Hi gstef!
I found out the problem!
WIZ750SR can’t reply to the arp packet from the unicast nlb server when server attempts to connect to the WIZ750SR. Because of sender mac address and source mac address in the arp packet from the unicast nlb server is different. WIZ750SR response to the source mac address so unicast nlb server can’t receive the arp response from the WIZ750SR. You can see it in the following pictures.

Solution 1
If you possible, please use the multicast nlb server mode. In multicast mode, it works well.

Solution 2
Open socket 0 in mac raw mode and manually respond to the arp request.

Thanks.

1 Like

yes, this is my problem!!

  I'm try out some ethernet device and i found that the stak uIP

(or lwIP) work well.

is possible to implement this stack into WiZ750SR?

Thanks

Our TCP/IP stack is hardware TCP/IP stack, so we can not change it easily.
If you possible, please configure the NLB server to multicast mode!! I think this is the only solution for you.
Sorry I can’t help you.

1 Like

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.