9 ipv6-routing

Olivier Bonaventure
Olivier BonaventureProfessor at Université catholique de Louvain (UCL) and co-founder at Tessares
Week 9 
IPv6 
Routing in IP networks
Agenda 
• IPv6 
• Addressing architecture 
• Packets 
• ICMPv6 
• Routing in IP networks
IPv6 unicast addresses 
interface ID 
128 bits 
N bits M bits 128-N-M bits 
Usually 64 bits 
Based on MAC Address 
global routing prefix subnet ID 
Can be used to identify the 
ISP responsible for this address 
A subnet in this ISP or 
a customer of this ISP
IPv6 link-local 
• Used by daevdiceds rone ssamsee LAsN to exchange 
IPv6 packets when they don't have/need 
globally routable address 
• Each host/router must generate one link 
local address for each of its interfaces 
• Each IPv6 host uses several IPv6 
addresses 
interface ID 
128 bits 
10 bits 54 bits 64 bits 
FE80 0000000000.....00000000000
IPv6 Multicast 
• An IPv6 multicast address identifies 
a group a receivers 
Group ID 
128 bits 
8 bits 4 bits 4 bits 112 bits 
11111111 flags scope 
Node local-scope 
Link-local scope 
Subnet local-scope 
Site local-scope 
Organisation local-scope 
Global scope 
Permanent Address 
Temporary Address 
• All hosts : FF02::1 
• All routers : FF02::2
Agenda 
• IPv6 
• Addressing architecture 
• Packets 
• ICMPv6 
• Routing in IP networks
IPv6 packet format 
32 bits 
Ver Tclass Flow Label 
NxtHdr Hop Limit 
Payload Length 
Source IPv6 address 
(128 bits) 
Destination IPv6 address 
(128 bits) 
Version=6 
Traffic class 
Size of packet 
content in bytes 
Unclear utilisation 
Same as TTL 
Used to identify the type 
of the next header found 
in the packet payload
Sample IPv6 
packets 
Payload Length 
Payload Length 
Sequence number 
Acknowledgment number 
THL Reserved Flags 
Window 
• Identification of a transport (UDP/TCP) flow 
• IPv6 source/destination, Source/Destination 
ports 
32 bits 
Ver Tclass Flow Label 
NxtHdr Hop Limit 
Source IPv6 address 
(128 bits) 
Destination IPv6 address 
(128 bits) 
Source port Destination port 
Length Checksum 
UDP 
32 bits 
Ver Tclass Flow Label 
NxtHdr Hop Limit 
Source IPv6 address 
(128 bits) 
Destination IPv6 address 
(128 bits) 
Source port Destination port 
Checksum Urgent pointer 
TCP 
UDP 
TCP
Packet forwarding 
• IPv6 uses longest match 
• Example 
Destination Gateway 
::/0 fe80::dead:beef 
::1 ::1 
2a02:2788:2c4:16f::/64 eth0 
2001:6a8:3080::/48 fe80::bad:cafe 
2001:6a8:2d80::/48 fe80::bad:bad 
2001:6a8::/32 fe80::aaaa:bbbb 
Packets to 2001:6a8:3080::1234, 
2001:1890:123a::1:1e, 
2001:6a8:3880:40::2
Extension headers 
• Hop-by-Hop Options 
• Routing (Type 0 and Type 2) 
• Fragment 
• Destination Options 
• Authentication 
• Encapsulating Security Payload 
• Each header must be encoded as n*64 
bits
Packet fragmentation 
• How to handle this network ? 
R1 R2 
MTU:1500 
MTU:1400 
MTU:1300
Packet fragmentation 
• IPv4 used packet fragmentation on routers 
• All hosts must handle 576+ bytes 
packets 
• experience showed fragmentation is 
costly for routers and difficult to 
implement in hardware 
• PathMTU discovery 
• widely implemented in TCP stacks
P• aIPvc6 kreequtir efsr thaatg evmerye linnk tina thtei on 
internet have an MTU of 1280 octets or 
more 
• Routers do not perform fragmentation 
• Only end hosts perform 
fragmentation and reassembly by 
using the fragmentation header 
• But PathMTU discovery should 
avoid fragmentation most of the 
time
A fragmented packet 
First fragment Second (and last) fragment 
32 bits 
Ver Tclass Flow Label 
NxtHdr Hop Limit 
Payload Length 
Source IPv6 address 
(128 bits) 
Destination IPv6 address 
(128 bits) 
Source port Destination port 
Length Checksum 
UDP (first part) 
44:fragment 
Nxt Hdr Zero Frag. Offset 0 M 
Fragment identification = 1234 
UDP 
32 bits 
Ver Tclass Flow Label 
NxtHdr Hop Limit 
Payload Length 
Source IPv6 address 
(128 bits) 
Destination IPv6 address 
(128 bits) 
44:fragment 
Nxt Hdr Zero Frag. Offset 0 M 
Fragment identification = 1234 
True 
None 
False 
(end of UDP segment)
Agenda 
• IPv6 
• Addressing architecture 
• Packets 
• ICMPv6 
• Routing in IP networks
ICMPv6 
• Types of ICMPv6 messages 
• Destination (addr,net,port) unreachable 
• Packet too big 
• Used for PathMTU discovery 
• Time expired (Hop limit exhausted) 
• Echo request and echo reply 
• Multicast group membership 
• Router advertisments, Neighbor discovery 
• Autoconfiguration
ICMPv6 packet 
• Type 
• ICMPv6 error messages 
• 1 Destination Unreachable 
• 3 Time Exceeded 
• 2 Packet Too Big 
• 4 Parameter Problem 
• ICMPv6 informational messages: 
• 128 Echo Request 
• 129 Echo Reply 
Ver Tclass Flow Label 
NxtHdr Hop Limit 
Payload Length 
Source IPv6 address 
(128 bits) 
Destination IPv6 address 
(128 bits) 
Type Code Checksum 
Message body 
58 for ICMPv6 
Covers ICMPv6 message and part of IPv6 header
traceroute6 in details 
• Source sends UDP segments with 
increasing hop limit 
• Intermediate routers reply with ICMP 
Time Exceeded messages
traceroute6 
traceroute6 to star.c10r.facebook.com 
(2a03:2880:2130:cf05:face:b00c::1) from 
2001:6a8:3080:2:451c:db2:a92f:3d50, 64 hops max, 12 byte packets 
1 2001:6a8:3080:2::1 0.329 ms 
2 2001:6a8:3000:8000::1 0.582 ms 
3 2001:6a8:0:6009::1 1.505 ms 
4 2001:7f8:1::a503:2934:1 8.167 ms 
5 2620:0:1cff:dead:beef::34c 8.091 ms 
6 2620:0:1cff:dead:beef::2d9 13.922 ms 
7 2620:0:1cff:dead:beef::2dc 108.487 ms 
8 2620:0:1cff:dead:beef::9a7 106.722 ms 
9 2620:0:1cff:dead:beef::12a8 103.758 ms 
10 2620:0:1cff:dead:beef::999 105.648 ms
traceroute 
2001:db8:7/48 
A’s routing table 
destination interface/NH 
::/0 2001:db8:7::B 
2001:db8:7/48 2001:db8:4::C 
2001:db8:1/48 West 
2001:db8:4/48 East 
2001:db8:7/48 North 
B’s routing table 
destination interface/NH 
::/0 2001:db8:5::C 
2001:db8:2/47 2001:db8:6::E 
2001:db8:5/48 South 
2001:db8:6/48 East 
2001:db8:7/48 West 
C’s routing table 
destination interface/NH 
2001:db8:1/48 2001:db8:5::B 
2001:db8:2/47 2001:db8:3::E 
2001:db8:2/48 2001:db8:5::B 
2001:db8:3/48 East 
2001:db8:4/48 West 
2001:db8:5/48 North 
2001:db8:6/47 
2001:db8:5::B 
E’s routing table 
destination interface/NH 
::/0 2001:db8:6::B 
2001:db8:2/48 East 
2001:db8:3/48 West 
2001:db8:6/48 North 
RA 
RB 
RC RE 
2001:db8:1/48 
2001:db8:6/48 
2001:db8:5/48 
2001:db8:4/48 2001:db8:3/48 
2001:db8:2/48
Agenda 
• IPv6 
• Routing in IP networks 
• IPv6 subnets 
• Routing organization 
• Interdomain routing
Datalink layer service 
• Each device is identified by a 48 bits 
MAC address in the datalink layer 
• Ethernet, WiFi 
• Unicast transmission 
• Multicast transmission
IPv6 subnet 
• A subnet gathers hosts and routers that 
can directly exchange frames without 
passing through an intermediate route 
2001:db8:1234:5678::1 
R 
2001:db8:1234:5678::/64 
2001:db8:1234:5678::AA 
2001:db8:1234:5678::BB 
2001:db8:1234:5678::CC
Issues 
• How to easily assign IPv6 addresses to 
hosts ? 
• Manual configuration is not viable 
• How to map IPv6 addresses onto the 
corresponding MAC addresses ?
IPv6 over Ethernet 
IPv6: 2001:0:0:0:8::A 
Eth : A 
2001:0:0:0:8::A wants to send a packet to 2001:0:0:0:8::C 
1 
2 
Neighbor solicitation: Addr Eth 2001:0:0:0:8::C ? sent to IPv6 multicast address 
3 
IPv6: 2001:0:0:0:8::E 
Eth : E 
Ipv6: 2001:0:0:0:8::C 
Eth : C 
Ipv6: 2001:0:0:0:8::C 
Eth : C 
IPv6: 2001:0:0:0:8::E 
Eth : E 
IPv6: 2001:0:0:0:8::A 
Eth : A 
IPv6: 2001:0:0:0:8::C 
Neighbor advertisement: 2001:0:0:0:8::C is reachable via Ethernet Add : C 
Eth : C 
IPv6: 2001:0:0:0:8::E 
Eth : E 
IPv6: 2001:0:0:0:8::A 
Eth : A
Agenda 
• IPv6 
• Routing in IP networks 
• IPv6 subnets 
• Routing organization 
• Interdomain routing
Internet 
organisation 
• Internet is an internetwork with a large number 
of Autonomous Systems (AS) 
• an AS is a set of routers that are managed by 
the same administrative entity 
• Autonomous Systems are interconnected to 
allow the transmission of IP packets from any 
source to any destination 
• On the Internet, most packets need to 
travel through several transit Autonomous 
Systems
Types of domains 
• Transit domain 
• A transit domain allows external domains to 
use its infrastructure to send packets to 
other domains 
S1 
• Examples 
T1 T2 
T3 
S2 S3 
S4 
• UUNet, OpenTransit, GEANT, Internet2, 
RENATER, EQUANT, BT, Telia, Level3,...
Stub domains A stub domain does not allow external domains to 
use its infrastructure to send packets to other 
domains 
T1 T2 
T3 
S1 
S2 S3 
S4 
A stub is connected to at least one transit domain 
Content-rich stub domain : Yahoo, Google, MSN, 
TF1, BBC,... 
Access-rich stub domain : ISPs providing Internet 
access via CATV, ADSL, ...
Belnet 
Source : http://www.belnet.be
GEANT 
Source : http://www.belnet.be
Level3 
Source http://www.uu.net
Internet routing 
• Interior Gateway Protocol (IGP) 
• Routing of IP packets inside each domain 
• Only knows topology of its domain 
Domain1 
Domain4 
• Exterior Gateway Protocol (EGP) 
• Routing of IP packets between domains 
• Each domain is considered as a 
blackbox 
Domain2 
Domain3
Intradomain routing 
• Static routing 
• Only useful in very small domains 
• Distance vector routing 
• Routing Information Protocol (RIP) 
• Link-state routing 
• Open Shortest Path First (OSPF) 
• Intermediate System- Intermediate-System 
(IS-IS)
Intradomain routing 
• Goal 
• Allow routers to transmit IP packets along 
the best path towards their destination 
• best usually means the shortest path 
• Shortest measured in seconds or hops 
• sometimes best means the less loaded 
path 
• Alternate routes in case of failures 
• Behaviour 
• All routers exchange routing information
Agenda 
• IPv6 
• Routing in IP networks 
• IPv6 subnets 
• Routing organization 
• Interdomain routing
Interdomain routing 
• Goals 
• Allow to transmit IP packets along the 
best path towards their destination 
through several transit domains while 
taking into account their routing policies 
of each domain without knowing their 
detailed topology 
• From an interdomain viewpoint, best path 
often means cheapest path 
• Each domain is free to specify inside its 
routing policy the domains for which it 
agrees to provide a transit service and 
the method it uses to select the best path 
to reach each destination
Interdomain links 
• Private link 
• Usually a leased line between two routers 
belonging to the two connected domains 
R1 R2 
DomainA DomainB
Interconnection 
exchanges 
• How to efficiently connect several 
domains together ? 
R1 
R2 
R3 
R4 
Physical link 
Interdomain link
Routing policies 
• In theory BGP allows each domain to define 
its own routing policy... 
• In practice there are two common policies 
• customer-provider peering 
• Customer c buys Internet connectivity 
from provider P 
• shared-cost peering 
• Domains x and y agree to exchange 
packets without any payment
Customer-provider 
Customer Provider 
peering 
AS1 AS2 
$ $ $ 
AS3 AS4 
$ 
• Principle 
$ 
AS7 
• Customer sends to its provider internal routes 
and routes learned from its customers 
• Provider will advertise those routes to the 
entire Internet to allow anyone to reach the 
Customer 
• Provider sends to its customers all known 
routes 
• Customer will reach anyone on the Internet
Customer-provider 
peering : example 
AS1 AS2 
$ $ $ 
AS3 AS4 
• AS7-AS4 peering link 
$ 
• AS7 advertises its routes to AS4 
$ 
AS 
7 
• AS4 advertises to AS7 all its routes 
• AS4-AS2 peering link 
Customer-provider 
• AS4 advertises its own routes and those of its customers 
(AS7) 
• AS2 advertises to AS2 all known routes
Shared-cost peering 
AS1 AS2 
AS3 AS4 
$ 
AS7 
Customer-provider 
$ $ $ 
$ 
Shared-cost 
• Principle 
• PeerX sends to PeerY its internal routes and 
the routes learned from its own customers 
• PeerY sends to PeerX its internal routes and 
the routes learned from its own customers
Routing policies 
• A domain specifies its routing policy by 
defining two sets of filters for each peer 
• Import filter 
• Specifies which routes can be accepted by 
the router among all the received routes 
from a given peer 
• Export filter 
• Specifies which routes can be advertised by 
the router to a given peer
Routing policies 
AS1 AS2 
AS3 AS4 
$ 
AS7 
Customer-provider 
$ $ $ 
$ 
Shared-cost 
Import policy for AS4 
Import: from AS3 accept AS3 
import: from AS7 accept AS7 
import: from AS1 accept ANY 
import: from AS2 accept ANY 
Export policy for AS4 
export: to AS3 announce AS4 AS7 
export: to AS7 announce ANY 
export: to AS1 announce AS4 AS7 
export: to AS2 announce AS4 AS7 
Import policy for AS7 
Import: from AS4 accept ANY 
Export policy for AS4 
export: to AS4 announce AS7
1 of 45

