SlideShare a Scribd company logo
Page 1 Saturday 15 November 2014 Fred Bovy
IPv6 For Life +33781248989
IPv6 For Life
Villa les 2 Soeurs

21 Avenue Thiers

06600 Antibes
O: 33972409194

M: 33781248989

S: 33970444185
7–10pm
1. OSPFv3 is redesigned for
IPv6. The OSPF Architecture
remains the same but it is
adapted for IPv6.
In IPv4 there is one subnet
per interface. In IPv6, the
same interface may have
several prefixes. Therefore
OSPFv3 runs per link and not
per subnet.

2. Authentification has been
removed from OSPFv3 as,
security is supposed to be
assumed by IPSec, it has
been removed from OSPFv3.
3. The database has been
modified with two new LSAs
and two renamed LSAs.
There is no more Addresses
in Type 1 and Type 2 LSA,
only Topological. The
addresses have been moved
to a new LSA, the Intra-Area-
Prefix LSA. The Link-State LSA
are announced with a new
type of LSA.
4. There are more options in
the OSPF messages, the ‘R-
bit’ and “V6-bi” have been
added. The R-bit is set when
the router is participating in
the routing process. The V6-
bit, is used when the router
can manage IPv6 routes.
5. There are now possibility
to use many separates
instances of OSPFv3
OSPFV3 NEWS
11 Nov 2014
Page 2 Saturday 15 November 2014 Fred Bovy
IPv6 For Life +33781248989
Hello Protocol
With OSPF, initialisation begin with the Hello Protocol. Each router advertises its Router-ID and the
default parameters to form neighbour relationship: Area-ID, Hello-Interval, Dead-Interval.
The Hello protocol can also be used on mutipoint network to elect the Designater Router and its
Backup.
IPv6, Src: fe80::c802:fff:fe06:8 (fe80::c802:fff:fe06:8), Dst: ff02::5 (ff02::5)
Open Shortest Path First
OSPF Header
Version: 3
Message Type: Hello Packet (1)
Packet Length: 36
Source OSPF Router: 10.0.0.2 (10.0.0.2)
Area ID: 0.0.0.0 (0.0.0.0) (Backbone)
Checksum: 0x1d78 [correct]
Instance ID: IPv6 unicast AF (0)
Reserved: 00
OSPF Hello Packet
Interface ID: 5
Router Priority: 1
Options: 0x000013 (R, E, V6)
Hello Interval [sec]: 10
Router Dead Interval [sec]: 40
Designated Router: 0.0.0.0 (0.0.0.0)
Backup Designated Router: 0.0.0.0 (0.0.0.0)
Page 3 Saturday 15 November 2014 Fred Bovy
IPv6 For Life +33781248989
From Down to 2-WAY
Once two neighbours have verified that they can be neighbours, they may become Adjacent. Adjacent
which means that it synchronises its Database with the Neighbour. On Multi access network, a Designated
Router and and a Backup Designated Router are elected to synchronise all the neighbours of a multipoint
network and to generate a LSA listing all neighbours on the behalf of all the neighbours.
Types of OSPF Networks
Page 4 Saturday 15 November 2014 Fred Bovy
IPv6 For Life +33781248989
DBD Synchronisation
EXSTART. Each Router sends a DBD with I, M and MS bits set, highest Router-ID wins and become the
Master. EXCHANGE. The Master synchronises the exchanges and generate the initial Sequence. Only
LSA headers are transmitted in DBD packets. If a router notices that an LSA is not up to date it request
it with an LSA Request. EXLOAD. When it is finished, M bit is cleared, they are FULL.
Page 5 Saturday 15 November 2014 Fred Bovy
IPv6 For Life +33781248989
The MTU is in the DBD and will be used to verify that both ends agree on the MTU.
OSPF Header
Version: 3
Message Type: DB Description (2)
Packet Length: 28
Source OSPF Router: 10.0.0.2 (10.0.0.2)
Area ID: 0.0.0.0 (0.0.0.0) (Backbone)
Checksum: 0x267c [correct]
Instance ID: IPv6 unicast AF (0)
Reserved: 00
OSPF DB Description
Reserved: 0
Options: 0x000013 (R, E, V6)
Interface MTU: 1500
Reserved: 0
DB Description: 0x07 (I, M, MS)
DD Sequence: 7384
Page 6 Saturday 15 November 2014 Fred Bovy
During the Initialisation process, the DBD and the LS Request/Update/Ack occur concurrently.
We have made a very simple lab and capture all traffic between R1 and R2.
Below are some significant packets from OSPFv3 Initialization
HELLO
Open Shortest Path First
OSPF Header
Version: 3
Message Type: Hello Packet (1)
Packet Length: 40
Source OSPF Router: 10.0.0.1 (10.0.0.1)
Area ID: 0.0.0.0 (0.0.0.0) (Backbone)
Checksum: 0xff6e [correct]
Instance ID: IPv6 unicast AF (0)
Reserved: 00
OSPF Hello Packet
Interface ID: 5
Router Priority: 1
Options: 0x000013 (R, E, V6)
Hello Interval [sec]: 10
Router Dead Interval [sec]: 40
Designated Router: 10.0.0.1 (10.0.0.1)
Backup Designated Router: 10.0.0.2 (10.0.0.2)
Active Neighbor: 10.0.0.2 (10.0.0.2)
Database Description Packet
DATABASE DESCRIPTION PACKET
Open Shortest Path First
OSPF Header
Version: 3
Message Type: DB Description (2)
Packet Length: 28
Source OSPF Router: 10.0.0.2 (10.0.0.2)
Area ID: 0.0.0.0 (0.0.0.0) (Backbone)
Checksum: 0x267c [correct]
Instance ID: IPv6 unicast AF (0)
Reserved: 00
OSPF DB Description
Reserved: 0
Options: 0x000013 (R, E, V6)
.... .... .... .0.. .... .... = AT: Not set
IPv6 For Life +33781248989
Page 7 Saturday 15 November 2014 Fred Bovy
.... .... .... ..0. .... .... = L: Not set
.... .... .... ...0 .... .... = AF: Not set
.... .... .... .... ..0. .... = DC: Not set
.... .... .... .... ...1 .... = R: Set
.... .... .... .... .... 0... = N: Not set
.... .... .... .... .... .0.. = MC: Not set
.... .... .... .... .... ..1. = E: Set
.... .... .... .... .... ...1 = V6: Set
Interface MTU: 1500
Reserved: 0
DB Description: 0x07 (I, M, MS)
.... 0... = R: OOBResync bit is NOT set
.... .1.. = I: Init bit is SET
.... ..1. = M: More bit is SET
.... ...1 = MS: Master/Slave bit is SET
DD Sequence: 7384
Open Shortest Path First
OSPF Header
Version: 3
Message Type: DB Description (2)
Packet Length: 28
Source OSPF Router: 10.0.0.1 (10.0.0.1)
Area ID: 0.0.0.0 (0.0.0.0) (Backbone)
Checksum: 0x23e9 [correct]
Instance ID: IPv6 unicast AF (0)
Reserved: 00
OSPF DB Description
Reserved: 0
Options: 0x000013 (R, E, V6)
.... .... .... .0.. .... .... = AT: Not set
.... .... .... ..0. .... .... = L: Not set
.... .... .... ...0 .... .... = AF: Not set
.... .... .... .... ..0. .... = DC: Not set
.... .... .... .... ...1 .... = R: Set
.... .... .... .... .... 0... = N: Not set
.... .... .... .... .... .0.. = MC: Not set
.... .... .... .... .... ..1. = E: Set
.... .... .... .... .... ...1 = V6: Set
Interface MTU: 1500
Reserved: 0
DB Description: 0x07 (I, M, MS)
.... 0... = R: OOBResync bit is NOT set
.... .1.. = I: Init bit is SET
.... ..1. = M: More bit is SET
.... ...1 = MS: Master/Slave bit is SET
DD Sequence: 8044
Open Shortest Path First
OSPF Header
Version: 3
Message Type: DB Description (2)
Packet Length: 88
Source OSPF Router: 10.0.0.1 (10.0.0.1)
Area ID: 0.0.0.0 (0.0.0.0) (Backbone)
Checksum: 0x7649 [correct]
Instance ID: IPv6 unicast AF (0)
Reserved: 00
OSPF DB Description
Reserved: 0
Options: 0x000013 (R, E, V6)
.... .... .... .0.. .... .... = AT: Not set
.... .... .... ..0. .... .... = L: Not set
.... .... .... ...0 .... .... = AF: Not set
.... .... .... .... ..0. .... = DC: Not set
.... .... .... .... ...1 .... = R: Set
.... .... .... .... .... 0... = N: Not set
.... .... .... .... .... .0.. = MC: Not set
.... .... .... .... .... ..1. = E: Set
.... .... .... .... .... ...1 = V6: Set
Interface MTU: 1500
IPv6 For Life +33781248989
Page 8 Saturday 15 November 2014 Fred Bovy
Reserved: 0
DB Description: 0x02 (M)
.... 0... = R: OOBResync bit is NOT set
.... .0.. = I: Init bit is NOT set
.... ..1. = M: More bit is SET
.... ...0 = MS: Master/Slave bit is NOT set
DD Sequence: 7384
LSA Header
LS Age: 376 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.1 (10.0.0.1)
LS Sequence Number: 0x80000003
LS Checksum: 0x8a7a
Length: 24
LSA Header
LS Age: 416 seconds
Do Not Age: False
LS Type: Link-LSA (0x0008)
Link State ID: 0.0.0.5
Advertising Router: 10.0.0.1 (10.0.0.1)
LS Sequence Number: 0x80000001
LS Checksum: 0xc5dc
Length: 44
LSA Header
LS Age: 438 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.1 (10.0.0.1)
LS Sequence Number: 0x80000001
LS Checksum: 0x7c02
Length: 52
Open Shortest Path First
OSPF Header
Version: 3
Message Type: DB Description (2)
Packet Length: 188
Source OSPF Router: 10.0.0.2 (10.0.0.2)
Area ID: 0.0.0.0 (0.0.0.0) (Backbone)
Checksum: 0x0f55 [correct]
Instance ID: IPv6 unicast AF (0)
Reserved: 00
OSPF DB Description
Reserved: 0
Options: 0x000013 (R, E, V6)
.... .... .... .0.. .... .... = AT: Not set
.... .... .... ..0. .... .... = L: Not set
.... .... .... ...0 .... .... = AF: Not set
.... .... .... .... ..0. .... = DC: Not set
.... .... .... .... ...1 .... = R: Set
.... .... .... .... .... 0... = N: Not set
.... .... .... .... .... .0.. = MC: Not set
.... .... .... .... .... ..1. = E: Set
.... .... .... .... .... ...1 = V6: Set
Interface MTU: 1500
Reserved: 0
DB Description: 0x01 (MS)
.... 0... = R: OOBResync bit is NOT set
.... .0.. = I: Init bit is NOT set
.... ..0. = M: More bit is NOT set
.... ...1 = MS: Master/Slave bit is SET
DD Sequence: 7385
LSA Header
LS Age: 35 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000009
IPv6 For Life +33781248989
Page 9 Saturday 15 November 2014 Fred Bovy
LS Checksum: 0x1293
Length: 56
LSA Header
LS Age: 143 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.3 (10.0.0.3)
LS Sequence Number: 0x80000003
LS Checksum: 0x5484
Length: 40
LSA Header
LS Age: 26 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.4 (10.0.0.4)
LS Sequence Number: 0x80000003
LS Checksum: 0x6076
Length: 40
LSA Header
LS Age: 144 seconds
Do Not Age: False
LS Type: Network-LSA (0x2002)
Link State ID: 0.0.0.6
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
LS Checksum: 0x419c
Length: 32
LSA Header
LS Age: 35 seconds
Do Not Age: False
LS Type: Network-LSA (0x2002)
Link State ID: 0.0.0.7
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
LS Checksum: 0x4596
Length: 32
LSA Header
LS Age: 304 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
LS Checksum: 0xa6d4
Length: 52
LSA Header
LS Age: 168 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.3 (10.0.0.3)
LS Sequence Number: 0x80000001
LS Checksum: 0xd0a7
Length: 52
LSA Header
LS Age: 27 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.4 (10.0.0.4)
LS Sequence Number: 0x80000001
LS Checksum: 0xfa7a
Length: 52
LINK STATE REQUEST
Open Shortest Path First
OSPF Header
Version: 3
Message Type: LS Request (3)
IPv6 For Life +33781248989
Page 10 Saturday 15 November 2014 Fred Bovy
Packet Length: 112
Source OSPF Router: 10.0.0.1 (10.0.0.1)
Area ID: 0.0.0.0 (0.0.0.0) (Backbone)
Checksum: 0xf85b [correct]
Instance ID: IPv6 unicast AF (0)
Reserved: 00
Link State Request
Reserved: 0
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.2 (10.0.0.2)
Link State Request
Reserved: 0
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.3 (10.0.0.3)
Link State Request
Reserved: 0
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.4 (10.0.0.4)
Link State Request
Reserved: 0
LS Type: Network-LSA (0x2002)
Link State ID: 0.0.0.6
Advertising Router: 10.0.0.2 (10.0.0.2)
Link State Request
Reserved: 0
LS Type: Network-LSA (0x2002)
Link State ID: 0.0.0.7
Advertising Router: 10.0.0.2 (10.0.0.2)
Link State Request
Reserved: 0
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.2 (10.0.0.2)
Link State Request
Reserved: 0
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.3 (10.0.0.3)
Link State Request
Reserved: 0
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.4 (10.0.0.4)
LINK STATE UPDATE
Open Shortest Path First
OSPF Header
Version: 3
Message Type: LS Update (4)
Packet Length: 376
Source OSPF Router: 10.0.0.2 (10.0.0.2)
Area ID: 0.0.0.0 (0.0.0.0) (Backbone)
Checksum: 0x5001 [correct]
Instance ID: IPv6 unicast AF (0)
Reserved: 00
LS Update Packet
Number of LSAs: 8
Router-LSA (Type: 0x2001)
LS Age: 36 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000009
IPv6 For Life +33781248989
Page 11 Saturday 15 November 2014 Fred Bovy
LS Checksum: 0x1293
Length: 56
Flags: 0x00
.... 0... = W: NO Wild-card multicast receiver
.... .0.. = V: NO Virtual link endpoint
.... ..0. = E: NO AS boundary router
.... ...0 = B: NO Area border router
Options: 0x000033 (DC, R, E, V6)
.... .... .... .0.. .... .... = AT: Not set
.... .... .... ..0. .... .... = L: Not set
.... .... .... ...0 .... .... = AF: Not set
.... .... .... .... ..1. .... = DC: Set
.... .... .... .... ...1 .... = R: Set
.... .... .... .... .... 0... = N: Not set
.... .... .... .... .... .0.. = MC: Not set
.... .... .... .... .... ..1. = E: Set
.... .... .... .... .... ...1 = V6: Set
Router Interfaces:
Type: 2 (Connection to a transit network)
Reserved: 0
Metric: 1
Interface ID: 7
Neighbor Interface ID: 7
Neighbor Router ID: 10.0.0.2
Type: 2 (Connection to a transit network)
Reserved: 0
Metric: 1
Interface ID: 6
Neighbor Interface ID: 6
Neighbor Router ID: 10.0.0.2
Router-LSA (Type: 0x2001)
LS Age: 144 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.3 (10.0.0.3)
LS Sequence Number: 0x80000003
LS Checksum: 0x5484
Length: 40
Flags: 0x00
.... 0... = W: NO Wild-card multicast receiver
.... .0.. = V: NO Virtual link endpoint
.... ..0. = E: NO AS boundary router
.... ...0 = B: NO Area border router
Options: 0x000033 (DC, R, E, V6)
.... .... .... .0.. .... .... = AT: Not set
.... .... .... ..0. .... .... = L: Not set
.... .... .... ...0 .... .... = AF: Not set
.... .... .... .... ..1. .... = DC: Set
.... .... .... .... ...1 .... = R: Set
.... .... .... .... .... 0... = N: Not set
.... .... .... .... .... .0.. = MC: Not set
.... .... .... .... .... ..1. = E: Set
.... .... .... .... .... ...1 = V6: Set
Router Interfaces:
Type: 2 (Connection to a transit network)
Reserved: 0
Metric: 1
Interface ID: 5
Neighbor Interface ID: 6
Neighbor Router ID: 10.0.0.2
Router-LSA (Type: 0x2001)
LS Age: 27 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.4 (10.0.0.4)
LS Sequence Number: 0x80000003
LS Checksum: 0x6076
Length: 40
Flags: 0x00
.... 0... = W: NO Wild-card multicast receiver
.... .0.. = V: NO Virtual link endpoint
IPv6 For Life +33781248989
Page 12 Saturday 15 November 2014 Fred Bovy
.... ..0. = E: NO AS boundary router
.... ...0 = B: NO Area border router
Options: 0x000033 (DC, R, E, V6)
.... .... .... .0.. .... .... = AT: Not set
.... .... .... ..0. .... .... = L: Not set
.... .... .... ...0 .... .... = AF: Not set
.... .... .... .... ..1. .... = DC: Set
.... .... .... .... ...1 .... = R: Set
.... .... .... .... .... 0... = N: Not set
.... .... .... .... .... .0.. = MC: Not set
.... .... .... .... .... ..1. = E: Set
.... .... .... .... .... ...1 = V6: Set
Router Interfaces:
Type: 2 (Connection to a transit network)
Reserved: 0
Metric: 1
Interface ID: 5
Neighbor Interface ID: 7
Neighbor Router ID: 10.0.0.2
Network-LSA (Type: 0x2002)
LS Age: 145 seconds
Do Not Age: False
LS Type: Network-LSA (0x2002)
Link State ID: 0.0.0.6
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
LS Checksum: 0x419c
Length: 32
Reserved: 0
Options: 0x000033 (DC, R, E, V6)
.... .... .... .0.. .... .... = AT: Not set
.... .... .... ..0. .... .... = L: Not set
.... .... .... ...0 .... .... = AF: Not set
.... .... .... .... ..1. .... = DC: Set
.... .... .... .... ...1 .... = R: Set
.... .... .... .... .... 0... = N: Not set
.... .... .... .... .... .0.. = MC: Not set
.... .... .... .... .... ..1. = E: Set
.... .... .... .... .... ...1 = V6: Set
Attached Router: 10.0.0.2
Attached Router: 10.0.0.3
Network-LSA (Type: 0x2002)
LS Age: 36 seconds
Do Not Age: False
LS Type: Network-LSA (0x2002)
Link State ID: 0.0.0.7
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
LS Checksum: 0x4596
Length: 32
Reserved: 0
Options: 0x000033 (DC, R, E, V6)
.... .... .... .0.. .... .... = AT: Not set
.... .... .... ..0. .... .... = L: Not set
.... .... .... ...0 .... .... = AF: Not set
.... .... .... .... ..1. .... = DC: Set
.... .... .... .... ...1 .... = R: Set
.... .... .... .... .... 0... = N: Not set
.... .... .... .... .... .0.. = MC: Not set
.... .... .... .... .... ..1. = E: Set
.... .... .... .... .... ...1 = V6: Set
Attached Router: 10.0.0.2
Attached Router: 10.0.0.4
Intra-Area-Prefix-LSA (Type: 0x2009)
LS Age: 305 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
LS Checksum: 0xa6d4
Length: 52
# prefixes: 1
IPv6 For Life +33781248989
Page 13 Saturday 15 November 2014 Fred Bovy
Referenced LS type 0x2001 (Router-LSA)
Referenced Link State ID: 0.0.0.0
Referenced Advertising Router: 10.0.0.2
PrefixLength: 128
PrefixOptions: 0x02 (LA)
.... 0... = P: Propagate bit is NOT set
.... .0.. = MC: Multicast capability bit is NOT set
.... ..1. = LA: LocalAddress capability bit is SET
.... ...0 = NU: NoUnicast capability bit is NOT set
Metric: 0
Address Prefix: 2001:db8::2
Intra-Area-Prefix-LSA (Type: 0x2009)
LS Age: 169 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.3 (10.0.0.3)
LS Sequence Number: 0x80000001
LS Checksum: 0xd0a7
Length: 52
# prefixes: 1
Referenced LS type 0x2001 (Router-LSA)
Referenced Link State ID: 0.0.0.0
Referenced Advertising Router: 10.0.0.3
PrefixLength: 128
PrefixOptions: 0x02 (LA)
.... 0... = P: Propagate bit is NOT set
.... .0.. = MC: Multicast capability bit is NOT set
.... ..1. = LA: LocalAddress capability bit is SET
.... ...0 = NU: NoUnicast capability bit is NOT set
Metric: 0
Address Prefix: 2001:db8::3
Intra-Area-Prefix-LSA (Type: 0x2009)
LS Age: 28 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.4 (10.0.0.4)
LS Sequence Number: 0x80000001
LS Checksum: 0xfa7a
Length: 52
# prefixes: 1
Referenced LS type 0x2001 (Router-LSA)
Referenced Link State ID: 0.0.0.0
Referenced Advertising Router: 10.0.0.4
PrefixLength: 128
PrefixOptions: 0x02 (LA)
.... 0... = P: Propagate bit is NOT set
.... .0.. = MC: Multicast capability bit is NOT set
.... ..1. = LA: LocalAddress capability bit is SET
.... ...0 = NU: NoUnicast capability bit is NOT set
Metric: 0
Address Prefix: 2001:db8::4
LINK STATE ACKNOWLEDGEMENT
Open Shortest Path First
OSPF Header
Version: 3
Message Type: LS Acknowledge (5)
Packet Length: 216
Source OSPF Router: 10.0.0.1 (10.0.0.1)
Area ID: 0.0.0.0 (0.0.0.0) (Backbone)
Checksum: 0x99ef [correct]
Instance ID: IPv6 unicast AF (0)
Reserved: 00
LSA Header
LS Age: 36 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.2 (10.0.0.2)
IPv6 For Life +33781248989
Page 14 Saturday 15 November 2014 Fred Bovy
LS Sequence Number: 0x80000009
LS Checksum: 0x1293
Length: 56
LSA Header
LS Age: 144 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.3 (10.0.0.3)
LS Sequence Number: 0x80000003
LS Checksum: 0x5484
Length: 40
LSA Header
LS Age: 27 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.4 (10.0.0.4)
LS Sequence Number: 0x80000003
LS Checksum: 0x6076
Length: 40
LSA Header
LS Age: 145 seconds
Do Not Age: False
LS Type: Network-LSA (0x2002)
Link State ID: 0.0.0.6
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
LS Checksum: 0x419c
Length: 32
LSA Header
LS Age: 36 seconds
Do Not Age: False
LS Type: Network-LSA (0x2002)
Link State ID: 0.0.0.7
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
LS Checksum: 0x4596
Length: 32
LSA Header
LS Age: 305 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
LS Checksum: 0xa6d4
Length: 52
LSA Header
LS Age: 169 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.3 (10.0.0.3)
LS Sequence Number: 0x80000001
LS Checksum: 0xd0a7
Length: 52
LSA Header
LS Age: 28 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.4 (10.0.0.4)
LS Sequence Number: 0x80000001
LS Checksum: 0xfa7a
Length: 52
LSA Header
LS Age: 1 seconds
Do Not Age: False
LS Type: Link-LSA (0x0008)
Link State ID: 0.0.0.5
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
IPv6 For Life +33781248989
Page 15 Saturday 15 November 2014 Fred Bovy
LS Checksum: 0xf7a6
Length: 44
LSA Header
LS Age: 1 seconds
Do Not Age: False
LS Type: Router-LSA (0x2001)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x8000000a
LS Checksum: 0x413b
Length: 72
THE NEW LSA INTRODUCED IN OSPFv3
Intra-area-Prefix-LSA (Type 9)
The Router and Network LSAs do not advertise addresses anymore. Addresses are transported by Intr-Area-Prefix
LSA. Below we can see a router advertising a /128 loopback interface address.
Intra-Area-Prefix-LSA (Type: 0x2009)
LS Age: 305 seconds
Do Not Age: False
LS Type: Intra-Area-Prefix-LSA (0x2009)
Link State ID: 0.0.0.0
Advertising Router: 10.0.0.2 (10.0.0.2)
LS Sequence Number: 0x80000001
LS Checksum: 0xa6d4
Length: 52
# prefixes: 1
Referenced LS type 0x2001 (Router-LSA)
Referenced Link State ID: 0.0.0.0
Referenced Advertising Router: 10.0.0.2
PrefixLength: 128
PrefixOptions: 0x02 (LA)
.... 0... = P: Propagate bit is NOT set
.... .0.. = MC: Multicast capability bit is NOT set
.... ..1. = LA: LocalAddress capability bit is SET
.... ...0 = NU: NoUnicast capability bit is NOT set
Metric: 0
Address Prefix: 2001:db8::2
Link-LSA (Type 8)
The Link LSA permit to advertise the Link-Local Address.
Link-LSA (Type: 0x0008)
LS Age: 417 seconds
Do Not Age: False
LS Type: Link-LSA (0x0008)
Link State ID: 0.0.0.5
Advertising Router: 10.0.0.1 (10.0.0.1)
LS Sequence Number: 0x80000001
LS Checksum: 0xc5dc
Length: 44
Router Priority: 1
Options: 0x000033 (DC, R, E, V6)
.... .... .... .0.. .... .... = AT: Not set
.... .... .... ..0. .... .... = L: Not set
.... .... .... ...0 .... .... = AF: Not set
.... .... .... .... ..1. .... = DC: Set
.... .... .... .... ...1 .... = R: Set
.... .... .... .... .... 0... = N: Not set
.... .... .... .... .... .0.. = MC: Not set
.... .... .... .... .... ..1. = E: Set
.... .... .... .... .... ...1 = V6: Set
Link-local Interface Address: fe80::c801:fff:fe04:8
IPv6 For Life +33781248989
Page 16 Saturday 15 November 2014 Fred Bovy
THE LSA WITH NEW NAMES
INTER-AREA-ROUTER LSA (Type 4)
This LSA is generated by an ABR when it receives External LSA Type 5 from a router in its area. It advertises this
ASBR to the other Areas so they can build a route to the next hop of the routes advertised by the ASBR.
R1#sh ipv6 ospf data inter-area router
OSPFv3 Router with ID (10.0.0.1) (Process ID 1)
Inter Area Router Link States (Area 0)
Routing Bit Set on this LSA
LS age: 137
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Inter Area Router Links
Link State ID: 167772163
Advertising Router: 10.0.0.2
LS Seq Number: 80000001
Checksum: 0x706F
Length: 32
Metric: 1
Destination Router ID: 10.0.0.3
The Inter-Area-Prefix LSA (type 3) was called Summary LSA before. By default, an ABR generate one LSA
for each route unless you can summarise the Area with one address which is the typical configuration.
As ABR generate one LSA per route we can say that OSPF is a Distance-Vector protocol between two
areas.
INTER-AREA-PREFIX LSA (Type 3)
R1#sh ipv6 ospf data inter-area prefix
OSPFv3 Router with ID (10.0.0.1) (Process ID 1)
Inter Area Prefix Link States (Area 0)
Routing Bit Set on this LSA
LS age: 9
LS Type: Inter Area Prefix Links
Link State ID: 0
Advertising Router: 10.0.0.2
LS Seq Number: 80000001
Checksum: 0x6A4D
Length: 44
Metric: 1
Prefix Address: 2001:DB8::3
Prefix Length: 128, Options: None
R1#
IPv6 For Life +33781248989
Page 17 Saturday 15 November 2014 Fred Bovy
OSPF Architecture
Architecture did not change from OSPFv2 and OSPFv3. We still have the concepts of Area, Stub Area
and ABR to interconnect an Area to the backbone Area 0. ASBR are still used to advertise External
Routes.
IPv6 For Life +33781248989
Page 18 Saturday 15 November 2014 Fred Bovy
This translates to a hierarchy in routing:
A router will always prefer an Intra Area OSPF Route to any other route for the same destination. Then
the next choice is Inter-Area OSPF Routes, then External Type 1 and finally External Type 2. This is the
only example I know where the longest match rule is not the preferred rule to select a route.
Example of Multi-Area Autonomous System:
R1, R2 and R3 are in Area 0
R5 is in Stub area 2
R4, R6, R7 R1 and R3 are in Area 1
With a basic configuration we can check OSPFv3 neighbours of each router:
R1>sh ipv6 ospf ne
Neighbor ID Pri State Dead Time Interface ID Interface
10.0.0.2 1 FULL/BDR 00:00:37 6 GigabitEthernet1/0
10.0.0.3 1 FULL/BDR 00:00:35 6 GigabitEthernet0/0
10.0.0.7 1 FULL/BDR 00:00:33 6 GigabitEthernet3/0
10.0.0.4 1 FULL/BDR 00:00:37 5 GigabitEthernet2/0
First remark is that OSPFv3 configure eqch interface as a BROADCAST IPv6 OSPF Interface. This is
why each router is adjacent with a BDP beeing itself the DR as we can check:
R1>sh ipv6 ospf int g0/0
GigabitEthernet0/0 is up, line protocol is up
Link Local Address FE80::C801:FFF:FE97:8, Interface ID 5
Area 0, Process ID 1, Instance ID 0, Router ID 10.0.0.1
Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 10.0.0.1, local address FE80::C801:FFF:FE97:8
Backup Designated router (ID) 10.0.0.3, local address FE80::C803:FFF:FE9B:1C
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:05
Index 1/2/2, flood queue length 0
Next 0x0(0)/0x0(0)/0x0(0)
Last flood scan length is 0, maximum is 3
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1, Adjacent neighbor count is 1
Adjacent with neighbor 10.0.0.3 (Backup Designated Router)
Suppress hello for 0 neighbor(s)
This is a waste of time as the election of the DR/BDR slowdown the convergence.
It also makes the Database bigger and more complex with a Network-LSA for each Gigabit
Interface.
If we got Point-to-Point interface we should configure it as point to point.
R1>show ipv6 ospf database router adv-router 10.0.0.1
OSPFv3 Router with ID (10.0.0.1) (Process ID 1)
Router Link States (Area 0)
LS age: 923
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Router Links
Link State ID: 0
Advertising Router: 10.0.0.1
LS Seq Number: 80000010
Checksum: 0x7034
Length: 56
Area Border Router
Number of Links: 2
Link connected to: a Transit Network
IPv6 For Life +33781248989
Page 19 Saturday 15 November 2014 Fred Bovy
Link Metric: 1
Local Interface ID: 6
Neighbor (DR) Interface ID: 6
Neighbor (DR) Router ID: 10.0.0.1
Link connected to: a Transit Network
Link Metric: 1
Local Interface ID: 5
Neighbor (DR) Interface ID: 5
Neighbor (DR) Router ID: 10.0.0.1
Router Link States (Area 1)
LS age: 1411
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Router Links
Link State ID: 0
Advertising Router: 10.0.0.1
LS Seq Number: 8000000B
Checksum: 0x3B66
Length: 56
Area Border Router
Number of Links: 2
Link connected to: a Transit Network
Link Metric: 1
Local Interface ID: 8
Neighbor (DR) Interface ID: 8
Neighbor (DR) Router ID: 10.0.0.1
Link connected to: a Transit Network
Link Metric: 1
Local Interface ID: 7
Neighbor (DR) Interface ID: 7
Neighbor (DR) Router ID: 10.0.0.1
R2 is an ABR so it has a DB for Area 0 and a database for Area 1. It points to transit network with the
address of the DR. The we need to check the LSA generated by this DR to find all neighbours of this
network:
R1>show ipv6 ospf database network adv-router 10.0.0.1
OSPFv3 Router with ID (10.0.0.1) (Process ID 1)
Net Link States (Area 0)
LS age: 1224
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Network Links
Link State ID: 5 (Interface ID of Designated Router)
Advertising Router: 10.0.0.1
LS Seq Number: 80000005
Checksum: 0x3F9D
Length: 32
Attached Router: 10.0.0.1
Attached Router: 10.0.0.3
LS age: 219
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Network Links
Link State ID: 6 (Interface ID of Designated Router)
Advertising Router: 10.0.0.1
LS Seq Number: 80000006
Checksum: 0x25B6
Length: 32
Attached Router: 10.0.0.1
Attached Router: 10.0.0.2
IPv6 For Life +33781248989
Page 20 Saturday 15 November 2014 Fred Bovy
Net Link States (Area 1)
LS age: 1712
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Network Links
Link State ID: 7 (Interface ID of Designated Router)
Advertising Router: 10.0.0.1
LS Seq Number: 80000005
Checksum: 0x39A0
Length: 32
Attached Router: 10.0.0.1
Attached Router: 10.0.0.4
LS age: 1714
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Network Links
Link State ID: 8 (Interface ID of Designated Router)
Advertising Router: 10.0.0.1
LS Seq Number: 80000005
Checksum: 0x597C
Length: 32
Attached Router: 10.0.0.1
Attached Router: 10.0.0.7
This is overkill and not needed as we just need to know the Router-ID of the Neighbour. Also DR/BDR
election starts with 40 seconds listening and doing nothing so it is really a waste of time when we have a
Point-to-Point.
Let’s configure all our point to point correctly.:
R6(config)#int g0/0
R6(config-if)#ipv6 ospf network point-to-point
Then R1 neighbours look like:
R1#sh ipv6 ospf neighbor
*Nov 15 18:58:24.439: %SYS-5-CONFIG_I: Configured from console by console
Neighbor ID Pri State Dead Time Interface ID Interface
10.0.0.2 1 FULL/ - 00:00:37 6 GigabitEthernet1/0
10.0.0.3 1 FULL/ - 00:00:36 6 GigabitEthernet0/0
10.0.0.7 1 FULL/ - 00:00:39 6 GigabitEthernet3/0
10.0.0.4 1 FULL/ - 00:00:34 5 GigabitEthernet2/0
R1#
No more DR or BDR on Point-to-Point and if we look a Router LSA, it is much
more simple no more need for pointing to a Network LSA:
R1#sh ipv6 ospf data router adv 10.0.0.1
OSPFv3 Router with ID (10.0.0.1) (Process ID 1)
Router Link States (Area 0)
LS age: 533
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Router Links
Link State ID: 0
Advertising Router: 10.0.0.1
LS Seq Number: 80000015
Checksum: 0xCCD0
Length: 56
Area Border Router
Number of Links: 2
Link connected to: another Router (point-to-point)
Link Metric: 1
Local Interface ID: 6
Neighbor Interface ID: 6
Neighbor Router ID: 10.0.0.2
IPv6 For Life +33781248989
Page 21 Saturday 15 November 2014 Fred Bovy
Link connected to: another Router (point-to-point)
Link Metric: 1
Local Interface ID: 5
Neighbor Interface ID: 6
Neighbor Router ID: 10.0.0.3
Router Link States (Area 1)
LS age: 305
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Router Links
Link State ID: 0
Advertising Router: 10.0.0.1
LS Seq Number: 80000010
Checksum: 0xA1F7
Length: 56
Area Border Router
Number of Links: 2
Link connected to: another Router (point-to-point)
Link Metric: 1
Local Interface ID: 8
Neighbor Interface ID: 6
Neighbor Router ID: 10.0.0.7
Link connected to: another Router (point-to-point)
Link Metric: 1
Local Interface ID: 7
Neighbor Interface ID: 5
Neighbor Router ID: 10.0.0.4
Please notice that there is no IPv6 address in the Router and Network LSA, they are in the Int-
Area_Prefix LSA:
R1#sh ipv6 ospf data prefix adv-router 10.0.0.1
OSPFv3 Router with ID (10.0.0.1) (Process ID 1)
Intra Area Prefix Link States (Area 0)
Routing Bit Set on this LSA
LS age: 1970
LS Type: Intra-Area-Prefix-LSA
Link State ID: 0
Advertising Router: 10.0.0.1
LS Seq Number: 80000006
Checksum: 0x7207
Length: 52
Referenced LSA Type: 2001
Referenced Link State ID: 0
Referenced Advertising Router: 10.0.0.1
Number of Prefixes: 1
Prefix Address: 2001:DB8::1
Prefix Length: 128, Options: LA, Metric: 0
We can also check the Inter-Area-Router LSA that R1 and R3 makes to advertise R6 as an ASBR:
R1#sh ipv6 ospf data inter-area router
OSPFv3 Router with ID (10.0.0.1) (Process ID 1)
Inter Area Router Link States (Area 0)
LS age: 1117
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Inter Area Router Links
Link State ID: 167772166
IPv6 For Life +33781248989
Page 22 Saturday 15 November 2014 Fred Bovy
Advertising Router: 10.0.0.1
LS Seq Number: 80000004
Checksum: 0x8650
Length: 32
Metric: 2
Destination Router ID: 10.0.0.6
LS age: 736
Options: (V6-Bit, E-Bit, R-bit, DC-Bit)
LS Type: Inter Area Router Links
Link State ID: 167772166
Advertising Router: 10.0.0.3
LS Seq Number: 80000002
Checksum: 0x7E58
Length: 32
Metric: 2
Destination Router ID: 10.0.0.6
R1#
IPv6 For Life +33781248989
Page 23 Saturday 15 November 2014 Fred Bovy
IPv6 For Life +33781248989
Page 24 Saturday 15 November 2014 Fred Bovy
IPv6 For Life +33781248989
Page 25 Saturday 15 November 2014 Fred Bovy
IPv6 For Life +33781248989
Page 26 Saturday 15 November 2014 Fred Bovy
IPv6 For Life +33781248989
Page 27 Saturday 15 November 2014 Fred Bovy
]
IPv6 For Life +33781248989

