IPv6 Notes

IPv6 Notes


128BIT
8octets
each octet = 16 bits
Example:
2001:0050:0000:0000:0000:0AB4:1E2B:98AA
Zero compression:
2001:0050::0AB4:1E2B:98AA
Leading Zero:
2001:50::AB4:1E2B:98AA
-------------------------------------------------------------------------------------------------------------
Unicast: One to One
Multicast: One to Many
Anycast: One to Closest
To provide easier v4 to v6 transition:

Dual Stack Routers - Routers that run both 4 and 6 at the same time. v4 clients can still use v4 internet, but also v6, and v6 to v6 and v4. ISPs will be able to translate your v4 to v6 and v6 to v4.
Tunneling 6to4 and 4to6 - if you're connecting to v6 internet with v4 host and are trying to connect to a remote v4, a 6to4 will tunnel v4 through v6 back to v4. Vice versa for 6
NAT-PT - Will NAT v6 to v4 and NAT v4 to V6 on the internet:
internal v4 can be NAT out to a v6 and vice versa
x.x.x.x:1234 -> nat -> x:x:x:x::x:1234
-------------------------------------------------------------------------------------------------------------
Link local scope address: Layer 2 domain 
----------------------------------------------
Assigned automatically as an IPv6 host comes online.
Like a 169.254.*.* ipv4 self assigned. 
However this will be assigned by a host anyway.
Will start with FE80 (1111 1110 10) followed by 54 bits of zeros (this makes the first part of the 64 bit ipv6 address)
Last 64 bits is the 48-bit Mac address with FFFE in the middle.
This address is the equivalent to an IPv4 internal address used to communicate with another host in a broadcast domain.

Unique / (Site) Local Scope Address: Organization (RFC4193) Site (RFC 3513)
----------------------------------------------
Used within Enterprise networks to ID the boundaries of their networks.
Starts with FC00::/7 1111 110(l) - 1 = Locall Assigned | 0 = Future Use
1111 110(l) - (40bit)Global ID [everyone in your organization will use this] - (16bit)subnet ID[vlans/wanlinks/etc] - (64bit)Interface ID[spliced into mac address/from dhcpv6/etc]

Global Scope Address: Internet (or internet 2) These are you public address (internet ip addresses)
----------------------------------------------
starts with 2000::/3 (001)
Global Routing Prefix is 48bits or less
Subnet ID is composed of whatever bits are left over after global routing prefix
The Primary addresses expected to compose the IPv6 internet are from the 2001::/16 subnet
Global routing prefix starts with 2xxx+48 - 64-n bits [subnet id] - last 64 is interface
example: WAN interface 2001:210:10:1::1/64 would ptp with 2001:210:10:1::2/64
-------------------------------------------------------------------------------------------------------------
router(config)#ipv6 unicast routing - turns on ipv6 routing
router(config-if)#ipv6 address x:x:x:x::x/(0-128) - assign an interface an ipv6 address.
router#ping ipv6 x:x:x:x::x - version 6 of ping
router(config)#ipv6 router rip 1 - turns on RIPng for ipv6 - after this, you don't even need to add network statements. (1 is just a process ID)
router(config-if)#ipv6 rip 1 enable - turns RIPng on the interface
----------------------------------------------
IPv6 Routing Protocols:
RIPng (rip next gen)
OSPFv3
IS-IS for IPv6
EIGRP for IPv6
MP-BGPP4
Advertisements

One response to “IPv6 Notes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s