SlideShare ist ein Scribd-Unternehmen logo
1 von 23
finding 
the 
path 
Matsuzaki 
‘maz’ 
Yoshinobu 
<maz@iij.ad.jp> 
maz@iij.ad.jp 
1
keys 
for 
today 
1. 
understand 
your 
network 
2. 
cooperaCon 
maz@iij.ad.jp 
2
key: 
understand 
your 
network 
• you 
should 
be 
able 
to 
fix 
your 
network 
– not 
by 
guessing 
– not 
by 
assuming 
– not 
by 
random 
pracCce 
• based 
on 
understanding 
and 
knowledge 
maz@iij.ad.jp 
3
case 
study 
• what 
should 
we 
consider 
today, 
in 
case 
your 
customer 
faces 
a 
reachability 
issue? 
• you 
need 
to 
find 
the 
path 
that 
the 
customer 
used 
maz@iij.ad.jp 
4
step1: 
finding 
the 
outgoing 
path 
• you 
can 
‘presume’ 
outgoing 
path 
– BGP, 
traceroute 
• users 
might 
use 
different 
path 
– Source 
network 
and 
desCnaCon 
IP 
address 
is 
the 
key 
maz@iij.ad.jp 
5 
ISP-A my 
ISP 
ISP-Z 
local 
network
MulCple 
exit 
points 
• BGP 
prefers 
the 
‘closest 
exit’ 
eBGP 
IGP 
cost 
maz@iij.ad.jp 
6 
ISP-Z 
(AS-Z) 
ISP-B 
(AS-B) 
ISP-A 
(AS-A) 
my 
ISP 
POP-­‐1 
POP-­‐2 
IGP 
cost 
POP-­‐3 
2000 
1000 
IGP 
cost 
1000 
eBGP
MulCple 
exit 
points 
and 
IGP 
• IGP 
maRers 
someCmes 
eBGP 
IGP 
cost 
maz@iij.ad.jp 
7 
ISP-Z 
(AS-Z) 
ISP-B 
(AS-B) 
ISP-A 
(AS-A) 
my 
ISP 
POP-­‐1 
POP-­‐2 
IGP 
cost 
POP-­‐3 
500 
1000 
IGP 
cost 
1000 
eBGP
mulCple 
paths 
• more 
bandwidth, 
but 
cost 
effecCvely 
– currently 
10x10Gbps 
is 
cheaper 
than 
a 
100Gbps 
– just 
wanted 
4Gbps 
rather 
than 
installing 
10Gbps 
• Layer2 
– link 
aggregaCon 
• Layer3 
– mutlipath 
• IGP 
equal 
cost 
mulCpath 
• BGP 
mulCpath 
maz@iij.ad.jp 
8
using 
mulC 
links 
at 
the 
same 
Cme 
maz@iij.ad.jp 
9 
• Layer2 
• Layer3 
• lose 
whole 
links 
in 
case 
of 
router 
failure 
• link 
down 
policy 
is 
usually 
configurable 
• more 
redundancy 
• not 
many 
traffic 
engineering 
choices 
in 
case 
of 
failure
load-­‐sharing 
method 
• per 
packet 
load-­‐sharing 
– good 
for 
equal 
load-­‐sharing 
– possibility 
of 
mis-­‐ordering 
• may 
break 
communicaCons 
• per 
flow 
load-­‐sharing 
(recommended) 
– good 
for 
packet 
ordering/consistent 
delays 
– possibility 
of 
unbalanced 
load-­‐sharing 
maz@iij.ad.jp 
10 
1 
2 
3 
4 
5 
6 
1 
2 
3 
4 
5 
6
keys 
for 
per 
flow 
load-­‐sharing 
• flow 
– src/dst 
ip, 
protocol, 
src/dst 
port 
• salt 
– to 
get 
efficient 
balance 
in 
mulC 
stage 
mulCpath 
– A 
device 
generates 
a 
salt 
during 
bootup 
• hash(flow, 
salt) 
à 
outgoing 
link 
maz@iij.ad.jp 
11
mulCpath 
even 
in 
an 
ISP 
%traceroute 
-­‐q1 
_p.iij.ad.jp 
1 
202.32.157.2 
(202.32.157.2) 
0.783 
ms 
1 
path 
2 
210.130.161.90 
(210.130.161.90) 
0.965 
ms 
2 
paths 
3 
tky006bb01.IIJ.Net 
(58.138.120.21) 
0.976 
ms 
1 
path 
(+1backup) 
4 
tky001bf01.IIJ.Net 
(58.138.82.53) 
1.470 
ms 
6 
paths 
5 
tky009bf01.IIJ.Net 
(58.138.80.45) 
1.473 
ms 
2 
paths 
6 
osk004bf00.IIJ.Net 
(58.138.98.126) 
10.968 
ms 
4 
paths 
7 
osk004bb11.IIJ.Net 
(58.138.82.170) 
11.468 
ms 
1 
path 
(+1backup) 
8 
osk004agr00.IIJ.Net 
(58.138.106.218) 
9.970 
ms 
1 
path 
(+1backup) 
9 
nas200._p.pub.2iij.net 
(202.232.140.170) 
12.967 
ms 
!Z 
maz@iij.ad.jp 
96paths 
(excluding 
backup 
paths) 
12
key: 
cooperaCon 
• most 
parts 
of 
Internet 
are 
operated 
by 
others 
– out 
of 
control 
– each 
of 
us 
is 
just 
a 
part 
of 
the 
Internet 
• we 
need 
to 
cooperate 
to 
fix 
a 
problem 
– by 
sharing 
informaCon 
– by 
exchanging 
knowledge 
maz@iij.ad.jp 
13
step2: 
finding 
the 
return 
path 
• almost 
no 
clue 
– BGP 
does 
not 
tell 
much 
about 
the 
reverse 
path 
• difficult 
to 
guess 
– other 
networks’ 
business 
relaConships 
maz@iij.ad.jp 
14 
ISP-A my 
ISP 
ISP-Z 
local 
network
return 
path 
from 
intermediate 
nodes 
may 
vary 
• it 
always 
happens 
eBGP 
IGP 
cost 
maz@iij.ad.jp 
15 
ISP-Z 
(AS-Z) 
ISP-B 
(AS-B) 
ISP-A 
(AS-A) 
my 
ISP 
POP-­‐1 
POP-­‐2 
IGP 
cost 
POP-­‐3 
2000 
1000 
IGP 
cost 
1000 
eBGP
looking 
glass 
• Route 
Views 
Project 
– hRp://www.routeviews.org/ 
– telnet 
and 
generic 
router 
CUI 
• RIPE 
RouCng 
InformaCon 
Service 
(RIS) 
– hRp://www.ripe.net/data-­‐tools/stats/ris/ 
– web 
UI 
• and 
many 
others... 
maz@iij.ad.jp 
16
routeviews 
route-­‐views.routeviews.org 
is 
now 
using 
AAA 
for 
logins. 
Login 
with 
username 
"rviews". 
See 
hRp://routeviews.org/aaa.html 
maz@iij.ad.jp 
17 
$ 
telnet 
route-­‐views.routeviews.org 
Trying 
2001:468:d01:33::80df:3367... 
Connected 
to 
route-­‐views.routeviews.org. 
Escape 
character 
is 
'^]'. 
********************************************************************** 
Oregon 
Exchange 
BGP 
Route 
Viewer 
route-­‐views.oregon-­‐ix.net 
/ 
route-­‐views.routeviews.org 
route 
views 
data 
is 
archived 
on 
hRp://archive.routeviews.org 
This 
hardware 
is 
part 
of 
a 
grant 
from 
Cisco 
Systems. 
Please 
contact 
help@routeviews.org 
if 
you 
have 
quesCons 
or 
comments 
about 
this 
service, 
its 
use, 
or 
if 
you 
might 
be 
able 
to 
contribute 
your 
view. 
This 
router 
has 
views 
of 
the 
full 
rouCng 
tables 
from 
several 
ASes. 
The 
list 
of 
ASes 
is 
documented 
under 
"Current 
ParCcipants" 
on 
hRp://www.routeviews.org/. 
************** 
route-­‐views.routeviews.org 
is 
now 
using 
AAA 
for 
logins. 
Login 
with 
username 
"rviews". 
See 
hRp://routeviews.org/aaa.html 
********************************************************************** 
User 
Access 
VerificaCon 
Username: 
rviews 
route-­‐views> 
$ 
telnet 
route-­‐views.routeviews.org 
Username: 
rviews
checking 
routes 
to 
SANOG 
website 
maz@iij.ad.jp 
18 
route-­‐views>show 
ip 
bgp 
203.119.102.244 
BGP 
rouCng 
table 
entry 
for 
203.119.96.0/20 
Paths: 
(35 
available, 
best 
#30, 
table 
Default-­‐IP-­‐RouCng-­‐Table) 
Not 
adverCsed 
to 
any 
peer 
3561 
4637 
4637 
4637 
4637 
4637 
4637 
4637 
4637 
4637 
4637 
4637 
1221 
4608 
206.24.210.80 
from 
206.24.210.80 
(206.24.210.80) 
Origin 
IGP, 
localpref 
100, 
valid, 
external 
Last 
update: 
Sat 
Sep 
13 
18:22:23 
2014 
393406 
6939 
7545 
24130 
4608 
4608 
4608 
162.243.188.2 
from 
162.243.188.2 
(162.243.188.2) 
Origin 
IGP, 
localpref 
100, 
valid, 
external 
Last 
update: 
Tue 
Sep 
9 
23:50:23 
2014 
701 
2828 
7545 
24130 
4608 
4608 
4608 
157.130.10.233 
from 
157.130.10.233 
(137.39.3.60) 
Origin 
IGP, 
localpref 
100, 
valid, 
external 
Last 
update: 
Tue 
Sep 
9 
08:29:29 
2014 
3333 
3356 
4637 
1221 
4608 
193.0.0.56 
from 
193.0.0.56 
(193.0.0.56) 
Origin 
IGP, 
localpref 
100, 
valid, 
external 
Last 
update: 
Tue 
Sep 
9 
05:23:47 
2014 
2497 
4637 
1221 
4608 
202.232.0.2 
from 
202.232.0.2 
(202.232.0.2) 
Origin 
IGP, 
localpref 
100, 
valid, 
external 
Last 
update: 
Sat 
Sep 
6 
01:07:04 
2014 
: 
route-­‐views>show 
ip 
bgp 
203.119.102.244
RIPE 
RIS 
looking 
glass 
maz@iij.ad.jp 
19
NLNOG 
RING 
– 
hRps://ring.nlnog.net/ 
• ‘shell 
access’ 
exchange 
– ssh 
• usual 
debug 
tools 
– ping, 
traceroute 
• useful 
tools 
– ring-­‐ping 
• many 
parCcipants 
– 259ASNs 
maz@iij.ad.jp 
20
RING 
servers 
maz@iij.ad.jp 
21
ring-­‐ping 
maz@iij.ad.jp 
22 
iij@iij01:~$ 
ring-­‐ping 
-­‐v 
www.apnic.net 
stargate01: 
179.546 
inerail01: 
229.346 
syseleven01: 
327.925 
kwaoo01: 
313.903 
2connect01: 
335.276 
verCxo01: 
335.056 
atlanCcmetro01: 
235.015 
dragon01: 
318.097 
esgob01: 
299.957 
finecom01: 
316.610 
sbtap01: 
348.927 
kinber01: 
238.369 
amsio01: 
326.275 
xconnect01: 
332.483 
: 
www.sanog.org 
-­‐ 
249 
servers: 
152ms 
average 
www.sanog.org 
-­‐ 
unreachable 
via: 
occaid01 
iij@iij01:~$ 
ring-­‐ping 
–v 
www.apnic.net 
www.apnic.net 
-­‐ 
260 
servers: 
294ms 
average 
www.apnic.net 
-­‐ 
unreachable 
via: 
occaid01
summary 
• The 
internet 
is 
composed 
of 
simple 
things 
• We 
have 
very 
limited 
views 
of 
the 
internet 
– traceroute, 
pings, 
rouCng 
tables 
– many 
parts 
of 
the 
network 
are 
hidden 
• what 
we 
need: 
– beRer 
understanding 
– more 
cooperaCon 
maz@iij.ad.jp 
23