Recommended

IPV6 Addressing by
IPV6 Addressing IPV6 Addressing
IPV6 Addressing Heba_a
3.2K views45 slides
Acl by
AclAcl
AclRaghu Kiran
4.9K views19 slides
Routing protocols by
Routing protocolsRouting protocols
Routing protocolsSourabh Goyal
3.4K views24 slides
IPv6 Fundamentals by
IPv6 FundamentalsIPv6 Fundamentals
IPv6 FundamentalsMatt Bynum
6.3K views30 slides
Access Control List (ACL) by
Access Control List (ACL)Access Control List (ACL)
Access Control List (ACL)ISMT College
836 views22 slides
C I D R by
C I D RC I D R
C I D Rcolmbennett
4.6K views13 slides

More Related Content

What's hot

What is Network Address Translation (NAT) by
What is Network Address Translation (NAT)What is Network Address Translation (NAT)
What is Network Address Translation (NAT)Amit Kumar , Jaipur Engineers
6.8K views6 slides
Ipv4 vs Ipv6 comparison by
Ipv4 vs Ipv6 comparisonIpv4 vs Ipv6 comparison
Ipv4 vs Ipv6 comparisonShailesh Pachori
93.7K views65 slides
Data Link Layer by
Data Link LayerData Link Layer
Data Link LayerSachii Dosti
2K views20 slides
ETHERNET by
ETHERNETETHERNET
ETHERNETAKSHIT KOHLI
2.4K views39 slides
Spanning tree protocol (stp) by
Spanning tree protocol (stp)Spanning tree protocol (stp)
Spanning tree protocol (stp)RaghulR21
945 views20 slides
Networking devices by
Networking devicesNetworking devices
Networking devicesfrestoadi
2.8K views41 slides

