Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT...

51
Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool
  • date post

    22-Dec-2015
  • Category

    Documents

  • view

    219
  • download

    0

Transcript of Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT...

Page 1: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP Protocol

Ahmad Salam AlRefai Wael F. Al Takrouri

December 28, 2008

Using OPNET IT Guru Simulating Tool

Page 2: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 2

Outline

Introduction Autonomous System Border Gateway Protocol OPNET IT Guru Simulation Procedure Conclusion Questions & Answers

Page 3: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 3

Introduction

Simulation of Border Gateway Protocol using IT Guru as simulation tool.

Measure the performance of BGP protocol of a baseline model (consists of no. of Autonomous Systems)

Page 4: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 4

Autonomous System

Autonomous System (AS) is a group of routers that are typically under the same administrative control (operated by the same ISP or belonging to the same company)[1].

Routers within the same AS all run the same algorithm.

Page 5: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 5

Autonomous System (cont.)

Three Autonomous Systems[2]

Page 6: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 6

Autonomous System (cont.)

Each AS has one or more router(s) that are responsible communicating with other Ass and responsible for forwarding packets to destination these routers are called gateway routers or border routers.

Each AS has a unique number that distinguishes it from other AS this number is called the autonomous system number or ASN

Page 7: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 7

Border Gateway Protocol

Border Gateway Protocol or BGP is routing protocol for the internet.

There are two forms of BGP, Interior Border

Gateway Protocol or IBGP when it runs on same AS and Exterior Border Gateway Protocol when it runs on between different Autonomous Systems

Page 8: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 8

Border Gateway Protocol (BGP) Mainly BGP provide AS with methods to

Obtain subnet reachablitiy information form neighboring AS

Propagate the reachablitiy information to all router in a AS

Determine good routers to subnet based one the reachablitiy information and AS policy

Page 9: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 9

OPNET IT Guru

OPNET IT Guru Academic 9.1 is selected as simulating tool

Run Windows operating system Has many good features

Usability Supporting large number of simulated devices Speed of Simulation

Page 10: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 10

Simulation Procedure

Page 11: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 11

Simulation Procedure

Page 12: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 12

Simulation Result

Page 13: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 13

Page 14: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 14

Page 15: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 15

Page 16: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 16

Page 17: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 17

Slip8_gtwy

Page 18: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 18

PPP_DS3

Page 19: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 19

Router Naming

Page 20: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 20

After Arrangement

Page 21: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 21

Set Autonomous Number

Page 22: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 22

larger

Page 23: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 23

Set Autonomous Number

Page 24: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 24

Don’t Forget to …

Check Apply Changes to

Selected Objects

Page 25: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 25

Check Links

Page 26: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 26

Run

Page 27: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 27

Before you run

Page 28: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 28

Running

Page 29: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 29

Running

Page 30: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 30

Go to file and do refresh

Page 31: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 31

larger

Page 32: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 32

Open Generic Data file

Page 33: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 33

Select ..

Page 34: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 34

larger

Page 35: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 35

Set Neighboring Information

Page 36: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 36

Edit Neighboring Infos

Page 37: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 37

You can set timer parameters

Page 38: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 38

Export Routing…

Page 39: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 39

larger

Page 40: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 40

Run for 30 Minutes

Page 41: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 41

For Routing table you can export

Page 42: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 42

We can now select statistics

Right Click on Empty

Place Choose

Individual Statistics

Page 43: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 43

Page 44: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 44

Click View Results Button

Page 45: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 45

Some Results – overall

Page 46: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 46

Some Results – on R10

Page 47: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 47

Average and overlaid

Page 48: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 48

Simulation Log

Page 49: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 49

IP routing table/ choose router and see the routing table

Page 50: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 50

Routing table

Page 51: Simulation of BGP Protocol Ahmad Salam AlRefai Wael F. Al Takrouri December 28, 2008 Using OPNET IT Guru Simulating Tool.

Simulation of BGP using OPNet

AlRefai & Al Takrouri 51

References

[1] Kurose, Roos (2005) Computer Networking A top Down Approch Featuring The Internet : Pearson

[2] www.cisco.com/image/gif/paws/26634/bgp-toc2.gif

[3] Laboratory 6: Border Gateway Protocol (BGP)