Weitere ähnliche Inhalte

Was ist angesagt?

Bgp multihoming
Bgp multihomingBgp multihoming
Bgp multihoming
ee38sp
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
Jasim Alam
 
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 2408 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
legasu zemene
 
Regional Bank IPSec Solution
Regional Bank IPSec SolutionRegional Bank IPSec Solution
Regional Bank IPSec Solution
Jeffrey Sicuranza
 
BGP
BGPBGP
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 2611 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
legasu zemene
 

Was ist angesagt? (20)

Advanced multihoming
Advanced multihomingAdvanced multihoming
Advanced multihoming
 
Ccnp enterprise workbook v1.0 completed till weigth
Ccnp enterprise workbook v1.0   completed till weigthCcnp enterprise workbook v1.0   completed till weigth
Ccnp enterprise workbook v1.0 completed till weigth
 
Network Automation with Salt and NAPALM: a self-resilient network
Network Automation with Salt and NAPALM: a self-resilient networkNetwork Automation with Salt and NAPALM: a self-resilient network
Network Automation with Salt and NAPALM: a self-resilient network
 
Bgp multihoming
Bgp multihomingBgp multihoming
Bgp multihoming
 
P&G BT Global Services - LLD Final Revision Year 2008.
P&G BT Global Services - LLD Final Revision Year 2008.P&G BT Global Services - LLD Final Revision Year 2008.
P&G BT Global Services - LLD Final Revision Year 2008.
 