What's hot(20)

Spanning tree protocol (stp) by RaghulR21
Spanning tree protocol (stp)Spanning tree protocol (stp)
Spanning tree protocol (stp)
RaghulR21945 views
Networking devices by frestoadi
Networking devicesNetworking devices
Networking devices
frestoadi2.8K views
Internet control message protocol by asimnawaz54
Internet control message protocolInternet control message protocol
Internet control message protocol
asimnawaz5428.2K views
Internet protocol v6 by Pramith P
Internet protocol v6Internet protocol v6
Internet protocol v6
Pramith P615 views
Vlan by sanss40
Vlan Vlan
Vlan
sanss4050K views
Overview of Spanning Tree Protocol by Arash Foroughi
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
Arash Foroughi8.4K views

Viewers also liked

Computer Networking : Principles, Protocols and Practice - lesson 1 by
Computer Networking : Principles, Protocols and Practice - lesson 1Computer Networking : Principles, Protocols and Practice - lesson 1
Computer Networking : Principles, Protocols and Practice - lesson 1Olivier Bonaventure
9K views30 slides
6 app-tcp by
6 app-tcp6 app-tcp
6 app-tcpOlivier Bonaventure
3K views52 slides
10 routing-bgp by
10 routing-bgp10 routing-bgp
10 routing-bgpOlivier Bonaventure
2.1K views49 slides
Internet innovation with Multipath TCP by
Internet innovation with Multipath TCPInternet innovation with Multipath TCP
Internet innovation with Multipath TCPOlivier Bonaventure
1.1K views21 slides
Some lessons learned developing OERs over a decade by
Some lessons learned developing OERs over a decadeSome lessons learned developing OERs over a decade
Some lessons learned developing OERs over a decadeOlivier Bonaventure
526 views22 slides
Beyond TCP: The evolution of Internet transport protocols by
Beyond TCP: The evolution of Internet transport protocolsBeyond TCP: The evolution of Internet transport protocols
Beyond TCP: The evolution of Internet transport protocolsOlivier Bonaventure
961 views141 slides

Viewers also liked(15)

Computer Networking : Principles, Protocols and Practice - lesson 1 by Olivier Bonaventure
Computer Networking : Principles, Protocols and Practice - lesson 1Computer Networking : Principles, Protocols and Practice - lesson 1
Computer Networking : Principles, Protocols and Practice - lesson 1
Some lessons learned developing OERs over a decade by Olivier Bonaventure
Some lessons learned developing OERs over a decadeSome lessons learned developing OERs over a decade
Some lessons learned developing OERs over a decade
Beyond TCP: The evolution of Internet transport protocols by Olivier Bonaventure
Beyond TCP: The evolution of Internet transport protocolsBeyond TCP: The evolution of Internet transport protocols
Beyond TCP: The evolution of Internet transport protocols
Implementing IPv6 Segment Routing in the Linux kernel by Olivier Bonaventure
Implementing IPv6 Segment Routing in the Linux kernelImplementing IPv6 Segment Routing in the Linux kernel
Implementing IPv6 Segment Routing in the Linux kernel
Olivier Bonaventure1.1K views
Beyond TCP: The evolution of Internet transport protocols by Olivier Bonaventure
Beyond TCP: The evolution of Internet transport protocolsBeyond TCP: The evolution of Internet transport protocols
Beyond TCP: The evolution of Internet transport protocols
Olivier Bonaventure18.3K views

Similar to 9 ipv6-routing

