Professional Documents
Culture Documents
Cis185 BSCI Lecture8 BGP Part3
Cis185 BSCI Lecture8 BGP Part3
BGP Part 3
Rick Graziani
Cabrillo College
graziani@cabrillo.edu
Last Updated: Fall 2009
Regular Expressions
A regular expression is a pattern to match against an input string.
Character
Description
.
*
192.10.2.0/24
AS 300
RouterA
130.1.50.32/30
AS 200
RouterB
12.0.0.0/8
RouterC#show ip bgp
Network
Next Hop
*> 11.0.0.0
0.0.0.0
*> 12.0.0.0
200.200.200.65
*> 192.10.2.0
200.200.200.65
200.200.200.64/30
AS 400
RouterC
11.0.0.0/8
192.10.2.0/24
AS 300
RouterA
130.1.50.32/30
AS 200
RouterB
12.0.0.0/8
RouterC#show ip bgp
Network
Next Hop
*> 11.0.0.0
0.0.0.0
*> 12.0.0.0
200.200.200.65
*> 192.10.2.0
200.200.200.65
200.200.200.64/30
AS 400
RouterC
11.0.0.0/8
192.10.2.0/24
AS 300
RouterA
130.1.50.32/30
200.200.200.64/30
AS 200
RouterB
12.0.0.0/8
RouterC#show ip bgp
Network
Next Hop
*> 11.0.0.0
0.0.0.0
*> 12.0.0.0
200.200.200.65
*> 192.10.2.0
200.200.200.65
AS 400
RouterC
11.0.0.0/8
192.10.2.0/24
AS 300
RouterA
130.1.50.32/30
200.200.200.64/30
AS 200
RouterB
12.0.0.0/8
RouterC#show ip bgp
Network
Next Hop
*> 11.0.0.0
0.0.0.0
*> 12.0.0.0
200.200.200.65
*> 192.10.2.0
200.200.200.65
AS 400
RouterC
11.0.0.0/8
AS 200
AS 100
2.0.0.0
1.0.0.0
AS 1000
AS 400
AS 300
AS 50
10.0.0.0
4.0.0.0
3.0.0.0
5.0.0.0
AS50#show ip bgp
Network
*> 5.0.0.0
*> 1.0.0.0
*> 2.0.0.0
*> 3.0.0.0
*> 4.0.0.0
*> 10.0.0.0
Path
i
100 i
100 200 i
300 i
300 400 i
300 400 1000 I
AS 200
AS 100
2.0.0.0
1.0.0.0
AS 1000
AS 400
AS 300
AS 50
10.0.0.0
4.0.0.0
3.0.0.0
5.0.0.0
AS50#show ip bgp
Network
*> 5.0.0.0
*> 1.0.0.0
*> 2.0.0.0
*> 3.0.0.0
*> 4.0.0.0
*> 10.0.0.0
Path
i
100 i
100 200 i
300 i
300 400 i
300 400 1000 I
AS 200
AS 100
2.0.0.0
1.0.0.0
AS 1000
AS 400
AS 300
AS 50
10.0.0.0
4.0.0.0
3.0.0.0
5.0.0.0
AS50#show ip bgp
Network
*> 5.0.0.0
*> 1.0.0.0
*> 2.0.0.0
*> 3.0.0.0
*> 4.0.0.0
*> 10.0.0.0
Path
i
100 i
100 200 i
300 i
300 400 i
300 400 1000 I
AS 200
AS 100
2.0.0.0
1.0.0.0
AS 1000
AS 400
AS 300
AS 50
10.0.0.0
4.0.0.0
3.0.0.0
5.0.0.0
AS50#show ip bgp
Network
*> 5.0.0.0
*> 1.0.0.0
*> 2.0.0.0
*> 3.0.0.0
*> 4.0.0.0
*> 10.0.0.0
Path
i
100 i
100 200 i
300 i
300 400 i
300 400 1000 I
10
AS 200
AS 100
2.0.0.0
1.0.0.0
AS 1000
AS 400
AS 300
AS 50
10.0.0.0
4.0.0.0
3.0.0.0
5.0.0.0
AS50#show ip bgp
Network
*> 5.0.0.0
*> 1.0.0.0
*> 2.0.0.0
*> 3.0.0.0
*> 4.0.0.0
*> 10.0.0.0
Path
i
100 i
100 200 i
300 i
300 400 i
300 400 1000 I
nslookup
http://www.traceroute.org/
Optus Route Server Australia (AS7474)
13
#####################################################################
203.202.125.6
This router has the complete view of Optus AS7474 National routes.
This router should _not_ be used to verify Optus backbone routing policy.
The best path shown is the current best path _from this router_.
Please contact ipnws@optus.net.au if you have questions or
comments about this service, its use, or if you might be able to
contribute your view.
The Optus route-views server is NOT to be used with ANY automated scripts
unless expressly authorised by Optus.
######################################################################
route-views.optus.net.au>
14
15
*
*>
*
*
*>
*
*
*>
*
*
*>
*
*
*>
*
*
*>
Network
2.0.0.0/16
2.1.0.0/21
2.1.24.0/24
3.0.0.0
3.51.92.0/23
4.0.0.0/9
Next Hop
203.13.132.53
202.160.242.71
203.13.132.35
203.13.132.53
202.160.242.71
203.13.132.35
203.13.132.53
202.160.242.71
203.13.132.35
203.13.132.53
202.160.242.71
203.13.132.35
203.13.132.53
202.160.242.71
203.13.132.35
203.13.132.53
202.160.242.71
Path
7474
7473
7474
7474
7473
7474
7474
7473
7474
7474
7473
7474
7474
7473
7474
7474
7473
route-views.optus.net.au>
16
Next Hop
202.160.242.71
203.13.132.53
203.13.132.35
203.13.132.53
202.160.242.71
203.13.132.35
203.13.132.53
202.160.242.71
203.13.132.35
203.13.132.53
202.160.242.71
203.13.132.35
203.13.132.53
202.160.242.71
Path
7473
7474
7474
7474
7473
7474
7474
7473
7474
7474
7473
7474
7474
7473
11164 2152
7473 11164
7473 11164
7473 11164
11164 2152
7473 11164
7473 11164
11164 2152
7473 11164
7473 11164
11164 2152
7473 11164
7473 11164
11164 2152
7377 i
2152 7377 i
2152 7377 i
2152 25664 i
25664 i
2152 25664 i
2152 25664 i
25664 i
2152 25664 i
2152 25664 i
25664 i
2152 25664 i
2152 25664 i
25664 i
route-views.optus.net.au>
17
65535 This AS
7473 Next AS
18
19
http://www.geektools.com/whois.php
20
21
22
http://bgplay.routeviews.org/bgplay/
23
http://www.ripe.net/ris/index.html
24
2152
25
http://www.caida.org
26