跳到主要内容
uencoder

转换 between IPv4 and IPv6 address formats

转换 IP addresses between dotted-decimal, hex, binary, and IPv6 representations. Understand IPv4-mapped IPv6 addresses.

  1. 1

    IPv4 addresses 是 32-位 values shown as four 十进制 octets (192.168.1.1). IPv6 是 128-位 shown as eight hex groups (2001:db8::1). IPv4 能够是 embedded 在 IPv6 as ::ffff:192.168.1.1 (IPv4-mapped). Understanding 这些 formats 是必要为 网络配置和 debugging.

  2. 2
    IP 信息查询器 →

    Look 上 IP address 到 see 其类型 (IPv4/IPv6), 类, 和范围信息. 此 helps 识别是否 address 是私有, 公共, loopback, 或 multicast.

  3. 3
    十六进制编码器 →

    将 an IPv4 address 转换为 its hexadecimal representation. 192.168.1.1 → 0xC0A80101. This is useful for packet analysis and low-level network programming

  4. 4
    二进制编码器 →

    将 an IP address 转换为 binary. 192.168.1.1 → 11000000.10101000.00000001.00000001. This reveals the network/host boundary and is useful for subnet calculation

常见问题

什么是 IPv4-mapped IPv6 address?
它是 IPv6 address 该 embeds IPv4 address: ::ffff:.b.c.d (e.g., ::ffff:192.168.1.1). 此 allows IPv6 sockets 到通信具有 IPv4 hosts 期间 IPv6 transition. 第一 80 bits 是零, 下一个 16 是 1 (ffff), 最后 32 是 IPv4 address.
为什么是 那里两者 IPv4 和 IPv6?
IPv4 有 4.3 billion addresses, 哪个是 exhausted. IPv6 有 3.4×10^38 addresses, solving shortage. IPv6 also 有 simplified 头结构, 否 need 为 NAT, 和 built-in 安全 (IPsec). transition 是 ongoing — 最多 networks 支持两者 (dual-stack).

解决此任务的工作流

相关工具