enum

Ipconv::IPv4::Special

Inherits Enum < Comparable < Value < Object

Special-purpose IPv4 address designations as defined by IANA / RFC registries.

Constants

Unspecified = 0

0.0.0.0/32 address representing an unspecified target or source.

Private = 1

RFC 1918 private networking ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16).

Loopback = 2

RFC 1122 loopback range (127.0.0.0/8).

LinkLocal = 3

RFC 3927 dynamic configuration link-local range (169.254.0.0/16).

CarrierGradeNAT = 4

RFC 6598 Carrier-Grade NAT / Shared address space (100.64.0.0/10).

Documentation = 5

RFC 5737 documentation ranges TEST-NET-1, TEST-NET-2, TEST-NET-3.

Benchmarking = 6

RFC 2544 network interconnect benchmark testing range (198.18.0.0/15).

IETFProtocol = 7

RFC 6890 IETF protocol assignments (192.0.0.0/24).

Broadcast = 8

Limited broadcast address (255.255.255.255/32).

Multicast = 9

RFC 5771 multicast address range (224.0.0.0/4).

Reserved = 10

Reserved for future use (240.0.0.0/4).

None = 11

No special designation (routable public unicast).

Instance methods

benchmarking?

Returns true if this enum value equals Benchmarking

Source
broadcast?

Returns true if this enum value equals Broadcast

Source
carrier_grade_nat?

Returns true if this enum value equals CarrierGradeNAT

Source
documentation?

Returns true if this enum value equals Documentation

Source
ietf_protocol?

Returns true if this enum value equals IETFProtocol

Source
loopback?

Returns true if this enum value equals Loopback

Source
multicast?

Returns true if this enum value equals Multicast

Source
none?

Returns true if this enum value equals None

Source
private?

Returns true if this enum value equals Private

Source
reserved?

Returns true if this enum value equals Reserved

Source
unspecified?

Returns true if this enum value equals Unspecified

Source