Академический Документы
Профессиональный Документы
Культура Документы
Contact: training@apnic.net
WROU03_v1.0
Introduction to The
Internet
IXP Training Workshops
Topologies and
Definitions
What does all the jargon mean?
Some Icons
Router
(layer 3, IP datagram forwarding)
Ethernet switch
(layer 2, packet forwarding)
Network Cloud
Routed Backbone
MPLS Backbones
Points of Presence
PoP Topologies
Core routers
Distribution routers
Service routers
Border routers
Access routers
Other ISPs
Border
Backbone link
to another PoP
Backbone link
to another PoP
Network
Core
Service
Network
Operation
Centre
Access
Business
Customer
Aggregation
Service
ISP Services
(DNS, Mail, News,
FTP, WWW)
Access
Hosted Services
Consumer
Aggregation
10
More Definitions
Transit
Peering
Default
IXP-West
Backbone
Provider D
IXP-East
provider B
provider C
Private Interconnect
Autonomous System 334
ISP B
border
border
ISP A
Autonomous System 99
13
Public Interconnect
A location or facility where several ISPs
are present and connect to each other
over a common shared media
Why?
14
Public Interconnect
Centralised (in one facility)
Distributed (connected via WAN links)
Switched interconnect
Ethernet (Layer 2)
Technologies such as SRP, FDDI, ATM, Frame
Relay, SMDS and even routers have been used
in the past
Public Interconnect
ISP 1
ISP 2
ISP 3
ISP 4
IXP
ISP 5
ISP 6
ISPs participating in
Internet
17
IXP
ISP
Peer
ISP
Peer
Upstream1
Upstream 2
Upstream 2
PoP 2
Upstream1
PoP 1
Network
Core
Backbone
Links
PoP 3
PoP 4
18
IP Addressing
Where to get address space and
who from
19
IP Addressing
Internet uses classless routing
Concept of IPv4 class A, class B or class C
is no more
IP Addressing
21
IP Addressing
Non-portable Address
Space
24
Internet Hierarchy
The pecking order
25
Regional
Provider 1
Regional
Provider 2
Content
Provider 1
Access
R4 1
Provider
Content
Provider 2
Access
Provider 2
Customer Networks
26
Access Providers
27
Categorising ISPs
Tier 1 ISP
$
$
$
$
$
$
$
$
$
$
$
$
$
$
$
Tier 1 ISP
Tier 1 ISP
Tier 1 ISP
Tier 2 ISP
Tier 2 ISP
Tier 2 ISP
Tier 2 ISP
IXP
Tier 3 ISP
IXP
Tier 3 ISP
Tier 3 ISP
Tier 3 ISP
Tier 3 ISP
Tier 3 ISP
28
Inter-provider relationships
30
Gluing it together
31
Gluing it together
No one
(Definitely not ICANN, nor the RIRs, nor the US,)
Inter-provider business relationships and the need for
customer reachability ensures that the Internet by and
large functions for the common good
32
North America
Latin America
Middle East
www.apricot.net
mailman.apnic.net/mailman/listinfo/pacnog
E-mail to sanog-request@sanog.org
34
Europe
Africa
www.ietf.org
35
Summary
Topologies and Definitions
IP Addressing
Internet Hierarchy
Introduction to The
Internet
ISP Training Workshops
37
The Value of
Peering
ISP Training Workshops
38
The Internet
Categorising ISPs
Global ISP
$
$
$
$
$
$
$
$ Regional ISP
$
$
$
$
Access ISP
$
$
$
Global ISP
Global ISP
Global ISP
Regional ISP
Regional ISP
Regional ISP
IXP
IXP
Access ISP
Access ISP
Access ISP
Access ISP
Access ISP
40
Transit
Peering
Private Interconnect
ISP 1
ISP 2
42
Public Interconnect
ISP 6
ISP 2
ISP 3
IXP
ISP 5
ISP 4
43
ISP Goals
Peering
47
Connecting to an IXP
ISP costs: one router port, one circuit, and one router to
locate at the IXP
The maintenance fee has potential to significantly
influence the cost balance for an ISP
Access Providers
Regional Providers
IXP
Transit
Access
50
Connectivity Decisions
Transit
Peering
Transit Goals
1.
2.
52
Peering or Transit?
How to choose?
Or do both?
It comes down to cost of going to an IXP
Free peering
Paying for transit from an ISP co-located in
same facility, or perhaps close by
Private peering
Public peering
55
Which IXP?
Analysis:
Analysis:
Summary:
60
Overall advantage:
Value propositions
62
Summary
Benefits of peering
Private
Internet Exchange Points
63
Worked Example
64
Worked Example
65
First Step
IXP cost:
Costs:
Result:
Bonuses:
Conclusion
Caveat
The Value of
Peering
ISP Training Workshops
73
Introduction to
OSPF
ISP Training Workshops
74
OSPF
Designed for:
TCP/IP environment
Fast convergence
Variable-length subnet
masks
Discontiguous subnets
Incremental updates
Route authentication
75
Link State
Zs Link State
Qs Link State
Z
X
Xs Link State
A
B
C
Q
Z
X
2
13
13
Neighbour discovery
Compute routes
On network failure
R1
LSA
Fast Convergence
Alternate Path
N1
R1
R2
R3
N2
Primary Path
79
Fast Convergence
LSA flooded
throughout area
Acknowledgement
based
Topology database
synchronised
Each router derives
routing table to
destination network
LSA
N1
R1
80
OSPF Areas
Area is a group of
contiguous hosts
and networks
Reduces routing
traffic
R2
Area 2
Backbone area
MUST be contiguous
R1
Rc
Area 0
Backbone Area
Rd
Rb
Ra
R5
R8
Area 3
R4
R7
Area 4
R6
Area 1
R3
81
Increases complexity
Decreases reliability and
scalability
Rc
Area 0
Backbone Area
Rd
Rb
Ra
Area 4
R5
R8
R4
R7
Area 1
R6
R3
82
Classification of Routers
IR
R1
IR
R2
Area 2
Area 3
Rc
Rb
ABR/BR
Area 0
Rd
Ra
ASBR
To other AS
IR/BR
R5
R4
Area 1
R3
R1
IR
R2
Area 2
Area 3
Rc
Rb
ABR/BR
Area 0
Rd
Ra
ASBR
To other AS
R5
Intra-area Route
R4
Inter-area Route
Area 1
R3
External Route
External Routes
OSPF
R2
Redistribute
RIP
EIGRP
BGP
Static
Connected
etc.
85
External Routes
R2
to N1
External Cost = 1
R1
Cost = 8
Network
N1
N1
Type 1
11
10
Next Hop
R2
R3
R3
to N1
External Cost = 2
Selected Route
86
External Routes
R2
to N1
External Cost = 1
R1
Cost = 8
Network
N1
N1
Type 1
1
2
Next Hop
R2
R3
R3
to N1
External Cost = 2
Selected Route
87
Topology/Link State
Database
Responsible for
establishing and
maintaining neighbour
relationships
Elects designated
router on multi-access
networks
Hello
Hello
Hello
89
Contains:
Router priority
Hello interval
Router dead
interval
Network mask
List of neighbours
DR and BDR
Options: E-bit,
MC-bit, (see A.2
of RFC2328)
Hello
Hello
Hello
90
Designated Router
Designated
Router
Backup
Designated
Router
Backup
Designated Router
91
Designated Router by
Priority
131.108.3.3
DR
R1 Router ID = 144.254.3.5
144.254.3.5
R2
R2 Router ID = 131.108.3.3
92
Neighbouring States
Full
Full
DR
BDR
93
Neighbouring States
2-way
DR
BDR
94
95
DR
BDR
96
Broadcast Networks
98
Type
Type
Type
Type
Type
Type
1:
2:
3 & 4:
5 & 7:
6:
9, 10 & 11:
Router LSA
Network LSA
Summary LSA
External LSA (Type 7 is for NSSA)
Group membership LSA
Opaque LSA (9: Link-Local, 10: Area)
99
100
101
102
Inter-Area Route
Summarisation
Prefix or all subnets
Prefix or all networks
Area range command
R2
With
Network
summarisation
1
Without
Network
summarisation
1.A
1.B
1.C
Next Hop
R1
Next Hop
R1
R1
R1
Backbone
Area 0
(ABR)
R1
1.A
1.B
Area 1
1.C
104
No Summarisation
3.A
3.B
3.C
3.D
Area 0
2.A
2.B
2.C
2.D
1.A
1.C
1.B
1.D
3.A
2.A
2.C
2.B
3.C
2.D
3.B
3.D
105
With Summarisation
Area 0
2
1.A
1.C
1.B
1.D
3.A
2.A
2.C
2.B
3.C
2.D
3.B
3.D
106
No Summarisation
2.B
2.D
3.B
3.D
Area 0
1.A
1.C
3.A
3.C
1.A
1.C
1.A
1.C
2.A
2.C
1.B
1.D
3.B
3.D
1.B
1.D
3.A
2.A
2.C
2.B
3.C
2.D
1.B
1.D
2.B
2.D
3.B
3.D
107
With Summarisation
2
3
1
2
Area 0
1
3
1.A
1.C
1.B
1.D
3.A
2.A
2.C
2.B
3.C
2.D
3.B
3.D
108
Types of Areas
Regular
Stub
Totally Stubby
Not-So-Stubby
Only regular areas are useful for ISPs
X.1 External
networks
1
2 X.1
Area 0
X.1
1
3
X.1
1.A
1.C
1.B
1.D
X.1
X.1
2.A
2.C
3.A
2.B
3.C
2.D
3.B
3.D
110
ASBR
X.1 External
networks
1
2 Default
Area 0
Default
1
3
X.1
1.A
1.C
1.B
1.D
X.1
X.1
2.A
2.C
3.A
2.B
3.C
2.D
3.B
3.D
111
Totally
Stubby Area
X.1
Default
ASBR
X.1 External
networks
1
2 Default
Area 0
Default
1
3
1.A
1.C
1.B
1.D
X.1
X.1
2.A
2.C
3.A
2.B
3.C
2.D
3.B
3.D
112
Not-So-Stubby Area
Not-SoStubby Area
X.1
Default
Area 0
Default
X.2 1
3
1.A
X.2
External
networks
1
2 Default
X.2
1.C
1.B
1.D
X.2
X.2
X.1
X.1
2.A
2.C
3.A
2.B
3.C
2.D
3.B
3.D
113
Backbone area
Backbone area
Regular area
No partitioning
Regular area
114
Area 1
network 192.168.1.64
range 255.255.255.192
Area 2
network 192.168.1.128
range 255.255.255.192
Area 3
network 192.168.1.192
range 255.255.255.192
Summary
Area hierarchy
DR/BDR selection
Contiguous intra-area addressing
Route summarisation
Infrastructure prefixes only
116
Introduction to
OSPF
ISP Training Workshops
117
118
Agenda
OSPF Design in SP Networks
Adding Networks in OSPF
OSPF in Ciscos IOS
119
OSPF Design
As applicable to Service
Provider Networks
120
Service Providers
121
SP Architecture
Major routing
information is ~430K
prefixes via BGP
Largest known IGP
routing table is ~910K
Total of 440K
10K/440K is 2% of
IGP routes in an ISP
network
A very small factor but
has a huge impact on
network convergence!
Area 6/L1
BGP 1
POP
POP
Area 1/L1
BGP 1
Area 2/L1
BGP 1
IP Backbone
Area0/L2
BGP 1
POP
Area 5/L1
BGP 1
POP
Area 3/L1
BGP 1
POP
Area 4/L1
BGP 1
POP
122
SP Architecture
Regional
Core
RR
IGP
Access
customer
customer
customer 123
Is it meshed or hub-and-spoke?
126
Normal areas
Stub areas
Totally stubby (stub no-summary)
Not so stubby areas (NSSA)
127
128
Think Redundancy
Area 0
C
D
Area 10
131
132
OSPF: Configuration
133
OSPF: Establishing
Adjacencies
Redistribution:
135
139
interface loopback 0
ip address 192.168.255.1 255.255.255.255
ip ospf 100 area 0
interface POS 0/0
ip address 192.168.10.1 255.255.255.252
ip ospf 100 area 0
interface POS 1/0
ip address 192.168.10.5 255.255.255.252
ip ospf 100 area 0
interface serial 2/0:0 ...
ip unnumbered loopback 0
! Customers connect here ^^^^^^^
router ospf 100
passive-interface default
no passive interface POS 0/0
no passive interface POS 1/0
140
interface loopback 0
ip address 192.168.255.1 255.255.255.255
interface POS 0/0
ip address 192.168.10.1 255.255.255.252
interface POS 1/0
ip address 192.168.10.5 255.255.255.252
interface serial 2/0:0 ...
ip unnumbered loopback 0
! Customers connect here ^^^^^^^
router ospf 100
network 192.168.255.1 0.0.0.0 area 51
network 192.168.10.0 0.0.0.3 area 51
network 192.168.10.4 0.0.0.3 area 51
passive-interface default
no passive interface POS 0/0
no passive interface POS 1/0
141
142
143
Increases Stability
Reduces the amount of information in the Link
State Advertisements (LSAs)
Speeds Convergence Time
144
145
Areas
An area is stored as
a 32-bit field:
Defined in IPv4
address format (i.e.
Area 0.0.0.0)
Can also be defined
using single decimal
value (i.e. Area 0)
Area 3
Area 0
Area 2
Area 1
146
148
149
Router ID
If the loopback interface exists and has
an IP address, that is used as the router
ID in routing protocols stability!
If the loopback interface does not exist,
or has no IP address, the router ID is the
highest IP address configured danger!
OSPF sub command to manually set the
Router ID:
Syntax:
Cost = 108/bandwidth
Not useful for interface bandwidths > 100 Mbps
ospf auto-cost reference-bandwidth <referencebw>
100Gbps
40Gbps
10Gbps
2.5Gbps
1Gbps
622Mbps
155Mbps
100Mbps
10Mbps
2Mbps
cost
cost
cost
cost
cost
cost
cost
cost
cost
cost
=
=
=
=
=
=
=
=
=
=
1
2
5
10
20
50
100
200
500
1000
152
Default routes
153
Clear/Restart
Use authentication
155
interface fastethernet0/2
ip ospf network point-to-point
156
DR/BDR Selection
OSPF startup
ISIS equivalent:
158
Hello/Dead Timers
LSA Pacing
159
160
Per interface:
Per neighbor:
OSPFs router will flood an LSA out all interfaces except the
receiving one; LSA filtering can be useful in cases where
such flooding unnecessary (i.e., NBMA networks), where the
DR/BDR can handle flooding chores
area <area-id> filter-list <acl>
Filters out specific Type 3 LSAs at ABRs
Improper use can result in routing loops and blackholes that can be very difficult to troubleshoot
161
Summary
OSPF has a bewildering number of
features and options
Observe ISP best practices
Keep design and configuration simple
Investigate tuning options and suitability
for your own network
162
163
Introduction to BGP
ISP Training Workshops
164
Described in RFC4271
165
BGP
Path Vector Protocol
Incremental Updates
Many options for policy enforcement
Classless Inter Domain Routing (CIDR)
Widely used for Internet backbone
Autonomous systems
166
12.6.126.0/24
12.6.126.0/24 207.126.96.43
207.126.96.43 1021
1021 00 6461
6461 7018
7018 6337
6337 11268
11268 ii
AS Path
167
AS11268
AS7018
AS500
AS6461
AS600
168
Definitions
Transit carrying traffic across a network,
usually for a fee
Peering exchanging routing information
and traffic
Default where to send traffic when there
is no explicit match in the routing table
169
170
IXP-West
Backbone
Provider D
IXP-East
provider B
provider C
172
Autonomous System
Number (ASN)
Two ranges
Usage:
0-65535
65536-4294967295
0 and 65535
1-64495
64496-64511
64512-65534
23456
65536-65551
65552-4294967295
(reserved)
(public Internet)
(documentation RFC5398)
(private use only)
(represent 32-bit range in 16-bit
world)
(documentation RFC5398)
(public Internet)
173
Defines asplain (traditional format) as standard notation
Autonomous System
Number (ASN)
See www.iana.org/assignments/as-numbers
174
175
BGP Basics
Peering
A
AS 100
AS 101
D
AS 102
176
AS 100
DMZ
Network
AS 101
D
AS 102
177
178
Constructing the
Forwarding Table
BGP in process
Constructing the
Forwarding Table
BGP in
process
in
discarded
accepted
everything
bgp
BGP
table
peer
routing
table
best paths
out
BGP out
process
forwarding
table
180
eBGP used to
181
Model representation
eBGP
eBGP
eBGP
iBGP
iBGP
iBGP
iBGP
IGP
IGP
IGP
IGP
AS1
AS2
AS3
AS4
182
AS 100
AS 101
183
Router A in AS100
ip address of Router
C ethernet interface
Inbound and
184
outbound filters
Router C in AS101
ip address of Router
A ethernet interface
Inbound and
185
outbound filters
Topology independent
Each iBGP speaker must peer with every other
iBGP speaker in the AS
187
188
Router A in AS100
interface loopback 0
ip address 105.3.7.1 255.255.255.255
!
Local ASN
router bgp 100
network 100.100.1.0
Local ASN
neighbor 105.3.7.2 remote-as 100
neighbor 105.3.7.2 update-source loopback0
neighbor 105.3.7.3 remote-as 100
neighbor 105.3.7.3 update-source loopback0
!
ip address of Router
B loopback interface
189
Router B in AS100
interface loopback 0
ip address 105.3.7.2 255.255.255.255
!
Local ASN
router bgp 100
network 100.100.1.0
Local ASN
neighbor 105.3.7.1 remote-as 100
neighbor 105.3.7.1 update-source loopback0
neighbor 105.3.7.3 remote-as 100
neighbor 105.3.7.3 update-source loopback0
!
ip address of Router
A loopback interface
190
redistribute static
network command
191
Configuration Example:
redistribute
static
router bgp 100
redistribute static
ip route 102.10.32.0 255.255.254.0 serial0
192
193
Configuration Example
network
command
router bgp 100
network 102.10.32.0 mask 255.255.254.0
ip route 102.10.32.0 255.255.254.0 serial0
194
Configuring Aggregation
redistribute static
aggregate-address
network command
195
Configuring Aggregation
Configuration Example:
router bgp 100
redistribute static
ip route 102.10.0.0 255.255.0.0 null0 250
Configuring Aggregation
Network Command
Configuration Example
197
Configuring Aggregation
aggregate-address
Configuration Example:
command
router bgp 100
network 102.10.32.0 mask 255.255.252.0
aggregate-address 102.10.0.0 255.255.0.0 [summary-only]
Summary
BGP neighbour status
Router6>shipbgpsum
BGProuteridentifier10.0.15.246,localASnumber10
BGPtableversionis16,mainroutingtableversion16
7networkentriesusing819bytesofmemory
14pathentriesusing728bytesofmemory
2/1BGPpath/bestpathattributeentriesusing248bytesofmemory
0BGProutemapcacheentriesusing0bytesofmemory
0BGPfilterlistcacheentriesusing0bytesofmemory
BGPusing1795totalbytesofmemory
BGPactivity7/0prefixes,14/0paths,scaninterval60secs
NeighborVASMsgRcvdMsgSentTblVerInQOutQUp/DownState/PfxRcd
10.0.15.24141098160000:04:472
10.0.15.24241065160000:01:432
10.0.15.24341098160000:04:492
...
BGP Version
199
Summary
BGP Table
Router6>shipbgp
BGPtableversionis16,localrouterIDis10.0.15.246
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,iinternal,
rRIBfailure,SStale,mmultipath,bbackuppath,fRTFilter,
xbestexternal,aadditionalpath,cRIBcompressed,
Origincodes:iIGP,eEGP,?incomplete
RPKIvalidationcodes:Vvalid,Iinvalid,NNotfound
NetworkNextHopMetricLocPrfWeightPath
*>i10.0.0.0/2610.0.15.24101000i
*>i10.0.0.64/2610.0.15.24201000i
*>i10.0.0.128/2610.0.15.24301000i
*>i10.0.0.192/2610.0.15.24401000i
*>i10.0.1.0/2610.0.15.24501000i
*>10.0.1.64/260.0.0.0032768i
*>i10.0.1.128/2610.0.15.24701000i
*>i10.0.1.192/2610.0.15.24801000i
*>i10.0.2.0/2610.0.15.24901000i
*>i10.0.2.64/2610.0.15.25001000i
...
200
Summary
BGP4 path vector protocol
iBGP versus eBGP
stable iBGP peer with loopbacks
announcing prefixes & aggregates
201
Introduction to BGP
ISP Training Workshops
202
203
204
incremental configuration
Inbound or Outbound
Based upon network numbers (using
familiar IPv4 address/mask format)
Using access-lists in Cisco IOS for filtering
prefixes was deprecated long ago
Strongly discouraged!
205
Syntax:
[no] ip prefix-list list-name [seq seq-value]
permit|deny network/len [ge ge-value] [le levalue]
network/len:
The prefix and its length
ge ge-value:
greater than or equal to
le le-value:
less than or equal to
no ip prefix-list sequence-number
display of sequence numbers
to disable
206
208
Example Configuration
router bgp 100
network 105.7.0.0 mask 255.255.0.0
neighbor 102.10.1.1 remote-as 110
neighbor 102.10.1.1 prefix-list AS110-IN in
neighbor 102.10.1.1 prefix-list AS110-OUT out
!
ip prefix-list AS110-IN deny 218.10.0.0/16
ip prefix-list AS110-IN permit 0.0.0.0/0 le 32
ip prefix-list AS110-OUT permit 105.7.0.0/16
ip prefix-list AS110-OUT deny 0.0.0.0/0 le 32
209
Inbound or Outbound
Example Configuration:
router bgp 100
network 105.7.0.0 mask 255.255.0.0
neighbor 102.10.1.1 filter-list 5 out
neighbor 102.10.1.1 filter-list 6 in
!
ip as-path access-list 5 permit ^200$
ip as-path access-list 6 permit ^150$
210
Simple Examples
.*
.+
^$
_1800$
^1800_
_1800_
_790_1800_
_(1800_)+
_\(65530\)_
match anything
match at least one character
match routes local to this AS
originated by AS1800
received from AS1800
via AS1800
via AS1800 and AS790
multiple AS1800 in sequence
(used to match AS-PATH prepends)
via AS65530 (confederations)
212
213
215
Example
Example Configuration
Example Configuration
Example Configuration
Community-List Processing
Note:
Example Configuration
router bgp 100
network 105.7.0.0 mask 255.255.0.0
neighbor 102.10.1.1 remote-as 200
neighbor 102.10.1.1 send-community
neighbor 102.10.1.1 route-map set-community out
!
route-map set-community permit 10
match ip address prefix-list NO-ANNOUNCE
set community no-export
!
route-map set-community permit 20
match ip address prefix-list AGGREGATE
!
ip prefix-list NO-ANNOUNCE permit 105.7.0.0/16 ge 17
ip prefix-list AGGREGATE permit 105.7.0.0/16
222
Handling multiple conditions and actions in one routemap (for BGP neighbour relationships only)
route-map peer-filter permit 10
match ip address prefix-list group-one
continue 30
set metric 2000
!
route-map peer-filter permit 20
match ip address prefix-list group-two
set community no-export
!
route-map peer-filter permit 30
match ip address prefix-list group-three
set as-path prepend 100 100
!
223
224
226
227
Internet Exchange
Point Design
ISP Training Workshops
228
IXP Design
Background
Why set up an IXP?
Layer 2 Exchange Point
Layer 3 Exchange Point
Design Considerations
Route Collectors & Servers
What can go wrong?
229
A bit of history
In a time long gone
230
A Bit of History
End of NSFnet one major backbone
move towards commercial Internet
231
232
Ethernet (100Gbps/10Gbps/1Gbps/100Mbps)
Older technologies include ATM, Frame Relay,
SRP, FDDI and SMDS
Router based
Has historical status now
233
Why an Internet
Exchange Point?
Saving money, improving QoS,
Generating a local Internet
economy
234
235
International bandwidth
236
Solution:
Result:
To save money
To keep local traffic local
To improve network performance, QoS,
238
Solution:
239
240
Solution
Result:
Layer 2 Exchange
The traditional IXP
242
IXP Design
Layer 2 Exchange
ISP 6
ISP 5
ISP 4
IXP Services:
Root & TLD DNS,
Routing Registry
Ethernet Switch
ISP 1
ISP 2
IXP
Management
Network
ISP 3
244
Layer 2 Exchange
ISP 6
ISP 5
ISP 4
IXP Services:
IXP
Management
Network
Ethernet Switches
ISP 1
ISP 2
ISP 3
245
Layer 2 Exchange
Two switches for redundancy
ISPs use dual routers for redundancy or
loadsharing
Offer services for the common good
246
Layer 2 Exchange
Layer 2 Exchange
248
Layer 3 IXP
Layer 3 IXP is marketing concept used by
Transit ISPs
Real Internet Exchange Points are only
Layer 2
249
IXP Design
Considerations
250
251
252
253
Peering
Peering (more)
Bi-Lateral Peering
Routing
256
Routing (more)
257
Address Space
258
Hardware
Charging
Services Offered
Services to Offer
ccTLD DNS
Root server
the country IXP could host the countrys top level DNS
e.g. SE. TLD is hosted at Netnod IXes in Sweden
Offer back up of other country ccTLD DNS
Anycast instances of I.root-servers.net, F.rootservers.net etc are present at many IXes
Usenet News
262
Services to Offer
Route Collector
Looking Glass
263
Services to Offer
Content Redistribution/Caching
Routing Registry
Introduction to
Route Collectors
What routes are available at the
IXP?
265
266
Purpose of a Route
Collector
E.g. www.traceroute.org
267
R3
R2
R1
R4
SWITCH
Route Collector
R5
268
Route Collector
Requirements
Route Collector
Implementation
270
Introduction to
Route Servers
How to scale very large IXPs
271
272
273
Diagram of N-squared
Peering Mesh
274
RS
RS
RS
TRAFFIC FLOW
ROUTING INFORMATION FLOW
276
Advantages of Using a
Route Server
277
Disadvantages of using a
Route Server
ISPs peer:
279
280
What can go
wrong
The different ways IXP
operators harm their IXP
281
An IXP:
is NOT a competition
is NOT a profit making business
284
285
Interconnected IXPs
287
Actually a Disadvantage
289
Fact:
290
Actually a Disadvantage
291
292
More Information
293
Exchange Point
Policies & Politics
AUPs
Fees?
295
LINX in London, UK
TorIX in Toronto, Canada
AMS-IX in Amsterdam, Netherlands
SIX in Seattle, Washington, US
PA-IX in Palo Alto, California, US
JPNAP in Tokyo, Japan
DE-CIX in Frankfurt, Germany
HK-IX in Hong Kong
Support
Location
Address space
AS Number
http://www.pch.net/documents
http://www.telegeography.com/ee/ix/inde
x.php
299
Summary
Internet Exchange
Point Design
ISP Training Workshops
301
BGP Configuration
for IXPs
ISP Training Workshops
302
Background
303
Recap: Definitions
304
305
Simple BGP
Configuration
example
Exchange Point Configuration
307
308
Exchange Point
AS150
AS100
AS110
AS120
AS140
AS130
309
Router configuration
311
120.5.10.4
120.5.10.4
120.5.10.4
120.5.10.5
120.5.10.5
120.5.10.5
120.5.10.6
120.5.10.6
120.5.10.6
remote-as 130
peer-group ixp-peers
prefix-list peer130 in
remote-as 140
peer-group ixp-peers
prefix-list peer140 in
remote-as 150
peer-group ixp-peers
prefix-list peer150 in
Peer-group applied
to each peer
peer110
peer120
peer130
peer140
peer150
permit
permit
permit
permit
permit
122.0.0.0/19
122.30.0.0/19
122.12.0.0/19
122.18.128.0/19
122.1.32.0/19
313
Exchange Point
Configuration of the other routers in the
AS is similar in concept
Notice inbound and outbound prefix filters
Exchange Point
315
Exchange Point
Issues:
Alternative solutions
316
317
318
Exchange Point
AS200
AS201
AS110
AS120
AS150
AS100
AS140
AS130
319
Exchange Point
Router A configuration
interface fastethernet 0/0
description Exchange Point LAN
ip address 120.5.10.2 mask 255.255.255.224
no ip directed-broadcast
no ip proxy-arp
no ip redirects
!
router bgp 100
Filter by ASN rather
than by prefix and
neighbor ixp-peers peer-group
block bogons too
neighbor ixp-peers send-community
neighbor ixp-peers prefix-list bogons out
neighbor ixp-peers filter-list 10 out
neighbor ixp-peers route-map set-local-pref in
...next slide
320
Exchange Point
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
120.5.10.2
120.5.10.2
120.5.10.2
120.5.10.3
120.5.10.3
120.5.10.3
120.5.10.4
120.5.10.4
120.5.10.4
120.5.10.5
120.5.10.5
120.5.10.5
120.5.10.6
120.5.10.6
120.5.10.6
remote-as 110
peer-group ixp-peers
prefix-list peer110 in
remote-as 120
peer-group ixp-peers
prefix-list peer120 in
remote-as 130
peer-group ixp-peers
prefix-list peer130 in
remote-as 140
peer-group ixp-peers
prefix-list peer140 in
remote-as 150
peer-group ixp-peers
prefix-list peer150 in
321
Exchange Point
ip route 121.10.0.0 255.255.224.0 null0
!
ip as-path access-list 10 permit ^$
ip as-path access-list 10 permit ^200$
ip as-path access-list 10 permit ^201$
!
ip prefix-list peer110 permit 122.0.0.0/19
ip prefix-list peer120 permit 122.30.0.0/19
ip prefix-list peer130 permit 122.12.0.0/19
ip prefix-list peer140 permit 122.18.128.0/19
ip prefix-list peer150 permit 122.1.32.0/19
!
route-map set-local-pref permit 10
set local-preference 150
322
Exchange Point
323
324
325
Exchange Point
AS150
AS100
AS110
AS120
AS140
AS130
Router configuration
Community Policy
remote-as 110
peer-group ixp-peer
prefix-list peer110 in
remote-as 120
peer-group ixp-peers
prefix-list peer120 in
Route Servers
But note that the route server will offer prefixes from
several ASNs (the IXP membership who choose to
participate)
Inbound filter should be constructed appropriately
332
Route Servers
333
Summary
Exchange Point Configuration
334
Summary
BGP Configuration
for IXPs
ISP Training Workshops
336