56

When describing IPv4 networks, I can use 0.0.0.0/0 or just 0/0 to specify all networks. What is the equivalent notation for IPv6?

Andrew
  • 1,084
  • 2
  • 10
  • 16

2 Answers2

71

The IPv6 equivalent of IPv4's 0.0.0.0 is ::/0.

Samar
  • 1,036
  • 8
  • 6
16

::/0 is the short-form, but you could also write out all the zeros if you want. 0000:0000:0000:0000:0000:0000:0000:0000/0

Håkan Lindqvist
  • 33,741
  • 5
  • 65
  • 90