Private IP range



Automatic Private IP Addressing [ APIPA ] to

For APIPA, clients will be assigned with Class B subnet mask []. If a client has APIPA address it will check for DHCP server every 5 minutes. If available it will get a DHCP IP address.

APIPA is assigned by the client on its own. In order not to get duplicate APIPA, clients will broadcast itself (IP address etc) in the network.

Loopback address to

The loopback interface has no hardware associated with it, and it is not physically connected to a network. The loopback interface allows IT professionals to test IP software without worrying about broken or corrupted drivers or hardware.

IP Addressing

IP V4 address classes
Class Network bits Host bits Decimal address subnet mask No. of possible hosts No. of possible N/W
A 8 bits 24bits 1- 16M+ 128
 B 16 bits 16bits 128 – 191 65,534 hosts 16,384
 C 24bits 8 bits 192-223 254hosts 20,97,150
 D Reserved for Multicasting 224-239 NA
 E Reserved for R & D 240-255 NA
127 – Loop back address




  • Has a 128 bit address
  • Does not require subnet mask
  • Written in colon-hexadecimal notation. Uses 8 16-bit hexadecimal numbers separated by colons. Hexadecimal numbers made up of 0-9 and a-f.
  • Ex: 20f3:ab94:acc8:0000:0000:1894:1000:a83f
  • IPv6 abbreviated format
  • 20f3:ab94:acc8:0000:0000:1894:1000:a83f and 20f3:ab94:acc8::1894:1000:a83f are same

Double Colon notation for

20f3:ab94:acc8:0000:0000:1894:1000:a83f is


CIDR Notation for

20f3:ab94:acc8:0000:0000:1894:1000:a83f is


contracted form:


80 indicates first 80-bits is Network ID

IPv6 has 5 address types:

  1. Global Unicast Address – Equivalent to public IPv4
  2. Link-Local Unicast Address – Self generated IP address, automatically created by client.
  3. Unique Local Unicast Address – Equivalent to class A, B and C private network address of IPv4. Cannot be used for internet.
  4. Multicast Address – Begin with Binary value 11111111 or FF
  5. Anycast Address – Identifies routers within an address range.

IPv6 address can be allocated in 3 ways:

  1. Dynamic allocation – Through a DHCP v6 server
  2. Self-allocation (stateless address auto configuration) – If DHCP v6 server is not available, client will allocate IP v6 address on its own. Similar to APIPA.
  3. Manual allocation

Default duration of DHCP scope is 8 days (Windows 2012 R2 server)


IP Subnet


Admin IP – Server IP

Real IP – Load balanced IP (it could be an IP on the server but communicates with the Network device for load balance)


I have got this rather excellent Netmask address prefix from



NIC Teaming (NIC – Network Interface Card / Ethernet card)

NIC Teaming means a single VM or server is allocated with multiple NICs and they work as one single Virtual NIC.


  • Better performance
  • Fault tolerance

NIC teaming can be done at OS level. Microsoft calls NIC teaming as Load balancing / Failover (LBFO). Windows 2012 server supports upto 32 NIC. These 32 NICs can be different. Earlier Windows OS variants needs same NICs.


Network Address Translation (NAT)

NAT allows hosts with private IP address to access Internet through proxy devices.


TCP (Transmission Control Protocol) vs UDP (User Datagram Protocol)

UDP is better than TCP where performance is the requirement. And due to performance issues, a UDP packet used for DNS is limited to 512 bytes, if your payload goes above 512 bytes, then TCP will be used.

TCP involves very high overhead, because it includes multiple steps and procedures to establish a TCP connection, that can slow the entire process.

More details: