Methods for specifying IP addresses

Storage Advisor Embedded User Guide

Version
93-07-2x
88-08-12
Audience
anonymous
Part Number
MK-97HM85022-25

CCI supports the following methods for specifying IP addresses.

For IPv4
  • Method 1: a.b.c.d

    IPv4 dotted-decimal notation that separates an IPv4 (4-byte) IP address in units of one byte using dots. This is the most common method. CCI uses this format when it displays IPv4 IP addresses.

    Example

    Decimal representation of a class C IP address using method 1

    192.168.1.1

  • Method 2: a.b.c

    This notation separates an IPv4 (4-byte) IP address into two sets of eight bits (one byte) and one set of 16 bits (two bytes) using dots.

    Example

    Decimal representation of a class C IP address using method 2

    192.168.257 (192.168.1.1 when expressed using method 1)

  • Method 3: a.b

    This notation separates an IPv4 (4-byte) IP address into one set of eight bits (one byte) and one set of 24 bits (three bytes).

    Example

    Decimal representation of a class C IP address using method 3

    192.11010305 (192.168.1.1 when expressed using method 1)

  • Method 4: a

    This notation represents an IPv4 (4-byte) address as a 4-byte value.

    Example

    Decimal representation of a class C IP address using method 4

    3232235777 (192.168.1.1 when expressed using method 1)

    When prefixed with "0", a, b, c, and d above are treated as octal numbers. When prefixed with "0x", a, b, c, and d above are treated as hexadecimal numbers.

    Example

    Hexadecimal representation of a class C IP address using method 1

    0xc0.0xa8.0x01.0x01 (192.168.1.1 when expressed in decimal notation)

    For IPv6

    The specification methods defined in RFC 2373 can be used.