More Related Content

PDF
Ipv6 cheat sheet
PDF
Ipv6 cheat sheet
PDF
Ipv6 cheat sheet
PDF
Fun with PRB, VRFs and NetNS on Linux - What is it, how does it work, what ca...
PPT
6.Routing
PPT
Tuning 17 march
PDF
Naked BGP
PPTX
Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...
Ipv6 cheat sheet
Ipv6 cheat sheet
Ipv6 cheat sheet
Fun with PRB, VRFs and NetNS on Linux - What is it, how does it work, what ca...
6.Routing
Tuning 17 march
Naked BGP
Leveraging IPv6 extension header for traffic engineering, by Eric Vyncke [APN...

What's hot (19)

PDF
ScavengerEXA
PDF
L2/L3 für Fortgeschrittene - Helle und dunkle Magie im Linux-Netzwerkstack
PPTX
Transitioning IPv4 to IPv6
PDF
ExaBGP at LINX 83
PPT
IPv6_Quick_Start_Guide
PDF
Dynamische Routingprotokolle Aufzucht und Pflege - OSPF
PDF
Dynamische Routingprotokolle Aufzucht und Pflege - BGP
PDF
NAT64 en LACNIC 18: Experimentos con NAT64 sin estado
PDF
Linux Bridging: Teaching an old dog new tricks
PDF
DevConf 2014 Kernel Networking Walkthrough
PPT
IPV6 Flow Labels
PDF
6 Lo Wpan Tutorial 20080206
PDF
IPv6 im Jahre 2018
PPT
CCNA CHAPTER 16 BY jetarvind kumar madhukar
PPTX
Morphology of Modern Data Center Networks - YaC 2013
PDF
Manipulating the Network with PacketFu
PDF
Building your own CGN boxes with Linux
PPT
IPv6 introduction
ScavengerEXA
L2/L3 für Fortgeschrittene - Helle und dunkle Magie im Linux-Netzwerkstack
Transitioning IPv4 to IPv6
ExaBGP at LINX 83
IPv6_Quick_Start_Guide
Dynamische Routingprotokolle Aufzucht und Pflege - OSPF
Dynamische Routingprotokolle Aufzucht und Pflege - BGP
NAT64 en LACNIC 18: Experimentos con NAT64 sin estado
Linux Bridging: Teaching an old dog new tricks
DevConf 2014 Kernel Networking Walkthrough
IPV6 Flow Labels
6 Lo Wpan Tutorial 20080206
IPv6 im Jahre 2018
CCNA CHAPTER 16 BY jetarvind kumar madhukar
Morphology of Modern Data Center Networks - YaC 2013
Manipulating the Network with PacketFu
Building your own CGN boxes with Linux
IPv6 introduction
Ad

Similar to Ospfv3 News version 2 (20)

PDF
Ospfv3 primer
PPTX
OSPF v3
PDF
Ospf Last Modified Eng
PPT
BSCI30S03 OSPF open shortest path first .ppt
PDF
Osp fv3 cs
PPTX
Cisco CCNA OSPF IPV6 Configuration
PPTX
Лекц 15
PDF
IOS Cisco - Cheat sheets
PPT
Day 12 enabling ospf
PDF
Cisco ospf
PDF
Cisco ospf
PPT
Ospf
PPT
Chapter7ccna
PPT
Chapter7ccna
PPTX
Allwyn ospf ppt
DOCX
How to troubleshoot and verifying ospf configuration
PPTX
PPT
Chapter7ccna
PDF
Capacitacion 2018
PPTX
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Ospfv3 primer
OSPF v3
Ospf Last Modified Eng
BSCI30S03 OSPF open shortest path first .ppt
Osp fv3 cs
Cisco CCNA OSPF IPV6 Configuration
Лекц 15
IOS Cisco - Cheat sheets
Day 12 enabling ospf
Cisco ospf
Cisco ospf
Ospf
Chapter7ccna
Chapter7ccna
Allwyn ospf ppt
How to troubleshoot and verifying ospf configuration
Chapter7ccna
Capacitacion 2018
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Ad

More from Fred Bovy (20)

PDF
IPv6 training
PDF
Fb i pv6-sparchimanv1.0
PDF
CEFv6 in a nutshell
PDF
Routing ipv6 v3
PDF
Autoconfig
PDF
Neighbor discoverydhcp
PDF
Inter as cisco1
PDF
IPv6 in IPv4/MPLS in a Nutshell
PDF
I pv6 better than IPv4 but why ?
PDF
Fred explainsi pv6-v2-alpha
PDF
Resume
PDF
I pv6 tutorial
PDF
Transition to ipv6 cgv6-edited
PDF
Fred bovyresume@2
PDF
CEFv6 in a nutshell
PDF
Fred explains IPv6
PDF
IPv6 tools
PDF
Multicast for IPv6
PDF
Dhcp pd in brief
PDF
IPv6 training
Fb i pv6-sparchimanv1.0
CEFv6 in a nutshell
Routing ipv6 v3
Autoconfig
Neighbor discoverydhcp
Inter as cisco1
IPv6 in IPv4/MPLS in a Nutshell
I pv6 better than IPv4 but why ?
Fred explainsi pv6-v2-alpha
Resume
I pv6 tutorial
Transition to ipv6 cgv6-edited
Fred bovyresume@2
CEFv6 in a nutshell
Fred explains IPv6
IPv6 tools
Multicast for IPv6
Dhcp pd in brief

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
A Presentation on Artificial Intelligence
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Approach and Philosophy of On baking technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
TLE Review Electricity (Electricity).pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
A novel scalable deep ensemble learning framework for big data classification...
NewMind AI Weekly Chronicles - August'25-Week II
Building Integrated photovoltaic BIPV_UPV.pdf
Web App vs Mobile App What Should You Build First.pdf
A comparative analysis of optical character recognition models for extracting...
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Heart disease approach using modified random forest and particle swarm optimi...
Assigned Numbers - 2025 - Bluetooth® Document
A Presentation on Artificial Intelligence
DP Operators-handbook-extract for the Mautical Institute
Approach and Philosophy of On baking technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
TLE Review Electricity (Electricity).pptx
A comparative study of natural language inference in Swahili using monolingua...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Encapsulation_ Review paper, used for researhc scholars
Enhancing emotion recognition model for a student engagement use case through...
MIND Revenue Release Quarter 2 2025 Press Release
Hindi spoken digit analysis for native and non-native speakers
A novel scalable deep ensemble learning framework for big data classification...

Ospfv3 News version 2

  • 1. Page 1 Saturday 15 November 2014 Fred Bovy IPv6 For Life +33781248989 IPv6 For Life Villa les 2 Soeurs
 21 Avenue Thiers
 06600 Antibes O: 33972409194
 M: 33781248989
 S: 33970444185 7–10pm 1. OSPFv3 is redesigned for IPv6. The OSPF Architecture remains the same but it is adapted for IPv6. In IPv4 there is one subnet per interface. In IPv6, the same interface may have several prefixes. Therefore OSPFv3 runs per link and not per subnet.
 2. Authentification has been removed from OSPFv3 as, security is supposed to be assumed by IPSec, it has been removed from OSPFv3. 3. The database has been modified with two new LSAs and two renamed LSAs. There is no more Addresses in Type 1 and Type 2 LSA, only Topological. The addresses have been moved to a new LSA, the Intra-Area- Prefix LSA. The Link-State LSA are announced with a new type of LSA. 4. There are more options in the OSPF messages, the ‘R- bit’ and “V6-bi” have been added. The R-bit is set when the router is participating in the routing process. The V6- bit, is used when the router can manage IPv6 routes. 5. There are now possibility to use many separates instances of OSPFv3 OSPFV3 NEWS 11 Nov 2014
  • 2. Page 2 Saturday 15 November 2014 Fred Bovy IPv6 For Life +33781248989 Hello Protocol With OSPF, initialisation begin with the Hello Protocol. Each router advertises its Router-ID and the default parameters to form neighbour relationship: Area-ID, Hello-Interval, Dead-Interval. The Hello protocol can also be used on mutipoint network to elect the Designater Router and its Backup. IPv6, Src: fe80::c802:fff:fe06:8 (fe80::c802:fff:fe06:8), Dst: ff02::5 (ff02::5) Open Shortest Path First OSPF Header Version: 3 Message Type: Hello Packet (1) Packet Length: 36 Source OSPF Router: 10.0.0.2 (10.0.0.2) Area ID: 0.0.0.0 (0.0.0.0) (Backbone) Checksum: 0x1d78 [correct] Instance ID: IPv6 unicast AF (0) Reserved: 00 OSPF Hello Packet Interface ID: 5 Router Priority: 1 Options: 0x000013 (R, E, V6) Hello Interval [sec]: 10 Router Dead Interval [sec]: 40 Designated Router: 0.0.0.0 (0.0.0.0) Backup Designated Router: 0.0.0.0 (0.0.0.0)
  • 3. Page 3 Saturday 15 November 2014 Fred Bovy IPv6 For Life +33781248989 From Down to 2-WAY Once two neighbours have verified that they can be neighbours, they may become Adjacent. Adjacent which means that it synchronises its Database with the Neighbour. On Multi access network, a Designated Router and and a Backup Designated Router are elected to synchronise all the neighbours of a multipoint network and to generate a LSA listing all neighbours on the behalf of all the neighbours. Types of OSPF Networks
  • 4. Page 4 Saturday 15 November 2014 Fred Bovy IPv6 For Life +33781248989 DBD Synchronisation EXSTART. Each Router sends a DBD with I, M and MS bits set, highest Router-ID wins and become the Master. EXCHANGE. The Master synchronises the exchanges and generate the initial Sequence. Only LSA headers are transmitted in DBD packets. If a router notices that an LSA is not up to date it request it with an LSA Request. EXLOAD. When it is finished, M bit is cleared, they are FULL.
  • 5. Page 5 Saturday 15 November 2014 Fred Bovy IPv6 For Life +33781248989 The MTU is in the DBD and will be used to verify that both ends agree on the MTU. OSPF Header Version: 3 Message Type: DB Description (2) Packet Length: 28 Source OSPF Router: 10.0.0.2 (10.0.0.2) Area ID: 0.0.0.0 (0.0.0.0) (Backbone) Checksum: 0x267c [correct] Instance ID: IPv6 unicast AF (0) Reserved: 00 OSPF DB Description Reserved: 0 Options: 0x000013 (R, E, V6) Interface MTU: 1500 Reserved: 0 DB Description: 0x07 (I, M, MS) DD Sequence: 7384
  • 6. Page 6 Saturday 15 November 2014 Fred Bovy During the Initialisation process, the DBD and the LS Request/Update/Ack occur concurrently. We have made a very simple lab and capture all traffic between R1 and R2. Below are some significant packets from OSPFv3 Initialization HELLO Open Shortest Path First OSPF Header Version: 3 Message Type: Hello Packet (1) Packet Length: 40 Source OSPF Router: 10.0.0.1 (10.0.0.1) Area ID: 0.0.0.0 (0.0.0.0) (Backbone) Checksum: 0xff6e [correct] Instance ID: IPv6 unicast AF (0) Reserved: 00 OSPF Hello Packet Interface ID: 5 Router Priority: 1 Options: 0x000013 (R, E, V6) Hello Interval [sec]: 10 Router Dead Interval [sec]: 40 Designated Router: 10.0.0.1 (10.0.0.1) Backup Designated Router: 10.0.0.2 (10.0.0.2) Active Neighbor: 10.0.0.2 (10.0.0.2) Database Description Packet DATABASE DESCRIPTION PACKET Open Shortest Path First OSPF Header Version: 3 Message Type: DB Description (2) Packet Length: 28 Source OSPF Router: 10.0.0.2 (10.0.0.2) Area ID: 0.0.0.0 (0.0.0.0) (Backbone) Checksum: 0x267c [correct] Instance ID: IPv6 unicast AF (0) Reserved: 00 OSPF DB Description Reserved: 0 Options: 0x000013 (R, E, V6) .... .... .... .0.. .... .... = AT: Not set IPv6 For Life +33781248989
  • 7. Page 7 Saturday 15 November 2014 Fred Bovy .... .... .... ..0. .... .... = L: Not set .... .... .... ...0 .... .... = AF: Not set .... .... .... .... ..0. .... = DC: Not set .... .... .... .... ...1 .... = R: Set .... .... .... .... .... 0... = N: Not set .... .... .... .... .... .0.. = MC: Not set .... .... .... .... .... ..1. = E: Set .... .... .... .... .... ...1 = V6: Set Interface MTU: 1500 Reserved: 0 DB Description: 0x07 (I, M, MS) .... 0... = R: OOBResync bit is NOT set .... .1.. = I: Init bit is SET .... ..1. = M: More bit is SET .... ...1 = MS: Master/Slave bit is SET DD Sequence: 7384 Open Shortest Path First OSPF Header Version: 3 Message Type: DB Description (2) Packet Length: 28 Source OSPF Router: 10.0.0.1 (10.0.0.1) Area ID: 0.0.0.0 (0.0.0.0) (Backbone) Checksum: 0x23e9 [correct] Instance ID: IPv6 unicast AF (0) Reserved: 00 OSPF DB Description Reserved: 0 Options: 0x000013 (R, E, V6) .... .... .... .0.. .... .... = AT: Not set .... .... .... ..0. .... .... = L: Not set .... .... .... ...0 .... .... = AF: Not set .... .... .... .... ..0. .... = DC: Not set .... .... .... .... ...1 .... = R: Set .... .... .... .... .... 0... = N: Not set .... .... .... .... .... .0.. = MC: Not set .... .... .... .... .... ..1. = E: Set .... .... .... .... .... ...1 = V6: Set Interface MTU: 1500 Reserved: 0 DB Description: 0x07 (I, M, MS) .... 0... = R: OOBResync bit is NOT set .... .1.. = I: Init bit is SET .... ..1. = M: More bit is SET .... ...1 = MS: Master/Slave bit is SET DD Sequence: 8044 Open Shortest Path First OSPF Header Version: 3 Message Type: DB Description (2) Packet Length: 88 Source OSPF Router: 10.0.0.1 (10.0.0.1) Area ID: 0.0.0.0 (0.0.0.0) (Backbone) Checksum: 0x7649 [correct] Instance ID: IPv6 unicast AF (0) Reserved: 00 OSPF DB Description Reserved: 0 Options: 0x000013 (R, E, V6) .... .... .... .0.. .... .... = AT: Not set .... .... .... ..0. .... .... = L: Not set .... .... .... ...0 .... .... = AF: Not set .... .... .... .... ..0. .... = DC: Not set .... .... .... .... ...1 .... = R: Set .... .... .... .... .... 0... = N: Not set .... .... .... .... .... .0.. = MC: Not set .... .... .... .... .... ..1. = E: Set .... .... .... .... .... ...1 = V6: Set Interface MTU: 1500 IPv6 For Life +33781248989
  • 8. Page 8 Saturday 15 November 2014 Fred Bovy Reserved: 0 DB Description: 0x02 (M) .... 0... = R: OOBResync bit is NOT set .... .0.. = I: Init bit is NOT set .... ..1. = M: More bit is SET .... ...0 = MS: Master/Slave bit is NOT set DD Sequence: 7384 LSA Header LS Age: 376 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.1 (10.0.0.1) LS Sequence Number: 0x80000003 LS Checksum: 0x8a7a Length: 24 LSA Header LS Age: 416 seconds Do Not Age: False LS Type: Link-LSA (0x0008) Link State ID: 0.0.0.5 Advertising Router: 10.0.0.1 (10.0.0.1) LS Sequence Number: 0x80000001 LS Checksum: 0xc5dc Length: 44 LSA Header LS Age: 438 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.1 (10.0.0.1) LS Sequence Number: 0x80000001 LS Checksum: 0x7c02 Length: 52 Open Shortest Path First OSPF Header Version: 3 Message Type: DB Description (2) Packet Length: 188 Source OSPF Router: 10.0.0.2 (10.0.0.2) Area ID: 0.0.0.0 (0.0.0.0) (Backbone) Checksum: 0x0f55 [correct] Instance ID: IPv6 unicast AF (0) Reserved: 00 OSPF DB Description Reserved: 0 Options: 0x000013 (R, E, V6) .... .... .... .0.. .... .... = AT: Not set .... .... .... ..0. .... .... = L: Not set .... .... .... ...0 .... .... = AF: Not set .... .... .... .... ..0. .... = DC: Not set .... .... .... .... ...1 .... = R: Set .... .... .... .... .... 0... = N: Not set .... .... .... .... .... .0.. = MC: Not set .... .... .... .... .... ..1. = E: Set .... .... .... .... .... ...1 = V6: Set Interface MTU: 1500 Reserved: 0 DB Description: 0x01 (MS) .... 0... = R: OOBResync bit is NOT set .... .0.. = I: Init bit is NOT set .... ..0. = M: More bit is NOT set .... ...1 = MS: Master/Slave bit is SET DD Sequence: 7385 LSA Header LS Age: 35 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000009 IPv6 For Life +33781248989
  • 9. Page 9 Saturday 15 November 2014 Fred Bovy LS Checksum: 0x1293 Length: 56 LSA Header LS Age: 143 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.3 (10.0.0.3) LS Sequence Number: 0x80000003 LS Checksum: 0x5484 Length: 40 LSA Header LS Age: 26 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.4 (10.0.0.4) LS Sequence Number: 0x80000003 LS Checksum: 0x6076 Length: 40 LSA Header LS Age: 144 seconds Do Not Age: False LS Type: Network-LSA (0x2002) Link State ID: 0.0.0.6 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 LS Checksum: 0x419c Length: 32 LSA Header LS Age: 35 seconds Do Not Age: False LS Type: Network-LSA (0x2002) Link State ID: 0.0.0.7 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 LS Checksum: 0x4596 Length: 32 LSA Header LS Age: 304 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 LS Checksum: 0xa6d4 Length: 52 LSA Header LS Age: 168 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.3 (10.0.0.3) LS Sequence Number: 0x80000001 LS Checksum: 0xd0a7 Length: 52 LSA Header LS Age: 27 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.4 (10.0.0.4) LS Sequence Number: 0x80000001 LS Checksum: 0xfa7a Length: 52 LINK STATE REQUEST Open Shortest Path First OSPF Header Version: 3 Message Type: LS Request (3) IPv6 For Life +33781248989
  • 10. Page 10 Saturday 15 November 2014 Fred Bovy Packet Length: 112 Source OSPF Router: 10.0.0.1 (10.0.0.1) Area ID: 0.0.0.0 (0.0.0.0) (Backbone) Checksum: 0xf85b [correct] Instance ID: IPv6 unicast AF (0) Reserved: 00 Link State Request Reserved: 0 LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.2 (10.0.0.2) Link State Request Reserved: 0 LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.3 (10.0.0.3) Link State Request Reserved: 0 LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.4 (10.0.0.4) Link State Request Reserved: 0 LS Type: Network-LSA (0x2002) Link State ID: 0.0.0.6 Advertising Router: 10.0.0.2 (10.0.0.2) Link State Request Reserved: 0 LS Type: Network-LSA (0x2002) Link State ID: 0.0.0.7 Advertising Router: 10.0.0.2 (10.0.0.2) Link State Request Reserved: 0 LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.2 (10.0.0.2) Link State Request Reserved: 0 LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.3 (10.0.0.3) Link State Request Reserved: 0 LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.4 (10.0.0.4) LINK STATE UPDATE Open Shortest Path First OSPF Header Version: 3 Message Type: LS Update (4) Packet Length: 376 Source OSPF Router: 10.0.0.2 (10.0.0.2) Area ID: 0.0.0.0 (0.0.0.0) (Backbone) Checksum: 0x5001 [correct] Instance ID: IPv6 unicast AF (0) Reserved: 00 LS Update Packet Number of LSAs: 8 Router-LSA (Type: 0x2001) LS Age: 36 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000009 IPv6 For Life +33781248989
  • 11. Page 11 Saturday 15 November 2014 Fred Bovy LS Checksum: 0x1293 Length: 56 Flags: 0x00 .... 0... = W: NO Wild-card multicast receiver .... .0.. = V: NO Virtual link endpoint .... ..0. = E: NO AS boundary router .... ...0 = B: NO Area border router Options: 0x000033 (DC, R, E, V6) .... .... .... .0.. .... .... = AT: Not set .... .... .... ..0. .... .... = L: Not set .... .... .... ...0 .... .... = AF: Not set .... .... .... .... ..1. .... = DC: Set .... .... .... .... ...1 .... = R: Set .... .... .... .... .... 0... = N: Not set .... .... .... .... .... .0.. = MC: Not set .... .... .... .... .... ..1. = E: Set .... .... .... .... .... ...1 = V6: Set Router Interfaces: Type: 2 (Connection to a transit network) Reserved: 0 Metric: 1 Interface ID: 7 Neighbor Interface ID: 7 Neighbor Router ID: 10.0.0.2 Type: 2 (Connection to a transit network) Reserved: 0 Metric: 1 Interface ID: 6 Neighbor Interface ID: 6 Neighbor Router ID: 10.0.0.2 Router-LSA (Type: 0x2001) LS Age: 144 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.3 (10.0.0.3) LS Sequence Number: 0x80000003 LS Checksum: 0x5484 Length: 40 Flags: 0x00 .... 0... = W: NO Wild-card multicast receiver .... .0.. = V: NO Virtual link endpoint .... ..0. = E: NO AS boundary router .... ...0 = B: NO Area border router Options: 0x000033 (DC, R, E, V6) .... .... .... .0.. .... .... = AT: Not set .... .... .... ..0. .... .... = L: Not set .... .... .... ...0 .... .... = AF: Not set .... .... .... .... ..1. .... = DC: Set .... .... .... .... ...1 .... = R: Set .... .... .... .... .... 0... = N: Not set .... .... .... .... .... .0.. = MC: Not set .... .... .... .... .... ..1. = E: Set .... .... .... .... .... ...1 = V6: Set Router Interfaces: Type: 2 (Connection to a transit network) Reserved: 0 Metric: 1 Interface ID: 5 Neighbor Interface ID: 6 Neighbor Router ID: 10.0.0.2 Router-LSA (Type: 0x2001) LS Age: 27 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.4 (10.0.0.4) LS Sequence Number: 0x80000003 LS Checksum: 0x6076 Length: 40 Flags: 0x00 .... 0... = W: NO Wild-card multicast receiver .... .0.. = V: NO Virtual link endpoint IPv6 For Life +33781248989
  • 12. Page 12 Saturday 15 November 2014 Fred Bovy .... ..0. = E: NO AS boundary router .... ...0 = B: NO Area border router Options: 0x000033 (DC, R, E, V6) .... .... .... .0.. .... .... = AT: Not set .... .... .... ..0. .... .... = L: Not set .... .... .... ...0 .... .... = AF: Not set .... .... .... .... ..1. .... = DC: Set .... .... .... .... ...1 .... = R: Set .... .... .... .... .... 0... = N: Not set .... .... .... .... .... .0.. = MC: Not set .... .... .... .... .... ..1. = E: Set .... .... .... .... .... ...1 = V6: Set Router Interfaces: Type: 2 (Connection to a transit network) Reserved: 0 Metric: 1 Interface ID: 5 Neighbor Interface ID: 7 Neighbor Router ID: 10.0.0.2 Network-LSA (Type: 0x2002) LS Age: 145 seconds Do Not Age: False LS Type: Network-LSA (0x2002) Link State ID: 0.0.0.6 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 LS Checksum: 0x419c Length: 32 Reserved: 0 Options: 0x000033 (DC, R, E, V6) .... .... .... .0.. .... .... = AT: Not set .... .... .... ..0. .... .... = L: Not set .... .... .... ...0 .... .... = AF: Not set .... .... .... .... ..1. .... = DC: Set .... .... .... .... ...1 .... = R: Set .... .... .... .... .... 0... = N: Not set .... .... .... .... .... .0.. = MC: Not set .... .... .... .... .... ..1. = E: Set .... .... .... .... .... ...1 = V6: Set Attached Router: 10.0.0.2 Attached Router: 10.0.0.3 Network-LSA (Type: 0x2002) LS Age: 36 seconds Do Not Age: False LS Type: Network-LSA (0x2002) Link State ID: 0.0.0.7 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 LS Checksum: 0x4596 Length: 32 Reserved: 0 Options: 0x000033 (DC, R, E, V6) .... .... .... .0.. .... .... = AT: Not set .... .... .... ..0. .... .... = L: Not set .... .... .... ...0 .... .... = AF: Not set .... .... .... .... ..1. .... = DC: Set .... .... .... .... ...1 .... = R: Set .... .... .... .... .... 0... = N: Not set .... .... .... .... .... .0.. = MC: Not set .... .... .... .... .... ..1. = E: Set .... .... .... .... .... ...1 = V6: Set Attached Router: 10.0.0.2 Attached Router: 10.0.0.4 Intra-Area-Prefix-LSA (Type: 0x2009) LS Age: 305 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 LS Checksum: 0xa6d4 Length: 52 # prefixes: 1 IPv6 For Life +33781248989
  • 13. Page 13 Saturday 15 November 2014 Fred Bovy Referenced LS type 0x2001 (Router-LSA) Referenced Link State ID: 0.0.0.0 Referenced Advertising Router: 10.0.0.2 PrefixLength: 128 PrefixOptions: 0x02 (LA) .... 0... = P: Propagate bit is NOT set .... .0.. = MC: Multicast capability bit is NOT set .... ..1. = LA: LocalAddress capability bit is SET .... ...0 = NU: NoUnicast capability bit is NOT set Metric: 0 Address Prefix: 2001:db8::2 Intra-Area-Prefix-LSA (Type: 0x2009) LS Age: 169 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.3 (10.0.0.3) LS Sequence Number: 0x80000001 LS Checksum: 0xd0a7 Length: 52 # prefixes: 1 Referenced LS type 0x2001 (Router-LSA) Referenced Link State ID: 0.0.0.0 Referenced Advertising Router: 10.0.0.3 PrefixLength: 128 PrefixOptions: 0x02 (LA) .... 0... = P: Propagate bit is NOT set .... .0.. = MC: Multicast capability bit is NOT set .... ..1. = LA: LocalAddress capability bit is SET .... ...0 = NU: NoUnicast capability bit is NOT set Metric: 0 Address Prefix: 2001:db8::3 Intra-Area-Prefix-LSA (Type: 0x2009) LS Age: 28 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.4 (10.0.0.4) LS Sequence Number: 0x80000001 LS Checksum: 0xfa7a Length: 52 # prefixes: 1 Referenced LS type 0x2001 (Router-LSA) Referenced Link State ID: 0.0.0.0 Referenced Advertising Router: 10.0.0.4 PrefixLength: 128 PrefixOptions: 0x02 (LA) .... 0... = P: Propagate bit is NOT set .... .0.. = MC: Multicast capability bit is NOT set .... ..1. = LA: LocalAddress capability bit is SET .... ...0 = NU: NoUnicast capability bit is NOT set Metric: 0 Address Prefix: 2001:db8::4 LINK STATE ACKNOWLEDGEMENT Open Shortest Path First OSPF Header Version: 3 Message Type: LS Acknowledge (5) Packet Length: 216 Source OSPF Router: 10.0.0.1 (10.0.0.1) Area ID: 0.0.0.0 (0.0.0.0) (Backbone) Checksum: 0x99ef [correct] Instance ID: IPv6 unicast AF (0) Reserved: 00 LSA Header LS Age: 36 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.2 (10.0.0.2) IPv6 For Life +33781248989
  • 14. Page 14 Saturday 15 November 2014 Fred Bovy LS Sequence Number: 0x80000009 LS Checksum: 0x1293 Length: 56 LSA Header LS Age: 144 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.3 (10.0.0.3) LS Sequence Number: 0x80000003 LS Checksum: 0x5484 Length: 40 LSA Header LS Age: 27 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.4 (10.0.0.4) LS Sequence Number: 0x80000003 LS Checksum: 0x6076 Length: 40 LSA Header LS Age: 145 seconds Do Not Age: False LS Type: Network-LSA (0x2002) Link State ID: 0.0.0.6 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 LS Checksum: 0x419c Length: 32 LSA Header LS Age: 36 seconds Do Not Age: False LS Type: Network-LSA (0x2002) Link State ID: 0.0.0.7 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 LS Checksum: 0x4596 Length: 32 LSA Header LS Age: 305 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 LS Checksum: 0xa6d4 Length: 52 LSA Header LS Age: 169 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.3 (10.0.0.3) LS Sequence Number: 0x80000001 LS Checksum: 0xd0a7 Length: 52 LSA Header LS Age: 28 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.4 (10.0.0.4) LS Sequence Number: 0x80000001 LS Checksum: 0xfa7a Length: 52 LSA Header LS Age: 1 seconds Do Not Age: False LS Type: Link-LSA (0x0008) Link State ID: 0.0.0.5 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 IPv6 For Life +33781248989
  • 15. Page 15 Saturday 15 November 2014 Fred Bovy LS Checksum: 0xf7a6 Length: 44 LSA Header LS Age: 1 seconds Do Not Age: False LS Type: Router-LSA (0x2001) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x8000000a LS Checksum: 0x413b Length: 72 THE NEW LSA INTRODUCED IN OSPFv3 Intra-area-Prefix-LSA (Type 9) The Router and Network LSAs do not advertise addresses anymore. Addresses are transported by Intr-Area-Prefix LSA. Below we can see a router advertising a /128 loopback interface address. Intra-Area-Prefix-LSA (Type: 0x2009) LS Age: 305 seconds Do Not Age: False LS Type: Intra-Area-Prefix-LSA (0x2009) Link State ID: 0.0.0.0 Advertising Router: 10.0.0.2 (10.0.0.2) LS Sequence Number: 0x80000001 LS Checksum: 0xa6d4 Length: 52 # prefixes: 1 Referenced LS type 0x2001 (Router-LSA) Referenced Link State ID: 0.0.0.0 Referenced Advertising Router: 10.0.0.2 PrefixLength: 128 PrefixOptions: 0x02 (LA) .... 0... = P: Propagate bit is NOT set .... .0.. = MC: Multicast capability bit is NOT set .... ..1. = LA: LocalAddress capability bit is SET .... ...0 = NU: NoUnicast capability bit is NOT set Metric: 0 Address Prefix: 2001:db8::2 Link-LSA (Type 8) The Link LSA permit to advertise the Link-Local Address. Link-LSA (Type: 0x0008) LS Age: 417 seconds Do Not Age: False LS Type: Link-LSA (0x0008) Link State ID: 0.0.0.5 Advertising Router: 10.0.0.1 (10.0.0.1) LS Sequence Number: 0x80000001 LS Checksum: 0xc5dc Length: 44 Router Priority: 1 Options: 0x000033 (DC, R, E, V6) .... .... .... .0.. .... .... = AT: Not set .... .... .... ..0. .... .... = L: Not set .... .... .... ...0 .... .... = AF: Not set .... .... .... .... ..1. .... = DC: Set .... .... .... .... ...1 .... = R: Set .... .... .... .... .... 0... = N: Not set .... .... .... .... .... .0.. = MC: Not set .... .... .... .... .... ..1. = E: Set .... .... .... .... .... ...1 = V6: Set Link-local Interface Address: fe80::c801:fff:fe04:8 IPv6 For Life +33781248989
  • 16. Page 16 Saturday 15 November 2014 Fred Bovy THE LSA WITH NEW NAMES INTER-AREA-ROUTER LSA (Type 4) This LSA is generated by an ABR when it receives External LSA Type 5 from a router in its area. It advertises this ASBR to the other Areas so they can build a route to the next hop of the routes advertised by the ASBR. R1#sh ipv6 ospf data inter-area router OSPFv3 Router with ID (10.0.0.1) (Process ID 1) Inter Area Router Link States (Area 0) Routing Bit Set on this LSA LS age: 137 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Inter Area Router Links Link State ID: 167772163 Advertising Router: 10.0.0.2 LS Seq Number: 80000001 Checksum: 0x706F Length: 32 Metric: 1 Destination Router ID: 10.0.0.3 The Inter-Area-Prefix LSA (type 3) was called Summary LSA before. By default, an ABR generate one LSA for each route unless you can summarise the Area with one address which is the typical configuration. As ABR generate one LSA per route we can say that OSPF is a Distance-Vector protocol between two areas. INTER-AREA-PREFIX LSA (Type 3) R1#sh ipv6 ospf data inter-area prefix OSPFv3 Router with ID (10.0.0.1) (Process ID 1) Inter Area Prefix Link States (Area 0) Routing Bit Set on this LSA LS age: 9 LS Type: Inter Area Prefix Links Link State ID: 0 Advertising Router: 10.0.0.2 LS Seq Number: 80000001 Checksum: 0x6A4D Length: 44 Metric: 1 Prefix Address: 2001:DB8::3 Prefix Length: 128, Options: None R1# IPv6 For Life +33781248989
  • 17. Page 17 Saturday 15 November 2014 Fred Bovy OSPF Architecture Architecture did not change from OSPFv2 and OSPFv3. We still have the concepts of Area, Stub Area and ABR to interconnect an Area to the backbone Area 0. ASBR are still used to advertise External Routes. IPv6 For Life +33781248989
  • 18. Page 18 Saturday 15 November 2014 Fred Bovy This translates to a hierarchy in routing: A router will always prefer an Intra Area OSPF Route to any other route for the same destination. Then the next choice is Inter-Area OSPF Routes, then External Type 1 and finally External Type 2. This is the only example I know where the longest match rule is not the preferred rule to select a route. Example of Multi-Area Autonomous System: R1, R2 and R3 are in Area 0 R5 is in Stub area 2 R4, R6, R7 R1 and R3 are in Area 1 With a basic configuration we can check OSPFv3 neighbours of each router: R1>sh ipv6 ospf ne Neighbor ID Pri State Dead Time Interface ID Interface 10.0.0.2 1 FULL/BDR 00:00:37 6 GigabitEthernet1/0 10.0.0.3 1 FULL/BDR 00:00:35 6 GigabitEthernet0/0 10.0.0.7 1 FULL/BDR 00:00:33 6 GigabitEthernet3/0 10.0.0.4 1 FULL/BDR 00:00:37 5 GigabitEthernet2/0 First remark is that OSPFv3 configure eqch interface as a BROADCAST IPv6 OSPF Interface. This is why each router is adjacent with a BDP beeing itself the DR as we can check: R1>sh ipv6 ospf int g0/0 GigabitEthernet0/0 is up, line protocol is up Link Local Address FE80::C801:FFF:FE97:8, Interface ID 5 Area 0, Process ID 1, Instance ID 0, Router ID 10.0.0.1 Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 10.0.0.1, local address FE80::C801:FFF:FE97:8 Backup Designated router (ID) 10.0.0.3, local address FE80::C803:FFF:FE9B:1C Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:05 Index 1/2/2, flood queue length 0 Next 0x0(0)/0x0(0)/0x0(0) Last flood scan length is 0, maximum is 3 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 10.0.0.3 (Backup Designated Router) Suppress hello for 0 neighbor(s) This is a waste of time as the election of the DR/BDR slowdown the convergence. It also makes the Database bigger and more complex with a Network-LSA for each Gigabit Interface. If we got Point-to-Point interface we should configure it as point to point. R1>show ipv6 ospf database router adv-router 10.0.0.1 OSPFv3 Router with ID (10.0.0.1) (Process ID 1) Router Link States (Area 0) LS age: 923 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Router Links Link State ID: 0 Advertising Router: 10.0.0.1 LS Seq Number: 80000010 Checksum: 0x7034 Length: 56 Area Border Router Number of Links: 2 Link connected to: a Transit Network IPv6 For Life +33781248989
  • 19. Page 19 Saturday 15 November 2014 Fred Bovy Link Metric: 1 Local Interface ID: 6 Neighbor (DR) Interface ID: 6 Neighbor (DR) Router ID: 10.0.0.1 Link connected to: a Transit Network Link Metric: 1 Local Interface ID: 5 Neighbor (DR) Interface ID: 5 Neighbor (DR) Router ID: 10.0.0.1 Router Link States (Area 1) LS age: 1411 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Router Links Link State ID: 0 Advertising Router: 10.0.0.1 LS Seq Number: 8000000B Checksum: 0x3B66 Length: 56 Area Border Router Number of Links: 2 Link connected to: a Transit Network Link Metric: 1 Local Interface ID: 8 Neighbor (DR) Interface ID: 8 Neighbor (DR) Router ID: 10.0.0.1 Link connected to: a Transit Network Link Metric: 1 Local Interface ID: 7 Neighbor (DR) Interface ID: 7 Neighbor (DR) Router ID: 10.0.0.1 R2 is an ABR so it has a DB for Area 0 and a database for Area 1. It points to transit network with the address of the DR. The we need to check the LSA generated by this DR to find all neighbours of this network: R1>show ipv6 ospf database network adv-router 10.0.0.1 OSPFv3 Router with ID (10.0.0.1) (Process ID 1) Net Link States (Area 0) LS age: 1224 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Network Links Link State ID: 5 (Interface ID of Designated Router) Advertising Router: 10.0.0.1 LS Seq Number: 80000005 Checksum: 0x3F9D Length: 32 Attached Router: 10.0.0.1 Attached Router: 10.0.0.3 LS age: 219 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Network Links Link State ID: 6 (Interface ID of Designated Router) Advertising Router: 10.0.0.1 LS Seq Number: 80000006 Checksum: 0x25B6 Length: 32 Attached Router: 10.0.0.1 Attached Router: 10.0.0.2 IPv6 For Life +33781248989
  • 20. Page 20 Saturday 15 November 2014 Fred Bovy Net Link States (Area 1) LS age: 1712 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Network Links Link State ID: 7 (Interface ID of Designated Router) Advertising Router: 10.0.0.1 LS Seq Number: 80000005 Checksum: 0x39A0 Length: 32 Attached Router: 10.0.0.1 Attached Router: 10.0.0.4 LS age: 1714 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Network Links Link State ID: 8 (Interface ID of Designated Router) Advertising Router: 10.0.0.1 LS Seq Number: 80000005 Checksum: 0x597C Length: 32 Attached Router: 10.0.0.1 Attached Router: 10.0.0.7 This is overkill and not needed as we just need to know the Router-ID of the Neighbour. Also DR/BDR election starts with 40 seconds listening and doing nothing so it is really a waste of time when we have a Point-to-Point. Let’s configure all our point to point correctly.: R6(config)#int g0/0 R6(config-if)#ipv6 ospf network point-to-point Then R1 neighbours look like: R1#sh ipv6 ospf neighbor *Nov 15 18:58:24.439: %SYS-5-CONFIG_I: Configured from console by console Neighbor ID Pri State Dead Time Interface ID Interface 10.0.0.2 1 FULL/ - 00:00:37 6 GigabitEthernet1/0 10.0.0.3 1 FULL/ - 00:00:36 6 GigabitEthernet0/0 10.0.0.7 1 FULL/ - 00:00:39 6 GigabitEthernet3/0 10.0.0.4 1 FULL/ - 00:00:34 5 GigabitEthernet2/0 R1# No more DR or BDR on Point-to-Point and if we look a Router LSA, it is much more simple no more need for pointing to a Network LSA: R1#sh ipv6 ospf data router adv 10.0.0.1 OSPFv3 Router with ID (10.0.0.1) (Process ID 1) Router Link States (Area 0) LS age: 533 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Router Links Link State ID: 0 Advertising Router: 10.0.0.1 LS Seq Number: 80000015 Checksum: 0xCCD0 Length: 56 Area Border Router Number of Links: 2 Link connected to: another Router (point-to-point) Link Metric: 1 Local Interface ID: 6 Neighbor Interface ID: 6 Neighbor Router ID: 10.0.0.2 IPv6 For Life +33781248989
  • 21. Page 21 Saturday 15 November 2014 Fred Bovy Link connected to: another Router (point-to-point) Link Metric: 1 Local Interface ID: 5 Neighbor Interface ID: 6 Neighbor Router ID: 10.0.0.3 Router Link States (Area 1) LS age: 305 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Router Links Link State ID: 0 Advertising Router: 10.0.0.1 LS Seq Number: 80000010 Checksum: 0xA1F7 Length: 56 Area Border Router Number of Links: 2 Link connected to: another Router (point-to-point) Link Metric: 1 Local Interface ID: 8 Neighbor Interface ID: 6 Neighbor Router ID: 10.0.0.7 Link connected to: another Router (point-to-point) Link Metric: 1 Local Interface ID: 7 Neighbor Interface ID: 5 Neighbor Router ID: 10.0.0.4 Please notice that there is no IPv6 address in the Router and Network LSA, they are in the Int- Area_Prefix LSA: R1#sh ipv6 ospf data prefix adv-router 10.0.0.1 OSPFv3 Router with ID (10.0.0.1) (Process ID 1) Intra Area Prefix Link States (Area 0) Routing Bit Set on this LSA LS age: 1970 LS Type: Intra-Area-Prefix-LSA Link State ID: 0 Advertising Router: 10.0.0.1 LS Seq Number: 80000006 Checksum: 0x7207 Length: 52 Referenced LSA Type: 2001 Referenced Link State ID: 0 Referenced Advertising Router: 10.0.0.1 Number of Prefixes: 1 Prefix Address: 2001:DB8::1 Prefix Length: 128, Options: LA, Metric: 0 We can also check the Inter-Area-Router LSA that R1 and R3 makes to advertise R6 as an ASBR: R1#sh ipv6 ospf data inter-area router OSPFv3 Router with ID (10.0.0.1) (Process ID 1) Inter Area Router Link States (Area 0) LS age: 1117 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Inter Area Router Links Link State ID: 167772166 IPv6 For Life +33781248989
  • 22. Page 22 Saturday 15 November 2014 Fred Bovy Advertising Router: 10.0.0.1 LS Seq Number: 80000004 Checksum: 0x8650 Length: 32 Metric: 2 Destination Router ID: 10.0.0.6 LS age: 736 Options: (V6-Bit, E-Bit, R-bit, DC-Bit) LS Type: Inter Area Router Links Link State ID: 167772166 Advertising Router: 10.0.0.3 LS Seq Number: 80000002 Checksum: 0x7E58 Length: 32 Metric: 2 Destination Router ID: 10.0.0.6 R1# IPv6 For Life +33781248989
  • 23. Page 23 Saturday 15 November 2014 Fred Bovy IPv6 For Life +33781248989
  • 24. Page 24 Saturday 15 November 2014 Fred Bovy IPv6 For Life +33781248989
  • 25. Page 25 Saturday 15 November 2014 Fred Bovy IPv6 For Life +33781248989
  • 26. Page 26 Saturday 15 November 2014 Fred Bovy IPv6 For Life +33781248989
  • 27. Page 27 Saturday 15 November 2014 Fred Bovy ] IPv6 For Life +33781248989