Loopback behaviour on Windows Server 2008

Enable Loopback adapter on Windows Server 2008

netsh int ipv4 set int “Loopback Adapter” weakhostreceive=enabled weakhostsend=enabled

netsh int ipv4 set int “Local Area Connection” weakhostreceive=enabled weakhostsend=enabled

via Enable Loopback adapter on Windows Server 2008 – Steve Schofield Weblog.

Those two lines will save you lots of headaches: in Windows 2008 the network behaviour has changed in a subtle and tricky way. Packets coming in from a NIC will not go out from another one, by default.

If, like me, you were using the loopback trick to publish machines on the internet via ARP Proxying your win2k8 machines will NOT reply correctly by default. Use the settings above and you’re good to go: packets coming in from the loopback (with the internet address) will be sent back through the DMZ nic and will be routed normally.

This entry was posted in tech.

8 comments on “Loopback behaviour on Windows Server 2008

  1. Mark says:

    netsh int ipv4 set int “Loopback Adapter” weakhostreceive=enabled weakhostsend=enabled
    The filename, directory name, or volume label syntax is incorrect.

  2. Marc says:

    Thanks so much for your post. You saved the day!

  3. DSR says:

    Thanks very much. Spent long time wondering why DSR style load balancing wasnt working. thanks very much.

    • renatoram says:

      My pleasure, really: I published this post because when I had this problem I had to hunt here and there to find the solution… it’s one of the most hit posts on this blog, historically, so I know I’ve been of service🙂

  4. Marco Dali says:

    Thankssssssss SOOOO much … I love you You saved my Balancing FARM

  5. Geoff says:

    does anyone know if this setting survives a restart?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s