TCP-IP PROTOCOL by
TCP-IP PROTOCOLTCP-IP PROTOCOL
TCP-IP PROTOCOLOsama Ghandour Geris
257 views41 slides
IPv6 Fundamentals & Securities by
IPv6 Fundamentals & SecuritiesIPv6 Fundamentals & Securities
IPv6 Fundamentals & SecuritiesDon Anto
1.2K views20 slides
IP Routing.pptx by
IP Routing.pptxIP Routing.pptx
IP Routing.pptxssuser957b41
24 views34 slides
Part 9 : Congestion control and IPv6 by
Part 9 : Congestion control and IPv6Part 9 : Congestion control and IPv6
Part 9 : Congestion control and IPv6Olivier Bonaventure
124 views59 slides
Network.pptx by
Network.pptxNetwork.pptx
Network.pptxSAMANTHACARDOSO13
8 views56 slides
Your app lives on the network - networking for web developers by
Your app lives on the network - networking for web developersYour app lives on the network - networking for web developers
Your app lives on the network - networking for web developersWim Godden
477 views54 slides

Similar to 9 ipv6-routing(20)

IPv6 Fundamentals & Securities by Don Anto
IPv6 Fundamentals & SecuritiesIPv6 Fundamentals & Securities
IPv6 Fundamentals & Securities
Don Anto1.2K views
Your app lives on the network - networking for web developers by Wim Godden
Your app lives on the network - networking for web developersYour app lives on the network - networking for web developers
Your app lives on the network - networking for web developers
Wim Godden477 views
Neighbor discoverydhcp by Fred Bovy
Neighbor discoverydhcpNeighbor discoverydhcp
Neighbor discoverydhcp
Fred Bovy1.1K views
Fedv6tf-IPv6-new-friends by Tim Martin
Fedv6tf-IPv6-new-friendsFedv6tf-IPv6-new-friends
Fedv6tf-IPv6-new-friends
Tim Martin727 views
Networking essentials lect2 by Roman Brovko
Networking essentials lect2Networking essentials lect2
Networking essentials lect2
Roman Brovko125 views
HBaseCon 2013: Scalable Network Designs for Apache HBase by Cloudera, Inc.
HBaseCon 2013: Scalable Network Designs for Apache HBaseHBaseCon 2013: Scalable Network Designs for Apache HBase
HBaseCon 2013: Scalable Network Designs for Apache HBase
Cloudera, Inc.5.7K views
SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te... by Louis Göhl
SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...
SVR401: DirectAccess Technical Drilldown, Part 1 of 2: IPv6 and transition te...
Louis Göhl2.7K views
Your app lives on the network - networking for web developers by Wim Godden
Your app lives on the network - networking for web developersYour app lives on the network - networking for web developers
Your app lives on the network - networking for web developers
Wim Godden548 views
OARC 26: Scoring the Root Server System by APNIC
OARC 26: Scoring the Root Server SystemOARC 26: Scoring the Root Server System
OARC 26: Scoring the Root Server System
APNIC339 views
IPv6 networking training sduffy v3 by Shane Duffy
IPv6 networking training   sduffy v3IPv6 networking training   sduffy v3
IPv6 networking training sduffy v3
Shane Duffy1.1K views

More from Olivier Bonaventure

Part3-reliable.pptx by
Part3-reliable.pptxPart3-reliable.pptx
Part3-reliable.pptxOlivier Bonaventure
10 views55 slides
Part10-router.pptx by
Part10-router.pptxPart10-router.pptx
Part10-router.pptxOlivier Bonaventure
10 views24 slides
Part1-Intro-Apps.pptx by
Part1-Intro-Apps.pptxPart1-Intro-Apps.pptx
Part1-Intro-Apps.pptxOlivier Bonaventure
22 views112 slides
Part9-congestion.pptx by
Part9-congestion.pptxPart9-congestion.pptx
Part9-congestion.pptxOlivier Bonaventure
13 views56 slides
Part2-Apps-Security.pptx by
Part2-Apps-Security.pptxPart2-Apps-Security.pptx
Part2-Apps-Security.pptxOlivier Bonaventure
14 views94 slides
Part11-lan.pptx by
Part11-lan.pptxPart11-lan.pptx
Part11-lan.pptxOlivier Bonaventure
8 views89 slides

More from Olivier Bonaventure(20)

A personal journey towards more reproducible networking research by Olivier Bonaventure
A personal journey towards more reproducible networking researchA personal journey towards more reproducible networking research
A personal journey towards more reproducible networking research
Part 10 : Routing in IP networks and interdomain routing with BGP by Olivier Bonaventure
Part 10 : Routing in IP networks and interdomain routing with BGPPart 10 : Routing in IP networks and interdomain routing with BGP
Part 10 : Routing in IP networks and interdomain routing with BGP

Recently uploaded

CCNA_questions_2021.pdf by
CCNA_questions_2021.pdfCCNA_questions_2021.pdf
CCNA_questions_2021.pdfVUPHUONGTHAO9
7 views196 slides
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf by
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdfASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdfAlhamduKure
10 views11 slides
GDSC Mikroskil Members Onboarding 2023.pdf by
GDSC Mikroskil Members Onboarding 2023.pdfGDSC Mikroskil Members Onboarding 2023.pdf
GDSC Mikroskil Members Onboarding 2023.pdfgdscmikroskil
72 views62 slides
Module-1, Chapter-2 Data Types, Variables, and Arrays by
Module-1, Chapter-2 Data Types, Variables, and ArraysModule-1, Chapter-2 Data Types, Variables, and Arrays
Module-1, Chapter-2 Data Types, Variables, and ArraysDemian Antony D'Mello
9 views44 slides
Programmable Switches for Programmable Logic Devices by
Programmable Switches for Programmable Logic DevicesProgrammable Switches for Programmable Logic Devices
Programmable Switches for Programmable Logic DevicesUsha Mehta
19 views26 slides
Integrating Sustainable Development Goals (SDGs) in School Education by
Integrating Sustainable Development Goals (SDGs) in School EducationIntegrating Sustainable Development Goals (SDGs) in School Education
Integrating Sustainable Development Goals (SDGs) in School EducationSheetalTank1
13 views29 slides