Bgp (1)
Bgp (1)Bgp (1)
Bgp (1)
 
IP anycasting
 IP anycasting IP anycasting
IP anycasting
 
Default routing
Default routingDefault routing
Default routing
 
Bigbgp
BigbgpBigbgp
Bigbgp
 
BMP Test Results
BMP Test ResultsBMP Test Results
BMP Test Results
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
 
Mac authentication amigopod radius
Mac authentication amigopod radiusMac authentication amigopod radius
Mac authentication amigopod radius
 
BGP
BGPBGP
BGP
 
Multihomed Linux router
Multihomed Linux routerMultihomed Linux router
Multihomed Linux router
 
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 2408 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
08 ip oc304 2_e1_1 zxr10 m6000 bgp configuration 24
 
Load balancing with Linux
Load balancing with LinuxLoad balancing with Linux
Load balancing with Linux
 
How deep is your buffer – Demystifying buffers and application performance
How deep is your buffer – Demystifying buffers and application performanceHow deep is your buffer – Demystifying buffers and application performance
How deep is your buffer – Demystifying buffers and application performance
 
Regional Bank IPSec Solution
Regional Bank IPSec SolutionRegional Bank IPSec Solution
Regional Bank IPSec Solution
 
BGP
BGPBGP
BGP
 
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 2611 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
11 zxr10 b-en-bgp-mpls-vpn configuration-2-ppt-201105 26
 

