Transitioning To Ipv6: Address Space Management
Transitioning To Ipv6: Address Space Management
Transitioning To Ipv6: Address Space Management
Transitioning to IPv6
BSCI v3.0—2-1
Why Do We Need a Larger
Address Space?
• Internet population
– Approximately 973 million users in November 2005
– Emerging population and geopolitical address space
• Mobile users
– PDA, pen tablet, notepad, and so on
– Approximately 20 million in 2004
• Mobile phones
– Already 1 billion mobile phones delivered by the industry
• Transportation
– 1 billion automobiles forecast for 2008
– Internet access in planes, for example, Lufthansa
• Consumer devices
– Sony mandated that all its products be IPv6-enabled by 2005
– Billions of home and industrial appliances
IPv4 and IPv6
Format:
• x:x:x:x:x:x:x:x, where x is a 16-bit hexadecimal field
– Case-insensitive for hexadecimal A, B, C, D, E, and F
• Leading zeros in a field are optional
• Successive fields of zeros can be represented as :: only once per address
Examples:
• 2031:0000:130F:0000:0000:09C0:876A:130B
– Can be represented as 2031:0:130f::9c0:876a:130b
– Cannot be represented as 2031::130f::9c0:876a:130b
• FF01:0:0:0:0:0:0:1 FF01::1
• 0:0:0:0:0:0:0:1 ::1
• 0:0:0:0:0:0:0:0 ::
IPv6 Address Types
• Unicast:
– Address is for a single interface
– IPv6 has several types (for example, global, reserved, link-local, and
site-local)
• Multicast:
– One-to-many
– Enables more efficient use of the network
– Uses a larger address range
• Anycast:
– One-to-nearest (allocated from unicast address space)
– Multiple devices share the same address
– All anycast nodes should provide uniform service
– Source devices send packets to anycast address
– Routers decide on closest device to reach that destination
– Suitable for load balancing and content delivery services
IPv6 Unicast Addressing
IPv6 has the same address format for global unicast and for
anycast addresses.
Uses a global routing prefix—a structure that enables aggregation upward,
eventually to the ISP.
Global unicast start with 3 bit 001-> 2000::/3
Every IPv6-enabled interface contains at least one loopback (::1/128)
and one link-local address.
Optionally, every interface can have multiple unique local and global
addresses.
Link-Local Addresses
Link-local addresses have a scope limited to the link and are dynamically
created on all IPv6 interfaces by using a specific link-local prefix FE80::/10
and a 64-bit interface identifier.
Link-local addresses are used for automatic address configuration, neighbor
discovery, and router discovery. Link-local addresses are also used by many
routing protocols.
When communicating with a link-local address, you must specify the outgoing
interface because every interface is connected to FE80::/10.
Unique – local Unicast
Address Used
FF02::1 All hosts on the Link
FF02::2 All Routers on the Link
FF02::5, FF02::6 OSPFv3
FF02::9 RIPng
FF02::A EIGRPv6
Assigning IPv6 Global Unicast Addresses
Static assignment
– Manual interface ID assignment
– EUI-64 interface ID assignment
Dynamic assignment
Stateless autoconfiguration
DHCPv6 (stateful)
IPv6 EUI-64 Interface Identifier
Similar to IPv4
• Same mechanisms, but a major rewrite of the internals of the
protocol
Updated features for IPv6
• Every IPv4-specific semantic removed
• Carry IPv6 addresses
• Link-local addresses used as source
• IPv6 transport
• OSPF for IPv6 currently an IETF proposed standard
OSPFv3 Differences from OSPFv2
When both IPv4 and IPv6 are configured on an interface, the interface
is considered dual-stacked.
IPv6 Tunneling
RouterX(config)#
ipv6 unicast-routing
Enables IPv6 traffic forwarding
RouterX(config-if)#
ipv6 address ipv6prefix/prefix-length eui-64
Configures the interface IPv6 addresses
IPv6 Address Configuration Example
Configuring Static route for IPv6
RouterX(config)#ipv6 unicast-routing
RouterX(config)#ipv6 route prefix/prefix-
length [ip next-hop|output interface]
Configuring and Verifying RIPng for IPv6
RouterX(config)#
ipv6 router rip tag
Creates and enters RIP router configuration mode
RouterX(config-if)#
ipv6 rip tag enable
Configures RIP on an interface
• Similar to OSPFv2
– Prefixes existing interface and EXEC mode commands with
“ipv6”
• Interfaces configured directly
– Replaces network command
• “Native” IPv6 router mode
– Not a submode of router ospf command
Enabling OSPFv3 Globally
ipv6 unicast-routing
!
ipv6 router ospf 1
router-id 2.2.2.2
Enabling OSPFv3 on an Interface
interface Ethernet0/0
ipv6 address 3FFE:FFFF:1::1/64
ipv6 ospf 1 area 0
OSPFv3 Configuration Example
Router1#
interface S1/1
ipv6 address 2001:410:FFFF:1::1/64
ipv6 ospf 100 area 0
interface S2/0
ipv6 address 3FFE:B00:FFFF:1::2/64
ipv6 ospf 100 area 1
Router2#
interface S3/0
ipv6 address 3FFE:B00:FFFF:1::1/64
ipv6 ospf 100 area 1
RouterX(config)#ipv6 unicast-routing
RouterX(config)#ipv6 router eigrp AS
RouterX(config-router)#eigrp router-id id
RouterX(config-router)#no shutdown
RouterX(config)#interface interface-id
RouterX(config-if)#ipv6 eigrp AS
IPv6 on Windows XP