Professional Documents
Culture Documents
Gter24 Introduction To Ipv6: Igor Giangrossi
Gter24 Introduction To Ipv6: Igor Giangrossi
Gter24 Introduction To Ipv6: Igor Giangrossi
In tr o d u c tio n to IP v 6
Igor Giangrossi
igor.giangrossi@cisco.com
B R K R S T -1 3 0 0
1 3 7 4 5 _ 0 5 _ 2 0 0 7 _ c 2 ©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 1
W h y IP v 6 ?
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 2
A Need for IPv6?
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 5
I P v 6 Te c h n o l o g y
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 6
IPv4 a n d IPv6 H ea der C om p a ri s on
IP v 4 H e ad e r IP v 6 H e ad e r
T y p eo f
V ers i o n I H L T o tal L ength T raf f i c
S erv i c e V ers i o n Fl o w L ab el
C l as s
Fragment
I d enti f i c ati o n Fl ags
O f f s et
N ex t
T i me to L i v e P ro to c o l H ead er C h ec k s u m P ay l o ad L ength H o p L i mi t
H ead er
S o u rc e A d d res s
D es ti nati o n A d d res s
O p ti o ns P ad d i ng S ou rc e Address
Field’s N a m e K ep t f r o m IP v 4 to IP v 6
Legend
Fields N o t K ep t in I P v 6
N a m e a n d P o s it io n C h a n g ed in I P v 6
Destination Address
N ew Field in I P v 6
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 7
IPv6 H ea der New F i el d—F l ow L a b el
( R F C 3 69 7 )
2 0-B it Flow L abel Field to Identif y S p ec if ic Flow s
N eeding S p ec ial Q oS IP v 6 H e ad e r
F l ow c l assif iers h ad b een b ased on
5-tu p l e: S ou rc e/ destination address, V ers i o n T raf f i c C l as s F l ow L ab el
p rotoc ol ty p e and p ort nu m b ers of
transp ort P ay l o ad L ength
N ex t H o p
H ead er L i mi t
S om e of th ese f iel ds m ay b e
u nav ail ab l e du e to f rag m entation,
enc ry p tion or l oc ating th em p ast S o u rc e A d d res s
ex tension h eaders
W ith f l ow l ab el , eac h sou rc e c h ooses
its ow n f l ow l ab el v al u es; rou ters u se
sou rc e addr + f l ow l ab el to identif y D es ti nati o n A d d res s
distinc t f l ow s
F l ow l ab el v al u e of 0 u sed w h en no
sp ec ial Q oS req u ested ( th e c om m on
c ase today )
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 8
E x t en s i on H ea ders
Base header
N ex t H eader = 0
IPv6 Base Header
( 4 0 o c t et s)
1st E x t en si o n
H eader 0 o r m o re IPv6
N ex t H eader… = 4 3
E x t en si o n Headers Pa c k e t
L ast E x t en si o n
H eader
N ex t H eader = 17 D at a
E xt Hdr D ata
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 9
M T U Is s u es
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 11
IP v 6 A d d r e s s in g
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 13
IPv6 Addres s i n g
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 14
Addres s i n g F orm a t
R ep resentation
1 6-bit h ex adec im al nu m bers
N u m bers are sep arated by ( : )
H ex nu m bers are not c ase sensitive
Abbreviations are p ossible
L e ad ing z e ros in cont iguous b l ock coul d b e re p re se nt e d b y (: : )
E x amp l e :
2 001 : 0d b 8 : 0000: 1 3 0F : 0000: 0000: 08 7 C : 1 4 0B
2 001 : 0d b 8 : 0: 1 3 0F : : 8 7 C : 1 4 0B
D oub l e col on onl y ap p e ars once in t h e ad d re ss
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 16
Addres s i n g
Pref ix R ep resentation
R ep resentation of p ref ix is j u st lik e C ID R
In th is rep resentation you attac h th e p ref ix length
L ik e v4 address:
1 9 8 .1 0.0.0/ 1 6
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 17
IPv6—Addres s i n g M odel
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 19
T y p es of IPv6 Addres s es
U nic ast
A d d re ss of a singl e int e rf ace . O ne -t o-one d e l iv e ry t o singl e
int e rf ace
M u ltic ast
A d d re ss of a se t of int e rf ace s. O ne -t o-many d e l iv e ry t o al l
int e rf ace s in t h e se t
Anyc ast
A d d re ss of a se t of int e rf ace s. O ne -t o-one -of -many d e l iv e ry t o
a singl e int e rf ace in t h e se t t h at is cl ose st
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 21
Ag g reg a t a b l e G l ob a l U n i c a s t Addres s es
Pr o vi d e r S ite H o s t
3 4 5 Bi t s 1 6 Bi t s 64 Bi t s
G l o b al R o u ti n g P ref i x S L A I n terf ac e I D
0 0 1
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 22
U n i q u e-L oc a l
1 2 8 Bi t s
G l o b al I D 4 0 B i ts I n terf ac e I D
1111 110 S u b n et I D
F C 0 0 ::/ 7
16 B i ts
7 Bi t s
1 2 8 Bi t s
R em ai n i n g 5 4 B i ts I n terf ac e I D
1111 1110 10
F E 8 0 ::/ 10
1 0 Bi t s
Link-Lo c a l A d d r e s s e s U s e d f o r :
M andatory Address f or C om m u nic ation b etw een tw o I P v 6 dev ic e
( l ik e AR P b u t at L ay er 3 )
Au tom atic al l y assig ned b y R ou ter as soon as I P v 6 is enab l ed
Al so u sed f or N ex t-H op c al c u l ation in R ou ting P rotoc ol s
O nl y L ink S p ec if ic sc op e
R em aining 54 b its c ou l d b e Z ero or any m anu al c onf ig u red v al u e
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 24
IPv6 M u l t i c a s t Addres s
L if e t ime S cop e
0 I f P erm anent
1 N ode
2 L ink
1 I f T em p orary
5 S ite
8 O rg aniz ation
E G l ob al
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 25
S om e W el l K n ow n M u l t i c a s t Addres s es
Address S c op e M eaning
F F 0 1: : 1 N ode-L oc al Al l N odes
F F 0 2: : 1 L ink -L oc al Al l N odes
F F 0 1: : 2 N ode-L oc al Al l R ou ters
F F 0 2: : 2 L ink -L oc al Al l R ou ters
F F 0 5: : 2 S ite-L oc al Al l R ou ters
F F 0 2: : 1: F F X X : X X X X L ink -L oc al S ol ic ited-N ode
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 28
IPv6 Addres s Al l oc a t i on Proc es s
Partition of Alloc ated IPv6 Address S p ac e
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 33
IPv6 Addres s Al l oc a t i on Proc es s
Partition of Alloc ated IPv6 Address S p ac e ( C ont. )
Lo w e s t -O r d e r 6 4 -b it f ie l d
o f u nic a s t a d d re s s m a y
b e a s s ig ne d in s e v e r a l
d if f e r e nt w a y s :
Au to-c onf ig u red f rom a 6 4 -b it
E U I -6 4 , or ex p anded f rom a
4 8 -b it M AC address
( e. g . , E th ernet address)
Au to-g enerated
p seu do-random nu m b er
( to address p riv ac y c onc erns)
Assig ned v ia DH C P
M anu al l y c onf ig u red
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 34
IPv6 In t erfa c e Iden t i fi er
C isco use s t h e E U I -6 4
f ormat t o d o st at e l e ss 0 0 9 0 2 7 1 7 F C 0 F
aut o-conf igurat ion
T h is f ormat e x p and s t h e 4 8 0 0 9 0 2 7 1 7 F C 0 F
b it M A C ad d re ss t o 6 4 b it s
F F F E
b y inse rt ing F F F E int o t h e
mid d l e 1 6 b it s 0 0 9 0 2 7 F F F E 1 7 F C 0 F
T o mak e sure t h at t h e
1 =U n iq u e
ch ose n ad d re ss is f rom 0 0 0 0 0 0 U 0 W h e re U =
a uniq ue E t h e rne t M A C 0 =N o t U n iq u e
ad d re ss, t h e univ e rsal / U =1
l ocal (“u” b it ) is se t t o 1 0 2 9 0 2 7 F F F E 1 7 F C 0 F
f or gl ob al scop e and 0
f or l ocal scop e
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 35
IC M P v 6 a n d
N e ig h b o r D is c o v e r y
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 36
IC M Pv6
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 37
Nei g h b or D i s c overy
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 4 0
R ou t er S ol i c i t a t i on a n d Advert i s em en t
1 . R S 2 . R A
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 4 1
Nei g h b or S ol i c i t a t i on a n d Advert i s em en t
A B
Neighbor Solicitation
I C M P ty p e = 1 3 5
Src = A
D s t = Solicited -nod e m u lticas t of B
D ata = link -lay er ad d res s of A
Q u ery = w hat is y ou r link ad d res s ?
Aa n d Bc a n n o w e x c h a n g e
p a c k e ts o n th is lin k
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 4 2
D u p l i c a t e Addres s D et ec t i on
A B
I C M P ty p e = 1 3 5
Src = 0 ( : : )
D s t = Solicited -nod e m u lticas t of A
D ata = link -lay er ad d res s of A
Q u ery = w hat is y ou r link ad d res s ?
M a c Ad d r e s s :
0 0 :2 c :0 4 :0 0 :F E :5 6
H o s t Au t o c o n fig u r e d S e n d s N e t w o r k -T y p e
Ad d r e s s Is : In f o r m a t i o n
Pr e f i x R e c e i ve d + ( Pr e f i x , D e f a u l t R o u t e , …)
L i n k -L a y e r Ad d r e s s
La r g e r A d d r e s s S p a c e E na b l e s :
T h e use of l ink -l ay e r ad d re sse s insid e t h e ad d re ss sp ace
A ut oconf igurat ion w it h “no col l isions”
O f f e rs “p l ug and p l ay ”
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 4 5
R en u m b eri n g
M a c Ad d r e s s :
0 0 :2 c :0 4 :0 0 :F E :5 6
H o s t Au t o c o n f i g u r e d S e n d s N e w N e t w o r k -T y p e
Ad d r e s s Is : In f o r m a t i o n
N e w Pr e f i x R e c e i ve d ( Pr e f i x , D e f a u l t R o u t e , …)
+ L i n k -L a y e r Ad d r e s s D a ta =T w o p r e fix e s :
C u r r e n t p r e fix (to b e
d e p r e c a t e d ), w i t h s h o r t
life tim e s
N e w p r e f i x ( t o b e u s e d ), w i t h
n o r m a l life tim e s
La r g e r A d d r e s s S p a c e E na b l e s :
R e numb e ring, using aut oconf igurat ion and mul t ip l e ad d re sse s
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 4 6
D H C P a n d D N S
fo r IP v 6
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 4 7
D NS B a s i c s
D N S is a d at ab ase managing R e source R e cord s (R R )
S to c k a g e o f R R fro m v a r i o u s t y p e s —I P V 4 a n d I P V 6 :
S t a r t o f A u t h o r i t y (S o A )
N a m e S e rv e r
A d d r e s s —A a n d A A A A
P o i n t e r —P T R
D N S is an I P ap p l icat ion
It u s e s e ith e r U D P o r T C P o n to p o f IP v 4o r IP v 6
R e f e re nce s
R F C 3 59 6 : D N S Ex t e n s i o n s t o S u p p o r t I P V e r s i o n 6
R F C 3 3 6 3 : R e p r e s e n tin g In te r n e t P r o to c o l V e r s io n 6 A d d r e s s e s in D o m a in
N a m e s y s t e m (D N S )
R F C 3 3 6 4: T r a d e o f f s i n D o m a i n N a m e S y s t e m (D N S ) S u p p o r t f o r I n t e r n e t
P r o t o c o l v e r s i o n 6 (I P v 6 )
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 4 8
IPv6 a n d D NS
IPv4 IPv6
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 4 9
D H C Pv6
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 50
D H C Pv6 O p era t i on
C lient R elay S erver
S o lic it
R e l a y -F w d
w /S o lic it
R e l a y -R e p l y
w / Ad ve r t i s e
Ad ve r t i s e
R e q u e s t
R e l a y -F w d
w /R e q u e s t
R e l a y -R e p l y
w /R e p ly
R e p ly
A l l _ D H C P _ R e l a y _ A g e n t s _ a n d _ S e r v e r s (F F 02: : 1: 2)
A l l _ D H C P _ S e r v e r s (F F 05: : 1: 3 )
D H C P M e s s a g e s : C l i e n t s l i s t e n U D P p o r t 546 ; s e r v e r s a n d r e l a y a g e n t s l i s t e n o n
U D P p o r t 547
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 51
IP v 6 C o n fig u r a tio n s
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 52
IO S IPv6 Addres s i n g E x a m p l es ( 1 )
M anu al Interf ac e Identif ier
F a s t0 /0
ipv6 u n ic a s t -r o u t in g
!
in t e r f a c e F a s t E t h e r n e t 0 / 0
ip a d d r e s s 1 0 . 1 5 1 . 1 . 1 2 5 5 . 2 5 5 . 2 5 5 . 0
ip pim s pa r s e -m o d e
d u pl e x a u t o
s pe e d a u t o
ipv6 a d d r e s s 2 0 0 6: 1 : : 1 / 64
ipv6 e n a b l e
ipv6 n d r a -in t e r va l 3 0
ipv6 n d pr e f ix 2 0 0 6: 1 : : / 64 3 0 0 3 0 0
!
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 53
IO S IPv6 Addres s i n g E x a m p l es ( 1 )
M anu al Interf ac e Identif ier
r1#sh ipv6 int fast0/0
F astE the rne t0/0 is u p, l ine pro to c o l is u p
I P v6 is e nab l e d , l ink -l o c al ad d re ss is F E 8 0 : : 2 0 7 : 5 0 F F : F E 5 E : 9 4 6 0
G l o b al u nic ast ad d re ss( e s) :
2 0 0 6 : 1 : : 1 , su b ne t is 2 006: 1: : /64
J o ine d g ro u p ad d re ss( e s) :
F F 02 : : 1
F F 02 : : 2
F F 02 : : 1: F F 00: 1
F F 02 : : 1: F F 5 E : 9 4 60
MAC Address : 0007.505e.9460
M T U is 15 00 b y te s
I C M P e rro r m e ssag e s l im ite d to o ne e ve ry 100 m il l ise c o nd s
I C M P re d ire c ts are e nab l e d
N D D r1#sh A D isint fast0/0
e nab l e d , nu m b e r o f D A D atte m pts: 1
N D re F astE the l rne
ac hab e t0/0
tim e isisu p 3 , 0000 l ine m p ilro l to ise
c o l c o is
nd u sp
N D ad H veardrtise w are d isre A ac
m d F hab
E , l ade d re
timsse is is0007 0 m . il5 05l e ise
. 9 4 c 6 o 0nd( b sia 0007 . 5 05 e . 9 4 6 0)
N D ad ve rtise d re transm it inte rval is 0 m il l ise c o nd s
N D ro u te r ad ve rtise m e nts are se nt e ve ry 3 0 se c o nd s
N D ro u te r ad ve rtise m e nts l ive fo r 18 00 se c o nd s
H o sts u se state l e ss au to c o nfig fo r ad d re sse s.
r1#
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 54
IO S IPv6 Addres s i n g E x a m p l es ( 2 )
EU I-64 Interf ac e Identif ier
F a s t0 /0
ipv6 u n ic a s t -r o u t in g
!
in t e r f a c e F a s t E t h e r n e t 0 / 0
ip a d d r e s s 1 0 . 1 5 1 . 1 . 1 2 5 5 . 2 5 5 . 2 5 5 . 0
ip pim s pa r s e -m o d e
d u pl e x a u t o
s pe e d a u t o
ipv6 a d d r e s s 2 0 0 6: 1 : : / 64 e u i-64
ipv6 e n a b l e
ipv6 n d r a -in t e r va l 3 0
ipv6 n d pr e f ix 2 0 0 6: 1 : : / 64 3 0 0 3 0 0
!
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 55
IO S IPv6 Addres s i n g E x a m p l es ( 2 )
EU I-64 Interf ac e Identif ier
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 56
I P v 6 Ro u t i n g
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 57
S t a t i c Ro u t i n g
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 58
S t a t i c R ou t i n g
ipv6 route ipv6-pref ix / prefix-l en g t h { ipv 6 -a d d res s | in t erfa c e-t y pe
in t erfa c e-n u m b er [ ipv 6 -a d d res s ] } [ a d m in is t ra t iv e-d is t a n c e]
[ a d m in is t ra t iv e-m u l t ic a s t -d is t a n c e | un ic a s t | m ul tic a s t] [ ta g t a g ]
Ex am p les:
F orw ard p ack e t s f or ne t w ork 2 001 : D B 8 : : 0/ 3 2 t h rough 2 001 : D B 8 : 1 : 1 : : 1
w it h an ad minist rat iv e d ist ance of 1 0
R o u te r( c o nfig ) # ipv6 ro u te 2 001: D B 8 : : 0/3 2 2 001: D B 8 : 1: 1: : 1 10
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 59
RI P n g ( RF C 20 8 0 )
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 60
E n h a n c ed R ou t i n g Prot oc ol S u p p ort
R IPn g O vervi ew R F C 2 0 8 0
co m m a n d v ers io n m u s t b e z ero co m m a n d v ers io n m u s t b e z ero
A d d res s F a m il y I d en tif ier R o u te T a g
I P v 4 A d d res s
I P v 6 p ref ix
S u b n et Ma s k
N ex t H o p
Metric ro u te ta g p ref ix l en m etric
Router1 # Router2# d eb ug i p v 6 ri p
i p v 6 router ri p RT 0 RI P n g : S en d i n g m ul ti c a s t up d a te on E th ern et0 f or RT 0
s rc = F E 8 0: : 26 0: 3 ef f : f e4 7 : 1 5 3 0
i n terf a c e E th ern et0 d s t= F F 02: : 9 ( E th ern et0)
i p v 6 a d d res s 2001 : d b 8 : c 1 8 : 1 : : / 6 4 eui -6 4 s p ort= 5 21 , d p ort= 5 21 , l en g th = 3 2
i p v 6 ri p RT 0 en a b l e c om m a n d = 2, v ers i on = 1 , m b z = 0, #rte= 1
I n terf a c e E th ern et1 ta g = 0, m etri c = 1 , p ref i x = : : / 0
i p v 6 a d d res s 2001 : d b 8 : c 1 8 : 2: : / 6 4 eui -6 4
i p v 6 ri p RT 0 en a b l e
M u lt ic a s t A ll L in k -L o c a l
R I P -R o u t er s s r c A ddr es s
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 62
D e p lo y m e n t O p tio n s
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 66
IPv4 -IPv6 T ra n s i t i on / C oex i s t en c e
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 67
D u a l S t a c k Ap p roa c h
I P v 6 -E n ab l e A p p l i c ati o n
A p p l i c ati o n
Pr e f e rre d
T C P U D P T C P U D P M e th o d o n
Ap p lic a t i o n ’s
S e r ve r s
IP v 4 IP v 6 IP v 4 IP v 6
F ra m e
0 x 0 8 0 0 0 x 8 6d d 0 x 0 8 0 0 0 x 8 6d d
Pr o t o c o l ID
D a t a L in k ( E t h er n et ) D a t a L in k ( E t h er n et )
D u a l S t a c k N o d e M e a ns :
B oth I P v 4 and I P v 6 stac k s enab l ed
Ap p l ic ations c an tal k to b oth
C h oic e of th e I P v ersion is b ased on nam e l ook u p and ap p l ic ation
p ref erenc e
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 68
C i s c o IO S D u a l S t a c k C on fi g u ra t i on
ro u te r#
ip v 6 u nic ast-ro u ting
D u a l -S t a c k inte rfac e E the rne t0
R o u te r ip ad d re ss 19 2. 16 8 . 9 9 . 1 25 5 . 25 5 . 25 5 . 0
IPv6 a n d IPv4 ip v 6 ad d re ss 2001:d b 8 :213:1::/6 4 e u i-6 4
N e tw o rk
I P v 4 : 19 2. 16 8 . 9 9 . 1
I P v 6 : 20 0 1:db 8 :213:1::/ 6 4 eu i -6 4
C is c o I O S ® I s I P v 6 -E na b l e :
I f I P v 4 and I P v 6 are c onf ig u red on one interf ac e, th e rou ter is du al -stac k ed
T el net, P ing , T rac erou te, S S H , DN S c l ient, T F T P , etc .
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 70
Tu n n e l i n g
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 71
T u n n el i n g
M any Ways to D o Tu nneling
S om e ideas sam e as bef ore
G R E , M P L S , IP
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 72
M a n u a l l y C on fi g u red IPv6 over
IPv4 T u n n el
D u a l -S t a c k D u a l -S t a c k
R o u te r1 R o u te r2
IPv4 IP v 6
IP v 6
n etw o rk n etw o rk
IPv4 : 1 9 2 . 1 68 . 9 9 . 1 IPv4 : 1 9 2 . 1 68 . 30 . 1
IPv6: 2 0 0 1 : d b 8 : 8 0 0 : 1 : : 3 IPv6: 2 0 0 1 : d b 8 : 8 0 0 : 1 : : 2
ro u te r1# ro u te r2#
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 74
6 t o 4 Tu n n e l i n g
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 75
Au t om a t i c 6t o4 T u n n el ( R F C 3 0 5 6)
IPv6 IPv6
H o s t A 6t o 4 R o u t e r 6t o 4 R o u t e r
H o s t B
IPv6 IPv4 IPv6
N e tw o rk N e tw o rk
1 9 2 . 1 68 . 9 9 . 1 1 9 2 . 1 68 . 30 . 1
N e t w o r k Pr e f i x : N e t w o r k Pr e f i x :
2 0 0 2 : c 0 a 8 : 630 1 : : / 4 8 2 0 0 2 :c 0 a 8 :1 e 0 1 ::/4 8
= =
6to4 :
I s an aut omat ic t unne l me t h od
G iv e s a p re f ix t o t h e at t ach e d I P v 6 ne t w ork
Pu b l i c IPv4
2 0 0 2 S L A In t e r f a c e ID
Ad d r e s s
/ 16 /4 8 /6 4
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 77
Au t om a t i c 6t o4 T u n n el ( R F C 3 0 5 6)
S =2 0 0 2 : c 0 a 8 : 630 1 : : 1 S =2 0 0 2 : c 0 a 8 : 630 1 : : 1
D =2 0 0 2 : c 0 a 8 : 1 e 0 1 : : 2 D =2 0 0 2 : c 0 a 8 : 1 e 0 1 : : 2
IPv6 H e a d e r IPv6 D a t a IPv6 H e a d e r IPv6 D a t a
IPv6 IPv6
H o s t A H o s t B
6t o 4 R o u t e r 6t o 4 R o u t e r
IPv6 IPv4 IPv6
N e tw o rk N e tw o rk
2 0 0 2 : c 0 a 8 8 : 630 1 : : 1 1 9 2 . 1 68 . 9 9 . 1 1 9 2 . 1 68 . 30 . 1 2 0 0 2 :c 0 a 8 :1 e 0 1 ::2
T u n n e l : IPv6 i n IPv4 Pa c k e t
IPv4 H e a d e r IPv6 H e a d e r IPv6 D a t a
S ( v4 )=1 9 2 . 1 68 . 9 9 . 1
D ( v4 )=1 9 2 . 1 68 . 30 . 1
S ( v6)=2 0 0 2 : c 0 a 8 : 630 1 : : 1
D ( v6)=2 0 0 2 :c 0 a 8 :1 e 0 1 ::2
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 78
Au t om a t i c 6t o4 C on fi g u ra t i on
6t o 4 6t o 4
R o u te r1 R o u te r2
IPv4
IPv6 E 0 E 0 IPv6
N e tw o rk N e tw o rk
1 9 2 . 1 68 . 9 9 . 1 1 9 2 . 1 68 . 30 . 1
N e t w o r k Pr e f i x : N e t w o r k Pr e f i x :
2 0 0 2 : c 0 a 8 : 630 1 : : / 4 8 2 0 0 2 :c 0 a 8 :1 e 0 1 ::/4 8
= =
router1 # router2#
i n terf a c e E th ern et0 i n terf a c e E th ern et0
i p v 6 a d d res s 2002: c 0a 8 : 6 3 01 : 1 : : / 6 4 eui -6 4 i p v 6 a d d res s 2002: c 0a 8 : 1 e01 : 1 : : / 6 4 eui -6 4
I n terf a c e E th ern et1 I n terf a c e E th ern et1
i p a d d res s 1 9 2. 1 6 8 . 9 9 . 1 25 5 . 25 5 . 0. 0 i p a d d res s 1 9 2. 1 6 8 . 3 0. 1 25 5 . 25 5 . 0. 0
i n terf a c e T un n el 0 i n terf a c e T un n el 0
i p v 6 un n um b ered E th ern et0 i p v 6 un n um b ered E th ern et0
tun n el s ourc e E th ern et1 tun n el s ourc e E th ern et1
tun n el m od e i p v 6 i p 6 to4 tun n el m od e i p v 6 i p 6 to4
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 79
Au t om a t i c 6t o4 R el a y
IP v 6
I n tern et
6 to 4 6 to 4
R o u ter1 R el ay
IP v 6 IPv4 I P v 6 S i te
Netw o rk Netw o rk
1 9 2 . 1 68 . 9 9 . 1 1 9 2 . 1 68 . 30 . 1
N e t w o r k Pr e f i x : N e t w o r k Pr e f i x :
2 0 0 2 : c 0 a 8 : 630 1 : : / 4 8 2 0 0 2 :c 0 a 8 :1 e 0 1 ::/4 8
= =
6to4 R elay:
I s a gat e w ay t o t h e re st of t h e I P v 6 I nt e rne t
I s a d e f aul t rout e r
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 81
Au t om a t i c 6t o4 R el a y C on fi g u ra t i on
6 to 4 6 to 4 IP v 6
R o u ter1 R el ay I n tern et
IP v 6 IPv4
E 0
Netw o rk
IP v 6
1 9 2 . 1 68 . 9 9 . 1 Netw o rk
N e t w o r k Pr e f i x :
IPv6 Ad d r e s s :
2 0 0 2 : c 0 a 8 : 630 1 : : / 4 8
2 0 0 2 :c 0 a 8 :1 e 0 1 ::1
=
router1 #
i n terf a c e E th ern et0
i p v 6 a d d res s 2002: c 0a 8 : 6 3 01 : 1 : : / 6 4 eui -6 4
I n terf a c e E th ern et1
i p a d d res s 1 9 2. 1 6 8 . 9 9 . 1 25 5 . 25 5 . 0. 0
i n terf a c e T un n el 0
n o i p a d d res s
i p v 6 un n um b ered E th ern et0
tun n el s ourc e E th ern et1
tun n el m od e i p v 6 i p 6 to4
i p v 6 route 2002: : / 1 6 T un n el 0
i p v 6 route : : / 0 2002: c 0a 8 : 1 e01 : : 1
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 82
I S A TA P Tu n n e l i n g
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 84
In t ra s i t e Au t om a t i c T u n n el Addres s
Prot oc ol
R FC 4 2 1 4
To dep loy a rou ter is identif ied th at c arries
IS ATAP servic es
IS ATAP rou ters need to h ave at least one IPv4
interf ac e and 0 or m ore IPv6 interf ac e
D N S entries are c reated f or eac h of th e IS ATAP rou ters
IPv4 addresses
H osts w ill au tom atic ally disc over IS ATAP rou ters and
c an get ac c ess to global IPv6 netw ork
H ost c an ap p ly th e IS ATAP servic e bef ore all th is
op eration bu t its interf ac e w ill only h ave a link loc al v6
address u ntil th e f irst rou ter ap p ears
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 86
In t ra s i t e Au t om a t i c T u n n el Addres s
Prot oc ol
U se IAN A’s O U I 00-00-5 E and
Enc ode IPv4 Address as Part of EU I-64
64 -b i t U n i c a s t Pr e f i x 0 0 0 0 :5 E F E : IPv4 Ad d r e s s
32-b i t 32-b i t
In t e r f a c e
Id e n t i f i e r
( 64 b i t s )
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 87
IPv6 C a m p u s IS AT AP C on fi g u ra t i on
I S A T A P A ddr es s Fo r m a t :
6 4 -b it U n ic a s t P r ef ix 0 0 0 0 : 5 E FE : I P v 4 A ddr es s
3 2 -b it 3 2 -b it
I n t er f a c e I D
2 0 0 1 : D B8 : C 0 0 3: 1 1 1 F : 0 : 5 E F E : 1 0 . 1 . 2 . 1 0 0
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 88
C l i en t C on fi g u ra t i on ( L i n u x ) :
IS AT AP T u n n el s
L in u x L 3 S w it c h IP v 6 L 3 I P v 6 -e nab l e d
C lien t I P v 6 N o t S u p p o r t ed S w it c h / R o u t er
R e q uire s K e rne l sup p ort
f or I S A T A P —U S A G I
M od if ie d I P rout e p ack age —
1 0 . 1 . 1 . 1 0 0 —C lien t I P v 4 a ddr es s U S A G I
2 0 0 1 : D B 8 : C 0 0 3 : 1 1 1 f : 0 : 5 ef e: 1 0 . 1 . 1 . 1 0 0 —I P v 6 a ddr es s
M ust conf igure I S A T A P
rout e r—not aut omat ic
H o s t IP R o u t e r IP
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 89
Au t om a t i c Advert i s em en t of
IS AT AP Prefi x
I S A T A P Ho s t A I S A T A P R o u ter 1
I P v 4 Netw o rk
E 0 IP v 6
I S A T A P T u n n el Netw o rk
IC M P v 6 T y p e 133 ( R S )
IP v 4 S o u rc e: 20 6 . 123. 20 . 10 0
IP v 4 D es ti n ati o n : 20 6 . 123. 31. 20 0
IP v 6 S o u rc e: f e8 0 ::5 ef e:c e7 b :14 6 4
IP v 6 D es ti n ati o n : f e8 0 ::5 ef e:c e7 b :1f c 8
S en d m e I S A T A P P ref i x IC M P v 6 T y p e 134 ( R A )
IP v 4 S o u rc e: 20 6 . 123. 31. 20 0
IP v 4 D es ti n ati o n : 20 6 . 123. 20 . 10 0
IP v 6 S o u rc e: f e8 0 ::5 ef e:c e7 b :1f c 8
IP v 6 D es ti n ati o n : f e8 0 ::5 ef e:c e7 b :14 6 4
IS A T A P P ref i x: 20 0 1:db 8 :f f f f :2::/ 6 4
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 90
Au t om a t i c Addres s As s i g n m en t of H os t
a n d R ou t er
I S A T A P Ho s t A I S A T A P R o u ter 1
I P v 4 Netw o rk
E 0 IP v 6
I S A T A P T u n n el Netw o rk
20 6 . 123. 20 . 10 0 20 6 . 123. 31. 20 0
f e8 0 ::5 ef e:c e7 b :14 6 4 f e8 0 ::5 ef e:c e7 b :1f c 8
20 0 1:db 8 :f f f f :2::5 ef e:c e7 b :14 6 4 20 0 1:db 8 :f f f f :2::5 ef e:c e7 b :1f c 8
I S A T A P h ost A re ce iv e s t h e I S A T A P p re f ix 2 001 : d b 8 : f f f f : 2 : : / 6 4
f rom I S A T A P R out e r 1
W h e n I S A T A P h ost A w ant s t o se nd I P v 6 p ack e t s t o
2 001 : d b 8 : f f f f : 2 : : 5 e f e : ce 7 b : 1 f c8 , I S A T A P h ost A e ncap sul at e s
IP v 6 p ack e t s in I P v 4 . T h e I P v 4 p ack e t s of t h e I P v 6 e ncap sul at e d
p ack e t s use I P v 4 source and d e st inat ion ad d re ss.
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 91
Au t om a t i c C on fi g u ri n g IS AT AP
I S A T A P Ho s t A I S A T A P R o u ter 1
I P v 4 Netw o rk
E 0 IP v 6
I S A T A P T u n n el Netw o rk
20 6 . 123. 20 . 10 0 20 6 . 123. 31. 20 0
f e8 0 ::5 ef e:c e7 b :14 6 4 f e8 0 ::5 ef e:c e7 b :1f c 8
20 0 1:db 8 :f f f f :2::5 ef e:c e7 b :14 6 4 20 0 1:db 8 :f f f f :2::5 ef e:c e7 b :1f c 8
I S A T A P -router1 #
T h e tu n n e l s o u r c e c o m m a n d m u s t p o in t
!
i n terf a c e E th ern et0 to a n in te r fa c e w ith a n IP v 4 a d d r e s s
i p a d d res s 206 . 1 23 . 3 1 . 200 25 5 . 25 5 . 25 5 . 0 c o n fig u r e d
!
i n terf a c e T un n el 0 C o n fig u r e th e IS A T A P IP v 6 a d d r e s s , a n d
i p v 6 a d d res s 2001 : d b 8 : f f f f : 2: : / 6 4 eui -6 4 p r e fix e s to b e a d v e r tis e d ju s t a s y o u
n o i p v 6 n d s up p res s -ra w o u ld w ith a n a tiv e IP v 6 in te r fa c e
tun n el s ourc e E th ern et0
tun n el m od e i p v 6 i p i s a ta p T h e IP v 6 a d d re s s h a s to b e c o n fig u r e d
a s a n E U I -6 4 a d d re s s s in c e th e la s t 3 2
b its in th e in te r fa c e id e n tifie r is u s e d a s
th e IP v 4 d e s tin a tio n a d d re s s
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 92
C on c l u s i on
I P v 6 is real !
S tart now rath er th an l ater
Purchase for the future
S tart m ov i n g l eg acy ap p l i cati on tow ard s I Pv 6 sup p ort
T est, test an d then test som e m ore!
I nteg ration c an b e done p er Ap p l ic ation ( Du al S tac k or T u nnel ed)
M ic rosof t V ista and L ong h orn h av e I P v 6 enab l ed b y def au l t and p ref erred
ov er I P v 4
T h ing s to c onsider:
D on ’t assum e y our fav ori te v en d or/ ap p / g ear has an I Pv 6 p l an
F ul l p ari ty b etw een I Pv 4 an d I Pv 6 i s sti l l a w ay s off
W atch the stan d ard s an d p ol i ci es: http : / / w w w . i etf. org &
http : / / w w w . ari n . n et/ p ol i cy / p rop osal s/ 2 0 0 6 _ 4 . htm l
E nterp rise and S P Dep l oy m ent S c enarios:
I S P I Pv 6 D ep l oy m en t S cen ari os i n B road b an d A ccess N etw ork s ( R F C 4 7 7 9 )
S cen ari os an d A n al y si s for I n trod uci n g I Pv 6 i n to I S P N etw ork s ( R F C 4 0 2 9 )
I Pv 6 E n terp ri se N etw ork S cen ari os ( R F C 4 0 5 7 )
Proced ures for R en um b eri n g an I Pv 6 N etw ork w i thout a F l ag D ay ( R F C 4 1 9 2 )
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 99
Q a n d A
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 10 0
R ec om m en ded R ea di n g
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 10 1
M ore In form a t i on
C C O IPv6
h ttp : / / w w w . c isc o. c om / ip v 6
IPv6 e-L earning [ req u ires C C O u sernam e/ p assw ord]
h ttp : / / w w w . c isc o. c om / w arp / c u stom er/ 7 3 2/ T ec h / ip v 6 / el earning /
IPv6 Ac c ess S ervic es
h ttp : / / w w w . c isc o. c om / w arp / p u b l ic / 7 3 2/ T ec h / ip v 6 / doc s/ ip v 6 _ ac c ess_ w p
_ v 2. p df
IC M Pv6 Pac k et Typ es and C odes Tec h N ote
h ttp : / / w w w . c isc o. c om / w arp / c u stom er/ 10 5/ ic m p v 6 c odes. h tm l
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 10 2
©2 0 0 7 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d . C is c o C o n fid e n tia l 10 3