60

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,134
  • 3
  • 10
  • 16

2 Answers2

78

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

Samar
  • 1,106
  • 8
  • 6
18

::/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
  • 35,011
  • 5
  • 69
  • 94