Recently uploaded(20)

ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf by AlhamduKure
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdfASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
ASSIGNMENTS ON FUZZY LOGIC IN TRAFFIC FLOW.pdf
AlhamduKure10 views
GDSC Mikroskil Members Onboarding 2023.pdf by gdscmikroskil
GDSC Mikroskil Members Onboarding 2023.pdfGDSC Mikroskil Members Onboarding 2023.pdf
GDSC Mikroskil Members Onboarding 2023.pdf
gdscmikroskil72 views
Programmable Switches for Programmable Logic Devices by Usha Mehta
Programmable Switches for Programmable Logic DevicesProgrammable Switches for Programmable Logic Devices
Programmable Switches for Programmable Logic Devices
Usha Mehta19 views
Integrating Sustainable Development Goals (SDGs) in School Education by SheetalTank1
Integrating Sustainable Development Goals (SDGs) in School EducationIntegrating Sustainable Development Goals (SDGs) in School Education
Integrating Sustainable Development Goals (SDGs) in School Education
SheetalTank113 views
DevFest 2023 Daegu Speech_이재규, Implementing easy and simple chat with gol... by JQLEE6
DevFest 2023 Daegu Speech_이재규,  Implementing easy and simple chat with gol...DevFest 2023 Daegu Speech_이재규,  Implementing easy and simple chat with gol...
DevFest 2023 Daegu Speech_이재규, Implementing easy and simple chat with gol...
JQLEE68 views
Solution Challenge Introduction.pptx by GDSCCEC
Solution Challenge Introduction.pptxSolution Challenge Introduction.pptx
Solution Challenge Introduction.pptx
GDSCCEC13 views
REPORT Data Science EXPERT LECTURE.doc by Parulkhatri11
REPORT Data Science EXPERT LECTURE.docREPORT Data Science EXPERT LECTURE.doc
REPORT Data Science EXPERT LECTURE.doc
Parulkhatri117 views
IRJET-Productivity Enhancement Using Method Study.pdf by SahilBavdhankar
IRJET-Productivity Enhancement Using Method Study.pdfIRJET-Productivity Enhancement Using Method Study.pdf
IRJET-Productivity Enhancement Using Method Study.pdf
SahilBavdhankar10 views
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf by Philipp Daum
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf
2023-12 Emarei MRI Tool Set E2I0501ST (TQ).pdf
Philipp Daum5 views
MongoDB.pdf by ArthyR3
MongoDB.pdfMongoDB.pdf
MongoDB.pdf
ArthyR351 views
Field Programmable Gate Arrays : Architecture by Usha Mehta
Field Programmable Gate Arrays : ArchitectureField Programmable Gate Arrays : Architecture
Field Programmable Gate Arrays : Architecture
Usha Mehta23 views
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... by csegroupvn
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
csegroupvn16 views
AWS Certified Solutions Architect Associate Exam Guide_published .pdf by Kiran Kumar Malik
AWS Certified Solutions Architect Associate Exam Guide_published .pdfAWS Certified Solutions Architect Associate Exam Guide_published .pdf
AWS Certified Solutions Architect Associate Exam Guide_published .pdf
Unlocking Research Visibility.pdf by KhatirNaima
Unlocking Research Visibility.pdfUnlocking Research Visibility.pdf
Unlocking Research Visibility.pdf
KhatirNaima11 views

