Hi, I am trying to filter packets using Wireshark 1.10.5. but am facing some issues and need help. I have two IIS web servers "A" (Primary) and "B" on NLB which has shared web application hosted on it. These web applications sends out mails to users via a smtp mail server and I need to capture this mails. I set simple capture filter on both the servers for "host <ipaddressofsmtpmailserver>". While I can see the imf messages packets on "B"(and traffic to and from the mailserver to "B"), I get to see only one way traffic on "A"(from mailserver). I am not sure if NLB is the reason . What's wrong? Thanks Amit asked 12 Feb '14, 01:48 amitcumar |
One Answer:
that's how NLB works. All nodes have the same IP address (with shared cluster MAC addresses) and thus all nodes get the same incoming traffic. One node handles the packet (if the session is in its session table) and all other nodes simply drop that packet. The same holds true for all other nodes. That's how traffic is distributed to all nodes. See the following links for more information
So, in a NLB cluster, you will always see the whole incoming traffic on all nodes, but the outgoing traffic only on the node that sends something. Why you don't see any outgoing SMTP traffic on node A could have several reasons
I don't know ;-)
Regards answered 12 Feb '14, 02:45 Kurt Knochner ♦ edited 12 Feb '14, 02:53 |
Kurt, I must thank you for the quick comment.
Let me add some more details to the issue - On node A, I can see the SMTP traffic with acknowledgement/response and new mail message ID(generated from the SMTP Server), But can't see the IMFs.
"but the outgoing traffic only on the node that sends something." - I have verified that the traffic was sent out from node A but still the capture did not show this.
I have verified with telnet from both the nodes A and B respectively and am successfully able to send out mail from both the nodes individually. The network capture for this (and without any filter) on node A still captures only oneway acknowledgement(incoming) and ARP traffic only, while node B shows both incoming and outgoing. One important observation, when I drainstop node B, I start seeing both way traffic on node A.
interesting.
is it possible to post the capture file of both telnet sessions (port 25) from node a and node b (google drive, dropbox, cloudshark.org)?
BTW: are the two nodes absolutely identical (same hardware, same software, same OS, same patches, etc.)?