Ähnlich wie Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1]

Fine grained monitoring
Fine grained monitoringFine grained monitoring
Fine grained monitoring
Iben Rodriguez
 

Ähnlich wie Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1] (20)

IX Best Practices by Tay Chee Yong
IX Best Practices by Tay Chee YongIX Best Practices by Tay Chee Yong
IX Best Practices by Tay Chee Yong
 
Linux 系統管理與安全:進階系統管理系統防駭與資訊安全
Linux 系統管理與安全:進階系統管理系統防駭與資訊安全Linux 系統管理與安全:進階系統管理系統防駭與資訊安全
Linux 系統管理與安全:進階系統管理系統防駭與資訊安全
 
IPv6 Performance Revisited
IPv6 Performance RevisitedIPv6 Performance Revisited
IPv6 Performance Revisited
 
Route Origin Validation With Routinator - A MANRS Approach for Operators
Route Origin Validation With Routinator - A MANRS Approach for OperatorsRoute Origin Validation With Routinator - A MANRS Approach for Operators
Route Origin Validation With Routinator - A MANRS Approach for Operators
 
Quick Guide Ip Routing
Quick Guide   Ip RoutingQuick Guide   Ip Routing
Quick Guide Ip Routing
 
Fast Convergence Techniques
Fast Convergence TechniquesFast Convergence Techniques
Fast Convergence Techniques
 
CCNA part 5 routing
CCNA part 5 routingCCNA part 5 routing
CCNA part 5 routing
 
Scripting on Routers - NANOG 47
Scripting on Routers - NANOG 47Scripting on Routers - NANOG 47
Scripting on Routers - NANOG 47
 
presentation_5725_1534743837.pdf
presentation_5725_1534743837.pdfpresentation_5725_1534743837.pdf
presentation_5725_1534743837.pdf
 
Fine grained monitoring
Fine grained monitoringFine grained monitoring
Fine grained monitoring
 