9 ipv6-routing

  • 1. Week 9 IPv6 Routing in IP networks
  • 2. Agenda • IPv6 • Addressing architecture • Packets • ICMPv6 • Routing in IP networks
  • 3. IPv6 unicast addresses interface ID 128 bits N bits M bits 128-N-M bits Usually 64 bits Based on MAC Address global routing prefix subnet ID Can be used to identify the ISP responsible for this address A subnet in this ISP or a customer of this ISP
  • 4. IPv6 link-local • Used by daevdiceds rone ssamsee LAsN to exchange IPv6 packets when they don't have/need globally routable address • Each host/router must generate one link local address for each of its interfaces • Each IPv6 host uses several IPv6 addresses interface ID 128 bits 10 bits 54 bits 64 bits FE80 0000000000.....00000000000
  • 5. IPv6 Multicast • An IPv6 multicast address identifies a group a receivers Group ID 128 bits 8 bits 4 bits 4 bits 112 bits 11111111 flags scope Node local-scope Link-local scope Subnet local-scope Site local-scope Organisation local-scope Global scope Permanent Address Temporary Address • All hosts : FF02::1 • All routers : FF02::2
  • 6. Agenda • IPv6 • Addressing architecture • Packets • ICMPv6 • Routing in IP networks
  • 7. IPv6 packet format 32 bits Ver Tclass Flow Label NxtHdr Hop Limit Payload Length Source IPv6 address (128 bits) Destination IPv6 address (128 bits) Version=6 Traffic class Size of packet content in bytes Unclear utilisation Same as TTL Used to identify the type of the next header found in the packet payload
  • 8. Sample IPv6 packets Payload Length Payload Length Sequence number Acknowledgment number THL Reserved Flags Window • Identification of a transport (UDP/TCP) flow • IPv6 source/destination, Source/Destination ports 32 bits Ver Tclass Flow Label NxtHdr Hop Limit Source IPv6 address (128 bits) Destination IPv6 address (128 bits) Source port Destination port Length Checksum UDP 32 bits Ver Tclass Flow Label NxtHdr Hop Limit Source IPv6 address (128 bits) Destination IPv6 address (128 bits) Source port Destination port Checksum Urgent pointer TCP UDP TCP
  • 9. Packet forwarding • IPv6 uses longest match • Example Destination Gateway ::/0 fe80::dead:beef ::1 ::1 2a02:2788:2c4:16f::/64 eth0 2001:6a8:3080::/48 fe80::bad:cafe 2001:6a8:2d80::/48 fe80::bad:bad 2001:6a8::/32 fe80::aaaa:bbbb Packets to 2001:6a8:3080::1234, 2001:1890:123a::1:1e, 2001:6a8:3880:40::2
  • 10. Extension headers • Hop-by-Hop Options • Routing (Type 0 and Type 2) • Fragment • Destination Options • Authentication • Encapsulating Security Payload • Each header must be encoded as n*64 bits
  • 11. Packet fragmentation • How to handle this network ? R1 R2 MTU:1500 MTU:1400 MTU:1300
  • 12. Packet fragmentation • IPv4 used packet fragmentation on routers • All hosts must handle 576+ bytes packets • experience showed fragmentation is costly for routers and difficult to implement in hardware • PathMTU discovery • widely implemented in TCP stacks
  • 13. P• aIPvc6 kreequtir efsr thaatg evmerye linnk tina thtei on internet have an MTU of 1280 octets or more • Routers do not perform fragmentation • Only end hosts perform fragmentation and reassembly by using the fragmentation header • But PathMTU discovery should avoid fragmentation most of the time
  • 14. A fragmented packet First fragment Second (and last) fragment 32 bits Ver Tclass Flow Label NxtHdr Hop Limit Payload Length Source IPv6 address (128 bits) Destination IPv6 address (128 bits) Source port Destination port Length Checksum UDP (first part) 44:fragment Nxt Hdr Zero Frag. Offset 0 M Fragment identification = 1234 UDP 32 bits Ver Tclass Flow Label NxtHdr Hop Limit Payload Length Source IPv6 address (128 bits) Destination IPv6 address (128 bits) 44:fragment Nxt Hdr Zero Frag. Offset 0 M Fragment identification = 1234 True None False (end of UDP segment)
  • 15. Agenda • IPv6 • Addressing architecture • Packets • ICMPv6 • Routing in IP networks
  • 16. ICMPv6 • Types of ICMPv6 messages • Destination (addr,net,port) unreachable • Packet too big • Used for PathMTU discovery • Time expired (Hop limit exhausted) • Echo request and echo reply • Multicast group membership • Router advertisments, Neighbor discovery • Autoconfiguration
  • 17. ICMPv6 packet • Type • ICMPv6 error messages • 1 Destination Unreachable • 3 Time Exceeded • 2 Packet Too Big • 4 Parameter Problem • ICMPv6 informational messages: • 128 Echo Request • 129 Echo Reply Ver Tclass Flow Label NxtHdr Hop Limit Payload Length Source IPv6 address (128 bits) Destination IPv6 address (128 bits) Type Code Checksum Message body 58 for ICMPv6 Covers ICMPv6 message and part of IPv6 header
  • 18. traceroute6 in details • Source sends UDP segments with increasing hop limit • Intermediate routers reply with ICMP Time Exceeded messages
  • 19. traceroute6 traceroute6 to star.c10r.facebook.com (2a03:2880:2130:cf05:face:b00c::1) from 2001:6a8:3080:2:451c:db2:a92f:3d50, 64 hops max, 12 byte packets 1 2001:6a8:3080:2::1 0.329 ms 2 2001:6a8:3000:8000::1 0.582 ms 3 2001:6a8:0:6009::1 1.505 ms 4 2001:7f8:1::a503:2934:1 8.167 ms 5 2620:0:1cff:dead:beef::34c 8.091 ms 6 2620:0:1cff:dead:beef::2d9 13.922 ms 7 2620:0:1cff:dead:beef::2dc 108.487 ms 8 2620:0:1cff:dead:beef::9a7 106.722 ms 9 2620:0:1cff:dead:beef::12a8 103.758 ms 10 2620:0:1cff:dead:beef::999 105.648 ms
  • 20. traceroute 2001:db8:7/48 A’s routing table destination interface/NH ::/0 2001:db8:7::B 2001:db8:7/48 2001:db8:4::C 2001:db8:1/48 West 2001:db8:4/48 East 2001:db8:7/48 North B’s routing table destination interface/NH ::/0 2001:db8:5::C 2001:db8:2/47 2001:db8:6::E 2001:db8:5/48 South 2001:db8:6/48 East 2001:db8:7/48 West C’s routing table destination interface/NH 2001:db8:1/48 2001:db8:5::B 2001:db8:2/47 2001:db8:3::E 2001:db8:2/48 2001:db8:5::B 2001:db8:3/48 East 2001:db8:4/48 West 2001:db8:5/48 North 2001:db8:6/47 2001:db8:5::B E’s routing table destination interface/NH ::/0 2001:db8:6::B 2001:db8:2/48 East 2001:db8:3/48 West 2001:db8:6/48 North RA RB RC RE 2001:db8:1/48 2001:db8:6/48 2001:db8:5/48 2001:db8:4/48 2001:db8:3/48 2001:db8:2/48
  • 21. Agenda • IPv6 • Routing in IP networks • IPv6 subnets • Routing organization • Interdomain routing
  • 22. Datalink layer service • Each device is identified by a 48 bits MAC address in the datalink layer • Ethernet, WiFi • Unicast transmission • Multicast transmission
  • 23. IPv6 subnet • A subnet gathers hosts and routers that can directly exchange frames without passing through an intermediate route 2001:db8:1234:5678::1 R 2001:db8:1234:5678::/64 2001:db8:1234:5678::AA 2001:db8:1234:5678::BB 2001:db8:1234:5678::CC
  • 24. Issues • How to easily assign IPv6 addresses to hosts ? • Manual configuration is not viable • How to map IPv6 addresses onto the corresponding MAC addresses ?
  • 25. IPv6 over Ethernet IPv6: 2001:0:0:0:8::A Eth : A 2001:0:0:0:8::A wants to send a packet to 2001:0:0:0:8::C 1 2 Neighbor solicitation: Addr Eth 2001:0:0:0:8::C ? sent to IPv6 multicast address 3 IPv6: 2001:0:0:0:8::E Eth : E Ipv6: 2001:0:0:0:8::C Eth : C Ipv6: 2001:0:0:0:8::C Eth : C IPv6: 2001:0:0:0:8::E Eth : E IPv6: 2001:0:0:0:8::A Eth : A IPv6: 2001:0:0:0:8::C Neighbor advertisement: 2001:0:0:0:8::C is reachable via Ethernet Add : C Eth : C IPv6: 2001:0:0:0:8::E Eth : E IPv6: 2001:0:0:0:8::A Eth : A
  • 26. Agenda • IPv6 • Routing in IP networks • IPv6 subnets • Routing organization • Interdomain routing
  • 27. Internet organisation • Internet is an internetwork with a large number of Autonomous Systems (AS) • an AS is a set of routers that are managed by the same administrative entity • Autonomous Systems are interconnected to allow the transmission of IP packets from any source to any destination • On the Internet, most packets need to travel through several transit Autonomous Systems
  • 28. Types of domains • Transit domain • A transit domain allows external domains to use its infrastructure to send packets to other domains S1 • Examples T1 T2 T3 S2 S3 S4 • UUNet, OpenTransit, GEANT, Internet2, RENATER, EQUANT, BT, Telia, Level3,...
  • 29. Stub domains A stub domain does not allow external domains to use its infrastructure to send packets to other domains T1 T2 T3 S1 S2 S3 S4 A stub is connected to at least one transit domain Content-rich stub domain : Yahoo, Google, MSN, TF1, BBC,... Access-rich stub domain : ISPs providing Internet access via CATV, ADSL, ...
  • 30. Belnet Source : http://www.belnet.be
  • 31. GEANT Source : http://www.belnet.be
  • 33. Internet routing • Interior Gateway Protocol (IGP) • Routing of IP packets inside each domain • Only knows topology of its domain Domain1 Domain4 • Exterior Gateway Protocol (EGP) • Routing of IP packets between domains • Each domain is considered as a blackbox Domain2 Domain3
  • 34. Intradomain routing • Static routing • Only useful in very small domains • Distance vector routing • Routing Information Protocol (RIP) • Link-state routing • Open Shortest Path First (OSPF) • Intermediate System- Intermediate-System (IS-IS)
  • 35. Intradomain routing • Goal • Allow routers to transmit IP packets along the best path towards their destination • best usually means the shortest path • Shortest measured in seconds or hops • sometimes best means the less loaded path • Alternate routes in case of failures • Behaviour • All routers exchange routing information
  • 36. Agenda • IPv6 • Routing in IP networks • IPv6 subnets • Routing organization • Interdomain routing
  • 37. Interdomain routing • Goals • Allow to transmit IP packets along the best path towards their destination through several transit domains while taking into account their routing policies of each domain without knowing their detailed topology • From an interdomain viewpoint, best path often means cheapest path • Each domain is free to specify inside its routing policy the domains for which it agrees to provide a transit service and the method it uses to select the best path to reach each destination
  • 38. Interdomain links • Private link • Usually a leased line between two routers belonging to the two connected domains R1 R2 DomainA DomainB
  • 39. Interconnection exchanges • How to efficiently connect several domains together ? R1 R2 R3 R4 Physical link Interdomain link
  • 40. Routing policies • In theory BGP allows each domain to define its own routing policy... • In practice there are two common policies • customer-provider peering • Customer c buys Internet connectivity from provider P • shared-cost peering • Domains x and y agree to exchange packets without any payment
  • 41. Customer-provider Customer Provider peering AS1 AS2 $ $ $ AS3 AS4 $ • Principle $ AS7 • Customer sends to its provider internal routes and routes learned from its customers • Provider will advertise those routes to the entire Internet to allow anyone to reach the Customer • Provider sends to its customers all known routes • Customer will reach anyone on the Internet
  • 42. Customer-provider peering : example AS1 AS2 $ $ $ AS3 AS4 • AS7-AS4 peering link $ • AS7 advertises its routes to AS4 $ AS 7 • AS4 advertises to AS7 all its routes • AS4-AS2 peering link Customer-provider • AS4 advertises its own routes and those of its customers (AS7) • AS2 advertises to AS2 all known routes
  • 43. Shared-cost peering AS1 AS2 AS3 AS4 $ AS7 Customer-provider $ $ $ $ Shared-cost • Principle • PeerX sends to PeerY its internal routes and the routes learned from its own customers • PeerY sends to PeerX its internal routes and the routes learned from its own customers
  • 44. Routing policies • A domain specifies its routing policy by defining two sets of filters for each peer • Import filter • Specifies which routes can be accepted by the router among all the received routes from a given peer • Export filter • Specifies which routes can be advertised by the router to a given peer
  • 45. Routing policies AS1 AS2 AS3 AS4 $ AS7 Customer-provider $ $ $ $ Shared-cost Import policy for AS4 Import: from AS3 accept AS3 import: from AS7 accept AS7 import: from AS1 accept ANY import: from AS2 accept ANY Export policy for AS4 export: to AS3 announce AS4 AS7 export: to AS7 announce ANY export: to AS1 announce AS4 AS7 export: to AS2 announce AS4 AS7 Import policy for AS7 Import: from AS4 accept ANY Export policy for AS4 export: to AS4 announce AS7

