About IP Addresses

For one computer on the Internet to send data to a different computer, it must know the address of that computer. A computer address is known as an Internet Protocol (IP) address. All devices on the Internet have unique IP addresses, which enable other devices on the Internet to find and interact with them.

Fireware supports both IPv4 and IPv6 addresses. IPv6 addresses are supported only when the Firebox is configured in mixed routing mode.

For more information about Fireware support for IPv6, go to About IPv6 Support in Fireware.

IPv4 Addresses

An IPv4 address consists of four octets (8-bit binary number sequences) expressed in decimal format and separated by periods. Each number between the periods must be within the range of 0 and 255. Some examples of IPv4 addresses are:

  • 206.253.208.100
  • 4.2.2.2
  • 10.0.4.1

Private Addresses and Gateways 

Many companies create private networks that have their own address space. The addresses 10.x.x.x and 192.168.x.x are reserved for private IP addresses. Computers on the Internet cannot use these addresses. If your computer is on a private network, you connect to the Internet through a gateway device that has a public IP address.

Usually, the default gateway is the router that is between your network and the Internet. After you install the Firebox on your network, it becomes the default gateway for all computers connected to its trusted or optional interfaces.

About Subnet Masks 

For better security and performance, networks are often divided into smaller portions called subnets. All devices in a subnet have similar IP addresses. For example, all devices that have IP addresses whose first three octets are 10.0.1 belong to the same /24 subnet.

The subnet mask for a network IP address, or netmask, is a series of bits that mask sections of the IP address that identify which parts of the IP address are for the network and which parts are for the host. A subnet mask can be written in the same way as an IP address, or in slash or CIDR notation. Firebox configuration settings always use slash notation. For more information, go to About Slash Notation.

When you configure an interface IP address for a Firebox or other network device, the device listens for connections to that specific IP address. The subnet mask defines the local network connected to that interface, but the Firebox listens for connections only to the configured interface IP address.

IPv6 Addresses

IPv6 increases the IP address size from the 32 bits found in IPv4 to 128 bits. This allows for a more structured hierarchy in addresses, and supports a much larger total number of addresses.

IPv6 Address Format

An IPv6 address contains eight groups of 16-bit hexadecimal values, separated by colons (:). The hexadecimal digits are not case-sensitive. Some examples of IPv6 addresses are:

  • 2561:1900:4545:0003:0200:F8FF:FE21:67CF
  • 2260:F3A4:32CB:715D:5D11:D837:FC76:12FC
  • FE80:0000:0000:0000:2045:FAEB:33AF:8374

The first four groups of 16-bit hexadecimal values represent the network. The last four groups of 16-bit hexadecimal values are the interface ID that uniquely identifies each networked device. This value is usually derived from the MAC address of the device.

You cannot use these special-purpose IP addresses as an IPv6 interface address:

  • IP addresses that start with 2002, unless bits 17–48 specify a valid IPv4 address
  • IP addresses that start with FE80 (specifies a link local address)
  • IP addresses that start with FEC0 (specifies a site local address)
  • IP addresses that start with FF(used for IPv6 multicast addresses)

Shorten an IPv6 Address

There are two ways you can shorten the notation of an IPv6 address:

  • Remove leading zeros — In each 16-bit hexadecimal address group, you can remove the leading zeros. For example, these two IPv6 addresses are equivalent:

2561:1900:4545:0003:0200:F8FF:FE21:67CF

2561:1900:4545:3:200:F8FF:FE21:67CF

  • Remove groups of zeros — If an IPv6 address contains adjacent groups of 16-bit hexadecimal values that are all zeros (0000), you can replace one group of adjacent blocks of zeros with two colons (::). For example, these two IPv6 addresses are equivalent:

FE80:0000:0000:0000:2045:FAEB:33AF:8374

FE80::2045:FAEB:33AF:8374

You can use two colons (::) only once in an IPv6 address to represent adjacent groups with all zeros.

IPv6 Prefix

The IPv6 prefix indicates the subnet associated with an IPv6 address. The prefix is expressed as a slash (/) followed by the prefix size, which is a decimal number between 1 and 128. The prefix size indicates how many bits of the address make up the network identifier prefix. Examples of IPv6 prefixes are:

  • /64 — Prefix used for a single subnet
  • /48 — Prefix used for a site that could have multiple subnets

Related Topics

About IPv6

Type An IP Address

About Slash Notation

About DNS (Domain Name System)

About Network Segmentation