Bruno Decraene - Improving network availability through the graceful shutdown...
Bruno Decraene - Improving network availability through the graceful shutdown...Bruno Decraene - Improving network availability through the graceful shutdown...
Bruno Decraene - Improving network availability through the graceful shutdown...
 
Network Security Best Practice (BCP38 & 140)
Network Security Best Practice (BCP38 & 140) Network Security Best Practice (BCP38 & 140)
Network Security Best Practice (BCP38 & 140)
 
IPv6 Segment Routing : an end-to-end solution ?
IPv6 Segment Routing : an end-to-end solution ?IPv6 Segment Routing : an end-to-end solution ?
IPv6 Segment Routing : an end-to-end solution ?
 
Ccnp enterprise workbook v1.0 bgp zero to hero
Ccnp enterprise workbook v1.0 bgp zero to heroCcnp enterprise workbook v1.0 bgp zero to hero
Ccnp enterprise workbook v1.0 bgp zero to hero
 
BGP Traffic Engineering with SDN Controller
BGP Traffic Engineering with SDN ControllerBGP Traffic Engineering with SDN Controller
BGP Traffic Engineering with SDN Controller
 
6th floorsharingsession ep 1 - networking - arp v 1.0
6th floorsharingsession ep 1 - networking - arp v 1.06th floorsharingsession ep 1 - networking - arp v 1.0
6th floorsharingsession ep 1 - networking - arp v 1.0
 
Инновации Cisco для операторов связи
Инновации Cisco для операторов связиИнновации Cisco для операторов связи
Инновации Cisco для операторов связи
 
Using BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet ConnectionsUsing BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet Connections
 
bgp features presentation routing protocle
bgp features presentation routing protoclebgp features presentation routing protocle
bgp features presentation routing protocle
 
AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...
AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...
AutoIP -A mechanism for IPv6 migration and IPv4 sunsetting by Shishio Tsuchiy...
 

Mehr von APNIC

Mehr von APNIC (20)

APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119
 
draft-harrison-sidrops-manifest-number-01, presented at IETF 119
draft-harrison-sidrops-manifest-number-01, presented at IETF 119draft-harrison-sidrops-manifest-number-01, presented at IETF 119
draft-harrison-sidrops-manifest-number-01, presented at IETF 119
 
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
 
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
 
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
 
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
 
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
 
NANOG 90: 'BGP in 2023' presented by Geoff Huston
NANOG 90: 'BGP in 2023' presented by Geoff HustonNANOG 90: 'BGP in 2023' presented by Geoff Huston
NANOG 90: 'BGP in 2023' presented by Geoff Huston
 
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff HustonDNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
 
APAN 57: APNIC Report at APAN 57, Bangkok, Thailand
APAN 57: APNIC Report at APAN 57, Bangkok, ThailandAPAN 57: APNIC Report at APAN 57, Bangkok, Thailand
APAN 57: APNIC Report at APAN 57, Bangkok, Thailand
 
Lao Digital Week 2024: It's time to deploy IPv6
Lao Digital Week 2024: It's time to deploy IPv6Lao Digital Week 2024: It's time to deploy IPv6
Lao Digital Week 2024: It's time to deploy IPv6
 
AINTEC 2023: Networking in the Penumbra!
AINTEC 2023: Networking in the Penumbra!AINTEC 2023: Networking in the Penumbra!
AINTEC 2023: Networking in the Penumbra!
 
CNIRC 2023: Global and Regional IPv6 Deployment 2023
CNIRC 2023: Global and Regional IPv6 Deployment 2023CNIRC 2023: Global and Regional IPv6 Deployment 2023
CNIRC 2023: Global and Regional IPv6 Deployment 2023
 
AFSIG 2023: APNIC Foundation and support for Internet development
AFSIG 2023: APNIC Foundation and support for Internet developmentAFSIG 2023: APNIC Foundation and support for Internet development
AFSIG 2023: APNIC Foundation and support for Internet development
 
AFNOG 1: Afghanistan IP Deployment Status
AFNOG 1: Afghanistan IP Deployment StatusAFNOG 1: Afghanistan IP Deployment Status
AFNOG 1: Afghanistan IP Deployment Status
 

Kürzlich hochgeladen

Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
Diya Sharma
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
ellan12
 

Kürzlich hochgeladen (20)

Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 