Editor's Notes

  1. Today, the default encoding for global unicast addresses is to use : 48 bits for the global routing prefix (first three bits are set to 001) 16 bits for the subnet ID 64 bits for the interface ID
  2. Site-local addresses were defined in the first IPv6 specifications, but they are now deprecated and should not be used. Recently “private” addresses have been defined as Unique Local IPv6 Addresses as a way to allow entreprise to obtain IPv6 addresses without being forced to request them from providers or RIRs. The way to choose such a ULA prefix is defined in : R. Hinden, B. Haberman, Unique Local IPv6 Unicast Addresses, RFC4193, October 2005 Recently, the case for a registration of such addresses has been proposed, see : R. Hinden, G. Huston, T. Narten, Centrally Assigned Unique Local IPv6 Unicast Addresses, internet draft, <draft-ietf-ipv6-ula-central-02.txt>, work in progress, June 2007 See also http://www.ripe.net/ripe/policies/proposals/2007-05.html -
  3. The full list of well known IPv6 multicast groups is available from http://www.iana.org/assignments/ipv6-multicast-addresses Examples include Node-Local Scope ---------------- FF01:0:0:0:0:0:0:1 All Nodes Address [RFC4291] FF01:0:0:0:0:0:0:2 All Routers Address [RFC4291] Link-Local Scope ---------------- FF02:0:0:0:0:0:0:1 All Nodes Address [RFC4291] FF02:0:0:0:0:0:0:2 All Routers Address [RFC4291] FF02:0:0:0:0:0:0:5 OSPFIGP [RFC2328,Moy] FF02:0:0:0:0:0:0:6 OSPFIGP Designated Routers [RFC2328,Moy] FF02:0:0:0:0:0:0:9 RIP Routers [RFC2080] FF02:0:0:0:0:0:0:A EIGRP Routers [Farinacci] FF02:0:0:0:0:0:1:2 All-dhcp-agents [RFC3315] Site-Local Scope ---------------- FF05:0:0:0:0:0:0:2 All Routers Address [RFC4291] FF05:0:0:0:0:0:1:3 All-dhcp-servers [RFC3315] Variable Scope Multicast Addresses ---------------------------------- The IPv6 multicast addresses with variable scope are listed below. FF0X:0:0:0:0:0:0:0 Reserved Multicast Address [RFC4291] FF0X:0:0:0:0:0:0:101 Network Time Protocol (NTP) [RFC1119,DLM1] FF0X:0:0:0:0:0:0:103 Rwhod [SXD] FF0X:0:0:0:0:0:0:10A IETF-1-LOW-AUDIO [SC3] FF0X:0:0:0:0:0:0:10B IETF-1-AUDIO [SC3] FF0X:0:0:0:0:0:0:10C IETF-1-VIDEO [SC3] FF0X:0:0:0:0:0:0:10D IETF-2-LOW-AUDIO [SC3] FF0X:0:0:0:0:0:0:10E IETF-2-AUDIO [SC3] FF0X:0:0:0:0:0:0:10F IETF-2-VIDEO [SC3]
  4. The allocated anycast addresses are references in http://www.iana.org/assignments/ipv6-anycast-addresses
  5. The IPv6 packet format is described in S. Deering, B. Hinden, Internet Protocol, Version 6 (IPv6) Specification , RFC2460, Dec 1998 Several documents have been written about the usage of the Flow label. The last one is J. Rajahalme, A. Conta, B. Carpenter, S. Deering, IPv6 Flow Label Specification, RFC3697, 2004 However, this proposal is far from being widely used and deployed.
  6. IPv6 does not require changes to TCP and UDP for IPv4. The only modification is the computation of the checksum field of the UDP and TCP headers since this checksum is computed by concerning a pseudo header that contains the source and destination IP addresses.
  7. An example hop-by-hop option is the router alert option defined in A. Jackson, C. Partridge, IPv6 Router Alert Option RFC2711, 1999
  8. The Type 0 Routing header is specified in RFC2460 Two other types of routing headers have been defined. Type 1 is experimental and never used. Type 2 is specific for Mobile IPv6 that will be covered later.
  9. The type 0 routing header was deprecated in J. Abley, P. Savola, G. Neville-Neil, Deprecation of Type 0 Routing Headers in IPv6 RFC5095, Dec. 2007 For more information about the security issues with this header, see Biondi, P. and A. Ebalard, "IPv6 Routing Header Security", CanSecWest Security Conference 2007, April 2007. http://www.secdev.org/conf/IPv6_RH_security-csw07.pdf
  10. The Len field encodes the size of the data field in bytes. Furthermore, special options have been defined to allow hosts using the options to pad the size of vairable length options to multiples of 64 bits. Pad1 option (alignment requirement: none) +-+-+-+-+-+-+-+-+ | 0 | +-+-+-+-+-+-+-+-+ NOTE! the format of the Pad1 option is a special case -- it does not have length and value fields. The Pad1 option is used to insert one octet of padding into the Options area of a header. If more than one octet of padding is required, the PadN option, described next, should be used, rather than multiple Pad1 options. Deering & Hinden Standards Track [Page 10] RFC 2460 IPv6 Specification December 1998 PadN option (alignment requirement: none) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - - | 1 | Opt Data Len | Option Data +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - - The PadN option is used to insert two or more octets of padding into the Options area of a header. For N octets of padding, the Opt Data Len field contains the value N-2, and the Option Data consists of N-2 zero-valued octets.
  11. As of today, it is unclear whether the jumbogram option has been implemented in practice. Using it requires link layer technologies that are able to support frames larger than 64 KBytes. The jumbogram option has been defined in D. Borman, S. Deering, B. Hinden, IPv6 Jumbograms, RFC2675, August 1999 The Kame (http://www.kame.net) implementation on FreeBSD supports this option, but there is no link-layer that supports large frames.
  12. Path MTU discovery is defined in J. Mogul, S. Deering, Path MTU Discovery, RFC1191, 1996 and in J. McCann, S. Deering, J. Mogul, Path MTU Discovery for IP version 6, RFC1981, 1996 for IPv6
  13. In IPv6, the fragment identification field is much larger than in IPv4. Furthermore, it is only used in packets that really need fragmentation. IPv6 header does not contain a fragmentation information for each unfragmented packet unlike IPv4.
  14. IPv6 does not require changes to TCP and UDP for IPv4. The only modification is the computation of the checksum field of the UDP and TCP headers since this checksum is computed by concerning a pseudo header that contains the source and destination IP addresses.
  15. ICMPv6 is defined in : A. Conta, S. Deering, M. Gupta, Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification, RFC4443, March 2006
  16. ICMPv6 uses a next header value of 58 inside IPv6 packets
  17. The IPv6 packet format is described in S. Deering, B. Hinden, Internet Protocol, Version 6 (IPv6) Specification , RFC2460, Dec 1998 Several documents have been written about the usage of the Flow label. The last one is J. Rajahalme, A. Conta, B. Carpenter, S. Deering, IPv6 Flow Label Specification, RFC3697, 2004 However, this proposal is far from being widely used and deployed.
  18. The transmission of IPv6 packets over Ethernet is defined in : M. Crawford, Transmission of IPv6 Packets over Ethernet Networks, RFC2464, December 1998 Note that in contrast with ARP used by IPv4, ICMPv6 neighbour solicitation messages are sent to a multicast ethernet address and not to the broadcast ethernet address. This implies that only the IPv6 enabled hosts on the LAN will receive the ICMPv6 message.
  19. Source http://www.dante.net
  20. Source http://www.uu.net
  21. For more information on the organization of the Internet, see : G. Huston, Peerings and settlements, Internet Protocol Journal, Vol. 2, N1 et 2, 1999, http://www.cisco.com/warp/public/759/ipj_Volume2.html For more information on interconnection points or Internet exchanges, see : http://www.euro-ix.net/ http://www.ripe.net/ripe/wg/eix/index.html http://www.ep.net/ep-main.html
  22. On link AS7-AS4 AS7 advertises its own routes to AS4 AS4 advertises to AS7 the routes that allow to reach the entire Internet On link AS4-AS2 AS4 advertises its own routes and the routes belonging to AS7 AS2 advertises the routes that allow to reach the entire Internet
  23. On link AS3-AS4 AS3 advertises its internal routes AS4 advertises its internal routes and the routes learned from AS7 (its customer) On link AS1-AS2 AS1 advertises its internal routes and the routes received from AS3 and AS4 (its customers) AS2 advertises its internal routes and the routes learned from AS74(its customer)
  24. RFC 2622 Routing Policy Specification Language (RPSL). C. Alaettinoglu, C. Villamizar, E. Gerich, D. Kessens, D. Meyer, T. Bates, D. Karrenberg, M. Terpstra. June 1999. RFC 2650 Using RPSL in Practice. D. Meyer, J. Schmitz, C. Orange, M. Prior, C. Alaettinoglu. August 1999. Internet Routing Registries contain the routing policies of various ISPs, see : http://www.ripe.net/ripencc/pub-services/whois.html http://www.arin.net/whois/index.html http://www.apnic.net/apnic-bin/whois.pl
  25. The ICMPv6 neighbour discovery messages are sent with HopLimit=255 The role of the R, S and O flags is described as follows in RFC4861 R Router flag. When set, the R-bit indicates that the sender is a router. The R-bit is used by Neighbor Unreachability Detection to detect a router that changes to a host. S Solicited flag. When set, the S-bit indicates that the advertisement was sent in response to a Neighbor Solicitation from the Destination address. The S-bit is used as a reachability confirmation for Neighbor Unreachability Detection. It MUST NOT be set in multicast advertisements or in unsolicited unicast advertisements. O Override flag. When set, the O-bit indicates that the advertisement should override an existing cache entry and update the cached link-layer address. When it is not set the advertisement will not update a cached link-layer address though it will update an existing Neighbor Cache entry for which no link-layer address is known. It SHOULD NOT be set in solicited advertisements for anycast addresses and in solicited proxy advertisements. It SHOULD be set in other solicited advertisements and in unsolicited advertisements.
  26. When the M bit is set to true, this indicates that IPv6 addresses should be obtained from DHCPv6 When the O bit is set to true, this indicates that the hosts can obtain additional information (e.g. address of DNS resolver) from DHCPv6 The router advertisements messages can also be sent in unicast in response to solicitations from hosts. A host can obtain a router advertisement by sending a router solicitation which is an ICMPv6 message containing only the router solicitation message (type 133).
  27. The two L and A bits are defined as follows : L 1-bit on-link flag. When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about on-link or off-link properties of the prefix. In other words, if the L flag is not set a host MUST NOT conclude that an address derived from the prefix is off-link. That is, it MUST NOT update a previous indication that the address is on-link. A 1-bit autonomous address-configuration flag. When set indicates that this prefix can be used for stateless address configuration. Other options have been defined for the router advertisements. For example, the RDNSS option defined in J. Jeong, S. Park, L. Beloeil, S. Madanapalli, IPv6 Router Advertisement Option for DNS Configuration, RFC 5006, Sept. 2007 allows a router to advertise the IPv6 address of the DNS resolver to be used by hosts on the LAN.
  28. This utilisation of ICMPv6 Neighbour solicitation is called Duplicate Address Detection. It is used everytime a host obtains a new IPv6 address and is required to ensure that a host is not using the same IPv6 address as another host on the same LAN.
  29. IPv6 is supposed to easily support renumbering and IPv6 router advertisements are one of the ways to perform this renumbering by allowing hosts to update their IPv6 addresses upon reception of new router advertisement messages. However, in practice renumbering an IPv6 network is not easily because IPv6 addresses are manually encoded in too many configuration files, see e.g. : F. Baker, E. Lear, R. Droms, Procedures for Renumbering an IPv6 Network without a Flag Day, RFC4192, 2005
  30. This extension to support privacy-aware IPv6 addresses is defined in T. Narten, R. Draves, S. Krishnan, Privacy Extensions for Stateless Address Autoconfiguration in IPv6, RFC4941, Sept. 2007