Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm pretty much excited for IPv6 because of the large address room and (potential?) owning of more than one IP, or even tens of IPs (/122 subnet?)

Though one magazine has now confused me.

In a current issue (no. 3) of "CT", a German computer magazine, I read that when using IPv6 your IP address consists of your MAC address and various other things, and that this address will be public on the web, no matter what access point / LAN you connect to.

My knowledge of IP(v6) is in contrary of this. I thought you will normally always have a a local network IP and NAT takes care of your Internet access, and your provider gives the NAT router an IP.

I've heard of the 6to4 interface, but does this one give you your own ip in the IPv6 net?

Personally I hope it still is through a personal IP space (like 192.168, 127.16-31, 10. in IPv4) in private networks with a NAT going to the Internet. And also I hope that providers will offer subnets to private customers so they don't have to use NAT anymore. Yay for converting your LAN into the WAN and using better security (so Computers from the same subnet still get access rights like normal).

share|improve this question
    
On the Internet, no one cares what your MAC address is. –  Ignacio Vazquez-Abrams Feb 23 '11 at 15:20
2  
Still your MAC address uniquely identifies your device wherever it is! If someone outside would get ahold of it he could track you. –  sinni800 Feb 23 '11 at 15:28
add comment

3 Answers 3

up vote 3 down vote accepted

Your magazine is right. IPv6 address consists of two parts: network prefix and host address.

If host address is not assigned, then computer autogenerates it, usually by using MAC address. Which means your IP includes something that uniquely identifies you, not depending on what network you are using.

See for example Wikipedia page for more information. There is also another post in superuser.com explaining how to disable using MAC address in different operating systems.

share|improve this answer
    
So the one that the computer generates is the Link Local address? It makes sense when you can clarify that. –  sinni800 Feb 24 '11 at 8:49
    
@sinni800: usually network router advertises network prefix, and host generates host address. That's not link-local (as in link-local addresses in IPv4), it's visible to public internet when you connect to somewhere. –  Olli Feb 24 '11 at 8:57
    
Wow, this completely answered what I was trying to get. So you now USUALLY don't just give the NIC the whole address, but rather just give it the network portion by DHCPv6 and the host itself makes the host portion? –  sinni800 Feb 24 '11 at 10:08
    
@sinni800: it really depends on network configuration. I think normally IPv6 network is configured with for example radvd (Router Advertisement Daemon). That way computer gets network prefix and router address. Then computer selects host address automatically. But you can also use DHCPv6 (but not all operating systems include (native) IPv6 DHCP client). That way local router/server provides full address to client (your computer). –  Olli Feb 24 '11 at 11:24
    
Ah, okay. I'll read into this, thanks! –  sinni800 Feb 25 '11 at 9:01
add comment

There is no "private" IP addresses in IPv6. (There is LinkLocal, but that is a bit different).

NAT Will no longer exist. Most companies trialing it, such as comcast, are giving out 32 bit addresses to each consumer modem. that would give you 4 billion IP addresses to use with your connection. (right about how many IPv4 Addresses there are in the world right now)

Firewalls will still be critical, but will not have to do NAT anymore. Things like person to person video chat will really work correctly.

share|improve this answer
    
Ahhh. Thanks a lot, this does not clear the MAC thing the magazine explained though. They said that you'll have a public ipv6 address which consists of your mac and some other set things when you connect to a network, not how you just said it... –  sinni800 Feb 23 '11 at 15:29
    
This is quite misleading. See for example en.wikipedia.org/wiki/IPv6#Address_Format , "The host address is often automatically generated from the interface MAC address.". Your magazine is right on this thing. –  Olli Feb 23 '11 at 15:48
    
Hmmm. So WHEN is the host address generated from the MAC address. Only at link-local level or where? –  sinni800 Feb 24 '11 at 8:50
    
Uh.. About the comcast thing. Do they give you a /32 SUBNET or 32 bit of HOST ADDRESSES? If it was 32 bit of host addresses we'd have a /96 net. –  sinni800 Feb 25 '11 at 9:02
add comment

There are only public IP addresses in IPv6. Thus, no NATing will be required at all.

The smallest block of IPs possible will be in the thousands, not just a few. Each person will be allocated thousands of IPv6 addresses.

There will be enough IPv6 addresses for every molecule on the face of the earth to have its own address (not inside the earth as well, just the face).

share|improve this answer
add comment

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.