This form allows you to convert from IPv4 to IPv6 and back. In some configurations IPv4 addresses can be written or used in IPv6 notation or they become part of an IPv6 address. Link Broadcast - this is sent to all hosts on the same network link, but does not cross routers there is no default gateway or broadcast for multicasting Multicasts (former Class D network) - Warning: the data shown when you click this network is not completely accurate - e.g. TEST-NET-2, Documentation and examples TEST-NET-3, Documentation and examples Network benchmark tests, this should never be used in production networks. MacOS and Linux with Avahi installed) and are only usable for local communication in the LAN segment. These are automatically generated by some operating systems and (e.g. The entire 127.*.*.* network is reserved for (host-)local networking. Is the localhost address, used by each host to talk to itself, there is always a special loopback interface preconfigured with this address, you never assign it to a real network device. The whole network 0.*.*.* is reserved for special purposes (like DHCP).ġ0.*.*.* 172.16.*.* - 172.31.*.* 192.168.*.*Īre private addresses - you can use them freely within your own LAN. The "ANY" address that is used by programs to speak to all network interfaces, it is never used directly. The last six input formats shown above are not part of any standard.The following special addresses and networks exist in IPv4: The following are examples of input formats that are accepted: '08:00:2b:01:02:03:04:05' Leading and trailing whitespace is ignored. The number of hex digits must be either 16 (8 bytes) or 12 (6 bytes). Generally speaking, any input which is comprised of pairs of hex digits (on byte boundaries), optionally separated consistently by one of ':', '-' or '.', is accepted. The function macaddr8_set7bit is provided to make this change. Note that IPv6 uses a modified EUI-64 format where the 7th bit should be set to one after the conversion from EUI-48. MAC addresses given in 6 byte format will be stored in 8 byte length format with the 4th and 5th bytes set to FF and FE, respectively. This type can accept both 6 and 8 byte length MAC addresses and stores them in 8 byte length format. The macaddr8 type stores MAC addresses in EUI-64 format, known for example from Ethernet card hardware addresses (although MAC addresses are used for other purposes as well). The remaining five input formats are not part of any standard. PostgreSQL makes no provisions for bit reversal, and all accepted formats use the canonical LSB order. This convention is widely ignored nowadays, and it is relevant only for obsolete network protocols (such as Token Ring).
IEEE Std 802-2001 specifies the second shown form (with hyphens) as the canonical form for MAC addresses, and specifies the first form (with colons) as the bit-reversed notation, so that 08-00-2b-01-02-03 = 01:00:4D:08:04:0C. Output is always in the first of the forms shown. Upper and lower case is accepted for the digits a through f. These examples all specify the same address.
Input is accepted in the following formats: '08:00:2b:01:02:03' The macaddr type stores MAC addresses, known for example from Ethernet card hardware addresses (although MAC addresses are used for other purposes as well).