Finding the path, by Yoshinobu Matsuzaki [APNIC 38 / APOPS 1]

  • 1. finding the path Matsuzaki ‘maz’ Yoshinobu <maz@iij.ad.jp> maz@iij.ad.jp 1
  • 2. keys for today 1. understand your network 2. cooperaCon maz@iij.ad.jp 2
  • 3. key: understand your network • you should be able to fix your network – not by guessing – not by assuming – not by random pracCce • based on understanding and knowledge maz@iij.ad.jp 3
  • 4. case study • what should we consider today, in case your customer faces a reachability issue? • you need to find the path that the customer used maz@iij.ad.jp 4
  • 5. step1: finding the outgoing path • you can ‘presume’ outgoing path – BGP, traceroute • users might use different path – Source network and desCnaCon IP address is the key maz@iij.ad.jp 5 ISP-A my ISP ISP-Z local network
  • 6. MulCple exit points • BGP prefers the ‘closest exit’ eBGP IGP cost maz@iij.ad.jp 6 ISP-Z (AS-Z) ISP-B (AS-B) ISP-A (AS-A) my ISP POP-­‐1 POP-­‐2 IGP cost POP-­‐3 2000 1000 IGP cost 1000 eBGP
  • 7. MulCple exit points and IGP • IGP maRers someCmes eBGP IGP cost maz@iij.ad.jp 7 ISP-Z (AS-Z) ISP-B (AS-B) ISP-A (AS-A) my ISP POP-­‐1 POP-­‐2 IGP cost POP-­‐3 500 1000 IGP cost 1000 eBGP
  • 8. mulCple paths • more bandwidth, but cost effecCvely – currently 10x10Gbps is cheaper than a 100Gbps – just wanted 4Gbps rather than installing 10Gbps • Layer2 – link aggregaCon • Layer3 – mutlipath • IGP equal cost mulCpath • BGP mulCpath maz@iij.ad.jp 8
  • 9. using mulC links at the same Cme maz@iij.ad.jp 9 • Layer2 • Layer3 • lose whole links in case of router failure • link down policy is usually configurable • more redundancy • not many traffic engineering choices in case of failure
  • 10. load-­‐sharing method • per packet load-­‐sharing – good for equal load-­‐sharing – possibility of mis-­‐ordering • may break communicaCons • per flow load-­‐sharing (recommended) – good for packet ordering/consistent delays – possibility of unbalanced load-­‐sharing maz@iij.ad.jp 10 1 2 3 4 5 6 1 2 3 4 5 6
  • 11. keys for per flow load-­‐sharing • flow – src/dst ip, protocol, src/dst port • salt – to get efficient balance in mulC stage mulCpath – A device generates a salt during bootup • hash(flow, salt) à outgoing link maz@iij.ad.jp 11
  • 12. mulCpath even in an ISP %traceroute -­‐q1 _p.iij.ad.jp 1 202.32.157.2 (202.32.157.2) 0.783 ms 1 path 2 210.130.161.90 (210.130.161.90) 0.965 ms 2 paths 3 tky006bb01.IIJ.Net (58.138.120.21) 0.976 ms 1 path (+1backup) 4 tky001bf01.IIJ.Net (58.138.82.53) 1.470 ms 6 paths 5 tky009bf01.IIJ.Net (58.138.80.45) 1.473 ms 2 paths 6 osk004bf00.IIJ.Net (58.138.98.126) 10.968 ms 4 paths 7 osk004bb11.IIJ.Net (58.138.82.170) 11.468 ms 1 path (+1backup) 8 osk004agr00.IIJ.Net (58.138.106.218) 9.970 ms 1 path (+1backup) 9 nas200._p.pub.2iij.net (202.232.140.170) 12.967 ms !Z maz@iij.ad.jp 96paths (excluding backup paths) 12
  • 13. key: cooperaCon • most parts of Internet are operated by others – out of control – each of us is just a part of the Internet • we need to cooperate to fix a problem – by sharing informaCon – by exchanging knowledge maz@iij.ad.jp 13
  • 14. step2: finding the return path • almost no clue – BGP does not tell much about the reverse path • difficult to guess – other networks’ business relaConships maz@iij.ad.jp 14 ISP-A my ISP ISP-Z local network
  • 15. return path from intermediate nodes may vary • it always happens eBGP IGP cost maz@iij.ad.jp 15 ISP-Z (AS-Z) ISP-B (AS-B) ISP-A (AS-A) my ISP POP-­‐1 POP-­‐2 IGP cost POP-­‐3 2000 1000 IGP cost 1000 eBGP
  • 16. looking glass • Route Views Project – hRp://www.routeviews.org/ – telnet and generic router CUI • RIPE RouCng InformaCon Service (RIS) – hRp://www.ripe.net/data-­‐tools/stats/ris/ – web UI • and many others... maz@iij.ad.jp 16
  • 17. routeviews route-­‐views.routeviews.org is now using AAA for logins. Login with username "rviews". See hRp://routeviews.org/aaa.html maz@iij.ad.jp 17 $ telnet route-­‐views.routeviews.org Trying 2001:468:d01:33::80df:3367... Connected to route-­‐views.routeviews.org. Escape character is '^]'. ********************************************************************** Oregon Exchange BGP Route Viewer route-­‐views.oregon-­‐ix.net / route-­‐views.routeviews.org route views data is archived on hRp://archive.routeviews.org This hardware is part of a grant from Cisco Systems. Please contact help@routeviews.org if you have quesCons or comments about this service, its use, or if you might be able to contribute your view. This router has views of the full rouCng tables from several ASes. The list of ASes is documented under "Current ParCcipants" on hRp://www.routeviews.org/. ************** route-­‐views.routeviews.org is now using AAA for logins. Login with username "rviews". See hRp://routeviews.org/aaa.html ********************************************************************** User Access VerificaCon Username: rviews route-­‐views> $ telnet route-­‐views.routeviews.org Username: rviews
  • 18. checking routes to SANOG website maz@iij.ad.jp 18 route-­‐views>show ip bgp 203.119.102.244 BGP rouCng table entry for 203.119.96.0/20 Paths: (35 available, best #30, table Default-­‐IP-­‐RouCng-­‐Table) Not adverCsed to any peer 3561 4637 4637 4637 4637 4637 4637 4637 4637 4637 4637 4637 1221 4608 206.24.210.80 from 206.24.210.80 (206.24.210.80) Origin IGP, localpref 100, valid, external Last update: Sat Sep 13 18:22:23 2014 393406 6939 7545 24130 4608 4608 4608 162.243.188.2 from 162.243.188.2 (162.243.188.2) Origin IGP, localpref 100, valid, external Last update: Tue Sep 9 23:50:23 2014 701 2828 7545 24130 4608 4608 4608 157.130.10.233 from 157.130.10.233 (137.39.3.60) Origin IGP, localpref 100, valid, external Last update: Tue Sep 9 08:29:29 2014 3333 3356 4637 1221 4608 193.0.0.56 from 193.0.0.56 (193.0.0.56) Origin IGP, localpref 100, valid, external Last update: Tue Sep 9 05:23:47 2014 2497 4637 1221 4608 202.232.0.2 from 202.232.0.2 (202.232.0.2) Origin IGP, localpref 100, valid, external Last update: Sat Sep 6 01:07:04 2014 : route-­‐views>show ip bgp 203.119.102.244
  • 19. RIPE RIS looking glass maz@iij.ad.jp 19
  • 20. NLNOG RING – hRps://ring.nlnog.net/ • ‘shell access’ exchange – ssh • usual debug tools – ping, traceroute • useful tools – ring-­‐ping • many parCcipants – 259ASNs maz@iij.ad.jp 20
  • 22. ring-­‐ping maz@iij.ad.jp 22 iij@iij01:~$ ring-­‐ping -­‐v www.apnic.net stargate01: 179.546 inerail01: 229.346 syseleven01: 327.925 kwaoo01: 313.903 2connect01: 335.276 verCxo01: 335.056 atlanCcmetro01: 235.015 dragon01: 318.097 esgob01: 299.957 finecom01: 316.610 sbtap01: 348.927 kinber01: 238.369 amsio01: 326.275 xconnect01: 332.483 : www.sanog.org -­‐ 249 servers: 152ms average www.sanog.org -­‐ unreachable via: occaid01 iij@iij01:~$ ring-­‐ping –v www.apnic.net www.apnic.net -­‐ 260 servers: 294ms average www.apnic.net -­‐ unreachable via: occaid01
  • 23. summary • The internet is composed of simple things • We have very limited views of the internet – traceroute, pings, rouCng tables – many parts of the network are hidden • what we need: – beRer understanding – more cooperaCon maz@iij.ad.jp 23