Windows Server 2008 R2: Remote Desktop IP Virtualization |
Tuesday, 20 October 2009 by Michel Roth | |||
Prior to Windows Server 2008 R2, every session on a remote desktop server had the same IP address. I’m sure some of you are wondering, “Well, OK – big deal. Why does that matter?” Think about applications that require a unique IP address for each instance of the application. Clearly having a single IP for all the sessions, can cause a number of application compatibility problems – consider the scenario below where the backend database server refuses the second and third client connections based on their use of the same IP address as the first connection.
OK, let’s take a quick look at the architecture of the RD IP Virtualization feature. User mode applications using WinSock will be able to get Virtual IP’s – the application itself does not need to be aware of RD IP Virtualization or need to be changed in any way. However, there are some caveats – services in Session 0 will not be virtualized, nor will applications and services running inside the a remote administrator session. In addition, applications that use named pipes or any other mechanism besides sockets will not be virtualized. The RD IP Virtualization Service depends on a valid DHCP Server being active. A pool of static addresses can also be configured. The actual process for assigning the IP Addresses is as follows (the diagram below shows the sequence):
A couple of things to note about permissions – only administrators will be able to query and see virtual IP addresses from all sessions. Users will only be able to see the IP address of their session – they cannot see the VIP’s of other sessions – also, the Remote Desktop User group cannot query VIP’s for all sessions. Now let’s look at how applications get their IP Addresses and what RD IP Virtualization does in each case.
Show/Hide comment form
|