0% found this document useful (0 votes)
15 views6 pages

Experiment No 4

Uploaded by

suresh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views6 pages

Experiment No 4

Uploaded by

suresh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Ex No: 5

PATH VECTOR ROUTING-BORDER GATEWAY PROTOCOL

Aim :to study path routing algorithm using Border Gateway Protocol using cisco packet tracer

Design:

R1

interface GigabitEthernet0/0
ip address 12.0.0.1 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 100.0.0.1 255.0.0.0
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
network 12.0.0.0 0.255.255.255 area 100
network 100.0.0.0 0.255.255.255 area 100
!
router bgp 1000
bgp log-neighbor-changes
no synchronization
neighbor 100.0.0.2 remote-as 3000
network 100.0.0.0
redistribute ospf 1

R2>EN
R2#SH RUN
Building configuration...
interface GigabitEthernet0/0
ip address 12.0.0.2 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 23.0.0.1 255.0.0.0
duplex auto
speed auto
!
router ospf 2
log-adjacency-changes
network 23.0.0.0 0.255.255.255 area 100
network 12.0.0.0 0.255.255.255 area 100
!
ip classless
ip route 0.0.0.0 0.0.0.0 100.0.0.1

R3#
R3#SH RUN
Building configuration...

!
interface GigabitEthernet0/0
ip address 23.0.0.2 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 34.0.0.1 255.0.0.0
duplex auto
speed auto
!
router ospf 3
log-adjacency-changes
network 23.0.0.0 0.255.255.255 area 100
network 34.0.0.0 0.255.255.255 area 100
!
ip classless
ip route 0.0.0.0 0.0.0.0 100.0.0.1
!

R4(config)#DO SH RUN
Building configuration...
hostname R4
!
interface GigabitEthernet0/0
ip address 34.0.0.2 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 40.0.0.1 255.0.0.0
duplex auto
speed auto
!

!
router ospf 4
log-adjacency-changes
network 40.0.0.0 0.255.255.255 area 100
network 34.0.0.0 0.255.255.255 area 100
!
ip classless
ip route 0.0.0.0 0.0.0.0 100.0.0.1
!
R5>EN
R5#SH RUN
Building configuration...

!
hostname R5

interface GigabitEthernet0/0
ip address 56.0.0.1 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 200.0.0.1 255.255.255.0
duplex auto
speed auto
!
!
router ospf 5
log-adjacency-changes
network 56.0.0.0 0.255.255.255 area 200
network 200.0.0.0 0.0.0.255 area 200
!
router bgp 2000
bgp log-neighbor-changes
no synchronization
neighbor 200.0.0.2 remote-as 3000
network 200.0.0.0
redistribute ospf 5

R6>EN
R6#SH RUN
Building configuration...

hostname R6

interface GigabitEthernet0/0
ip address 56.0.0.2 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 67.0.0.1 255.0.0.0
duplex auto
speed auto
!
router ospf 6
log-adjacency-changes
network 56.0.0.0 0.255.255.255 area 200
network 67.0.0.0 0.255.255.255 area 200
!
ip classless
ip route 0.0.0.0 0.0.0.0 200.0.0.1

R7>
R7>EN
R7#SH RUN
Building configuration...

hostname R7
!

interface GigabitEthernet0/0
ip address 67.0.0.2 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 78.0.0.1 255.0.0.0
duplex auto
speed auto

!
router ospf 7
log-adjacency-changes
network 67.0.0.0 0.255.255.255 area 200
network 78.0.0.0 0.255.255.255 area 200
!
ip classless
ip route 0.0.0.0 0.0.0.0 200.0.0.1

R8>EN
R8#SH RUN
Building configuration...

hostname R8
!

interface GigabitEthernet0/0
ip address 78.0.0.2 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
router ospf 8
log-adjacency-changes
network 78.0.0.0 0.255.255.255 area 200
network 67.0.0.0 0.255.255.255 area 200
!
ip classless
ip route 0.0.0.0 0.0.0.0 200.0.0.1
!

ISP ROUTER

interface GigabitEthernet0/0
ip address 100.0.0.2 255.0.0.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 200.0.0.2 255.255.255.0
duplex auto
speed auto
!
!
router bgp 3000
bgp log-neighbor-changes
no synchronization
neighbor 200.0.0.1 remote-as 2000
neighbor 100.0.0.1 remote-as 1000
network 200.0.0.0
network 100.0.0.0
!

Conclusion:
Thus we have studied and implemented BGP configuration in cisco packet tracer

You might also like