Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I run netstat there are some entries such as TCP [::]:8010 computername LISTENING

What does that mean? It is impossible to search for...

share|improve this question
    
My knowledge is not up to giving a proper answer, but I do recognise it as IPv6. –  Hennes Nov 1 '12 at 21:23
4  
Oh so I guess it is the equivalent of 0.0.0.0 in IPv6? –  carpat Nov 1 '12 at 21:24
    
Yep, that's the gist of it. –  MDMarra Nov 1 '12 at 21:32

2 Answers 2

up vote 26 down vote accepted

:: is used to replace consecutive blocks of zeroes in the middle of an IPv6 address. It can be any length of zeroes as long as it is greater than a single block. All zeroes in a single block can be represented by :0: instead of writing out all four zeroes.

In this case, it means all zeroes, or the IPv6 equivalent of the IPv4 0.0.0.0


As an example of something that is not all zeroes:

fe80:0000:0000:0000:34cb:9850:4868:9d2c

Which is properly "reduced" to:

fe80::34cb:9850:4868:9d2c

As an example, it can also be written as:

fe80:0:0:0:34cb:9850:4868:9d2c

but that is far less common than just "double coloning" it.

share|improve this answer
1  
Can you give an example of a v6 address that isn't all zeros –  Greg B Nov 2 '12 at 19:43
2  

:: is the IPv6 "unspecified" address, equivalent to 0.0.0.0 - the [] is notation to separate the address from the port specifier.

A program bound to :: will be given traffic for any actual IPv6 address assigned to the system - it may also receive IPv4 traffic too in the form of IPv6-mapped IPv4 addresses (::ffff:x.x.x.x) although this is dependent on the socket options set by the application.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.