Tuesday, August 25, 2015

windows 2008R2 server - unable to connect to internet

IP addresses are still registered on the DNS servers even if the IP addresses are not used for outgoing traffic on a computer that is running Windows 7 or Windows Server 2008 R2 

 

 

SYMPTOMS
Consider the following scenario:
  • You assign many IP addresses to one network adapter of a computer that is running Windows 7 or Windows Server 2008 R2 in a domain.
  • You use only the primary IP address for outgoing traffic.
In this scenario, all IP addresses are registered on the DNS servers. Additionally, a large amount of unnecessary DNS registration and update traffic is generated.

If you configure a firewall to allow traffic for only the primary IP address, traffic to the computer may be blocked by the firewall. For example, the traffic may be blocked by the firewall if all the assigned IP addresses are registered on the DNS servers and if the traffic uses the non-primary IP addresses.
CAUSE
This issue occurs by design. Additionally, there is no option to change this default behavior. Therefore, all assigned IP addresses are registered on the DNS servers of the domain.
RESOLUTION
After you install this hotfix, you can assign IP addresses that will not be registered for outgoing traffic on the DNS servers by using a new flag of the netsh command. This new flag is the skipassource flag.

Note You can create IP version 4 (IPv4) addresses and IP version 6 (IPv6) addresses by using the netsh command together with the new skipassource flag.

For example, the following command creates an IPv4 address that is not registered for outgoing traffic on the DNS servers:
Netsh int ipv4 add address <Interface Name> <ip address> skipassource=true
Notes
  • "Interface Name" is the name of the interface for which you want to add a new IP address.
  • "Ip address" is the IP address you want to add to this interface.
To list the IPv4 addresses that have the skipassource flag set to true, run the following command:
Netsh int ipv4 show ipaddresses level=verbose
 
 
steps 

1)     
1)      Backup, “ipconfig /all” details.
2)      Backup, Route Table Entries.
3)      Open iLO, VMWare Console, Login to the server.
4)      Reset IP Configuration  – “netsh int ip reset
5)      Reset Network Adapter  – “netsh winsock reset
6)      Add primary IP address on NIC.
7)      Add secondary IP’s one after the another,
netsh int ipv4 add address <Interface Name> <ip address> <subnetmask> skipassource=true

Example
netsh int ipv4 add address frontend 192.168.0.2 255.255.252.0 skipassource=true
 

Example
netsh int ipv4 add address frontend 192.168.0.2 skipassource=true
8)      To confirm, the secondary IP’s assigned through “skipassource”
netsh int ipv4 show ipaddresses level=verbose
 
 
Source: 


 
 

 

No comments:

Post a Comment