mercredi 6 avril 2011

[UAG] NIC setup


On a Forefront UAG server deployment what are the best practice for NIC configuration that's what we will try to discuss about in this article.

First of all in order to make the difference between the NICs it' recommended to rename them as below:
  • For the NIC connected to the LAN network: Internal
  • For the NIC connected to the Internet network: External
It's not recommended to disable the IPv6 protocol on the NIC


I/ Internal NIC

Click on Start / Control Panel / Network and Internet / Network and Sharing Center / Change adapter settings
  • Select the NIC connected to the LAN
  • Replace the name by Internal.
  • Open the properties of the Internal NIC
  • Disable « File and Printer Sharing for Microsoft Network »
  • Select IPv4 then Properties.

  • Enable Use the following IP address :
    • IP address : 192.168.xyz.abc
    • Subnet mask : 255.255.255.0
    • Default gateway : None
No gateway must be indicated, indeed several gateways on the NIC is not supported on Windows Server. 

In order to communicate with the internal network, into an elevated command prompt execute this following command:
route add network_address MASK network_mask default_gateway -p
  • Enable Use the following DNS server addresses:
    • Preferred DNS server : 192.168.xyz.ab
    • Alternate DNS server : 192.168.xyz.cd
  • Click on Advanced
  • On the DNS tab enable:
    • Append primary and connection specific DNS suffixes
    • Append parent suffixes of the primary DNS suffix
    • Register this connection’s addresses in DNS
It's possible to leave the default settings for the other parameters.
II/ Internet NIC
Click on Start / Control Panel / Network and Internet / Network and Sharing Center / Change adapter settings
  • Select the NIC connected to the Internet
  • Replace the name by External.
  • Open the properties of the External NIC
  • Disable « Client for Microsoft Network »
  • Disable « File and Printer Sharing for Microsoft Network »
  • Select IPv4 then Properties.


  • Enable Use the following IP address :
    • IP address : 192.168.xyz.ab
    • Subnet mask : 255.255.255.0
    • Default gateway : 192.168.xyz.ab
No DNS server must be indicated

Indeed using DNS servers on the External interface could raise performance issue for DirectAccess. Moreover the internal name couldn't be resolved, so the internal DNS servers could also be able to resolve Internet FQDN (Fully Qualified Domain Name).
  • Click on Advanced
  • On the DNS tab:
    • Enable « Append primary and connection specific DNS suffixes »
    • Enable « Append parent suffixes of the primary DNS suffix »
    • Disable « Register this connection’s addresses in DNS »

  • On the WINS tab select:
    • Disable NetBIOS over TCP/IP
It's possible to leave the default settings for the other parameters.

III/ NIC « binding »
You can open the Network Connections by entering « ncpa.cpl » in the Start search box.
On the « Advanced » menu select « Advanced Settings … »

Modify the connections order as follow:
  1. Internal
  2. External
  3. [Remote Access connections]
Note: On this screenshot we could notice the SSL Network Tunneling interface used by Forefront UAG RTM released, this one doesn't exist anymore with the Service Pack 1.

Aucun commentaire:

Publier un commentaire