Category Archives: Networking

Capture Network Traffic with netsh trace command

A very useful netsh capture command when you are not able to install Wireshark or Micorosft Network Monitor app inside a server. Windows has a built in command that allows you to capture network traffic. To start capturing (Run command … Conti...

Posted in Networking, Scripting | Tagged , , | 1 Comment

Powershell script to test TCP port connectivity

I recently ran into an issue where a site kept going up and down and it was difficult to determine where the issue is. I used the script to validate if the F5 load balanced VIP was going down or … Continue reading →...

Posted in Networking, Scripting | Tagged , , , , , , , | Leave a comment

How to redirect a port using netsh interface portproxy command in Windows

When you run the below command on your local desktop. -Your Desktop will start to listen on port 443 on all IPs (0.0.0.0) -Any connection that comes to your Desktop IP on port 443 will be forwarded to the following … Continue reading →...

Posted in Networking, Scripting | Tagged , , , , | Leave a comment

Citrix Netscaler: Configuring HTTPS load balancing

I finally got a chance to set up and configure a Citrix Netscaler appliance to load balance two websites.  In this setup the Netscaler will load balance two SSL (HTTPS) web servers with end-to-end encryption. I did run into some … Continu...

Posted in Networking | Tagged , , , , | 5 Comments

iPerf Network performance comparison between Virtual Machines on ESXi6

I finally found some time to run a series of iPerf network performance tests between Windows server 2008 R2, Windows 2012 and a Linux Debian virtual machines. The tests compare bandwidth throughput between vmxnet3, e1000 going through a 1Gbit and &he...

Posted in Linux, Networking, VMware | Tagged , , , , , , , , | 1 Comment

Detecting Ephemeral Port Exhaustion in Windows 7 / 8 / 2012

Ephemeral ports are ports that start at a higher range then regular ports. For example when compared to a web server that listens on port 80, ephemeral ports start from 49152 for Windows 2008 R2.  If there are scripts or … Continue reading &r...

Posted in Linux, Networking | Tagged , , , , , , , | 5 Comments

How to set up a Microsoft Network Load Balancing (NLB) in Windows 2008 R2

OVERVIEW Here is a quick guide how to set up two Web Servers that will be serving out the same web page for redundancy and load balancing purposes.  When we go to www.mywebsite.com address, the name will resolve to the Load Balancing … Cont...

Posted in Networking | Tagged , , | Leave a comment

Netstat script that runs every 60 seconds and counts open connections

Here is a quick NETSTAT script that runs every 60 seconds and appends the output to c:\ports\netstat.txt.  The script exports the count of connections in a specific state.  The output is very similar to what TcpView shows you at the bottom of &he...

Posted in Networking, Scripting | Tagged , , , , , | Leave a comment

Set up and troubleshoot SNMP on an ESXi 5.5 host

Here are some quick notes how to troubleshoot and set up SNMP on an ESXi host. The below also includes how to install snmpwalk and request info from an snmp server. STEPS HOW TO PROPERLY SET UP SNMP ON AN … Continue reading →...

Posted in Linux, Networking, Scripting, VMware | Tagged , , , , , , , , | Leave a comment

How to completely disable IPv6 in Windows 7 / 8 / 2012 ::1:

If you are suspecting that IPv6 is causing some issues in your environment you may want to completely disable it to rule it out. When you remove the checkmark for IPv6 from the network adapter this does not completely disable … Continue readin...

Posted in Networking | Tagged , , , , | 2 Comments