BGP project

From Teknologisk videncenter
Jump to: navigation, search

BGP PDF Presentations

eBGP exercise team 1, 2 and 3

UV net feb 2009 hold1 2 3.png


Hold 1

Router 1

Current configuration : 1878 bytes
!
version 12.4
!
interface Loopback0
 ip address 192.168.100.11 255.255.255.255
 ip router isis
!
interface Loopback1
 ip address 10.1.12.1 255.255.255.0
!
interface Loopback2
 ip address 10.1.13.1 255.255.255.0
!
interface Loopback3
 ip address 10.1.14.1 255.255.255.0
!
interface Loopback4
 ip address 10.1.15.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 172.21.0.2 255.255.0.0
 ip router isis
 speed auto
 full-duplex
 no mop enabled
!
interface FastEthernet0/1
 ip address 10.10.10.1 255.255.255.252
 duplex auto
 speed auto
!
router isis
 net 49.0001.1921.6810.0011.00
 is-type level-2-only
!
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 10.1.12.0 mask 255.255.255.0
 network 10.1.13.0 mask 255.255.255.0
 network 10.1.14.0 mask 255.255.255.0
 network 10.1.15.0 mask 255.255.255.0
 network 172.21.0.0
 neighbor 10.10.10.2 remote-as 200
 neighbor 10.10.10.2 update-source FastEthernet0/1
 neighbor 192.168.100.12 remote-as 100
 neighbor 192.168.100.12 update-source Loopback0
 neighbor 192.168.100.12 next-hop-self
 neighbor 192.168.100.13 remote-as 100
 neighbor 192.168.100.13 update-source Loopback0
 neighbor 192.168.100.13 next-hop-self
 no auto-summary
!
end

Router 2

Building configuration...
!
version 12.4
!
hostname H1R2
!
interface Loopback0
 ip address 192.168.100.12 255.255.255.255
 ip router isis
!
interface Loopback1
 ip address 10.1.4.1 255.255.255.0
!
interface Loopback2
 ip address 10.1.5.1 255.255.255.0
!
interface Loopback3
 ip address 10.1.6.1 255.255.255.0
!
interface Loopback4
 ip address 10.1.7.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 ip router isis
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 172.21.0.1 255.255.0.0
 ip router isis
 duplex auto
 speed auto
 no mop enabled
!
router isis
 net 49.0001.1921.6810.0012.00
 is-type level-2-only
!
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 10.1.4.0 mask 255.255.255.0
 network 10.1.5.0 mask 255.255.255.0
 network 10.1.6.0 mask 255.255.255.0
 network 10.1.7.0 mask 255.255.255.0
 network 172.21.0.0
 network 192.168.1.0
 neighbor 192.168.100.11 remote-as 100
 neighbor 192.168.100.11 update-source Loopback0
 neighbor 192.168.100.13 remote-as 100
 neighbor 192.168.100.13 update-source Loopback0
 no auto-summary
!
end

Router 3

Current configuration : 2166 bytes
!
version 12.3
!
hostname H1R3
!
interface Loopback0
 ip address 192.168.100.13 255.255.255.255
 ip router isis
!
interface Loopback1
 ip address 10.1.0.1 255.255.255.0
!
interface Loopback2
 ip address 10.1.1.1 255.255.255.0
!
interface Loopback3
 ip address 10.1.2.1 255.255.255.0
!
interface Loopback4
 ip address 10.1.3.1 255.255.255.0
!
interface Loopback5
 ip address 10.1.8.1 255.255.255.0
!
interface Loopback6
 ip address 10.1.9.1 255.255.255.0
!
interface Loopback7
 ip address 10.1.10.1 255.255.255.0
!
interface Loopback8
 ip address 10.1.11.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 192.168.1.2 255.255.255.0
 ip router isis
 duplex auto
 speed auto
 no mop enabled
!
interface FastEthernet0/1
 ip address 172.16.1.3 255.255.255.0
 duplex auto
 speed auto
!
router isis
 net 49.0001.1921.6810.0013.00
 is-type level-2-only
!
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 10.1.0.0 mask 255.255.255.0
 network 10.1.1.0 mask 255.255.255.0
 network 10.1.2.0 mask 255.255.255.0
 network 10.1.3.0 mask 255.255.255.0
 network 10.1.8.0 mask 255.255.255.0
 network 10.1.9.0 mask 255.255.255.0
 network 10.1.10.0 mask 255.255.255.0
 network 10.1.11.0 mask 255.255.255.0
 network 192.168.1.0
 neighbor 192.168.100.11 remote-as 100
 neighbor 192.168.100.11 update-source Loopback0
 neighbor 192.168.100.12 remote-as 100
 neighbor 192.168.100.12 update-source Loopback0
 no auto-summary
!
end

Hold 2

Router 1

Current configuration : 1878 bytes
!
version 12.4
!
interface Loopback0
 ip address 192.168.100.11 255.255.255.255
 ip router isis
!
interface Loopback1
 ip address 10.1.12.1 255.255.255.0
!
interface Loopback2
 ip address 10.1.13.1 255.255.255.0
!
interface Loopback3
 ip address 10.1.14.1 255.255.255.0
!
interface Loopback4
 ip address 10.1.15.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 172.21.0.2 255.255.0.0
 ip router isis
 speed auto
 full-duplex
 no mop enabled
!
interface FastEthernet0/1
 ip address 10.10.10.1 255.255.255.252
 duplex auto
 speed auto
!
router isis
 net 49.0001.1921.6810.0011.00
 is-type level-2-only
!
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 10.1.12.0 mask 255.255.255.0
 network 10.1.13.0 mask 255.255.255.0
 network 10.1.14.0 mask 255.255.255.0
 network 10.1.15.0 mask 255.255.255.0
 network 172.21.0.0
 neighbor 10.10.10.2 remote-as 200
 neighbor 10.10.10.2 update-source FastEthernet0/1
 neighbor 192.168.100.12 remote-as 100
 neighbor 192.168.100.12 update-source Loopback0
 neighbor 192.168.100.12 next-hop-self
 neighbor 192.168.100.13 remote-as 100
 neighbor 192.168.100.13 update-source Loopback0
 neighbor 192.168.100.13 next-hop-self
 no auto-summary
!
end

Router 2

interface Loopback0
 ip address 192.168.200.12 255.255.255.255
 ip router isis
!
interface Loopback1
 ip address 10.2.4.1 255.255.255.0
!
interface Loopback2
 ip address 10.2.5.1 255.255.255.0
!
interface Loopback3
 ip address 10.2.6.1 255.255.255.0
!
interface Loopback4
 ip address 10.2.7.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 192.168.2.1 255.255.255.0
 ip router isis
 duplex auto
 speed auto
 no mop enabled
!
interface FastEthernet0/1
 ip address 172.22.0.1 255.255.0.0
 ip router isis
 duplex auto
 speed auto
!
router isis
 net 49.0002.1921.6820.0012.00
 is-type level-2-only
!
router bgp 200
 no synchronization
 bgp log-neighbor-changes
 network 10.2.4.0 mask 255.255.255.0
 network 10.2.5.0 mask 255.255.255.0
 network 10.2.6.0 mask 255.255.255.0
 network 10.2.7.0 mask 255.255.255.0
 network 172.22.0.0
 network 192.168.2.0
 neighbor 192.168.200.11 remote-as 200
 neighbor 192.168.200.11 update-source Loopback0
 neighbor 192.168.200.13 remote-as 200
 neighbor 192.168.200.13 update-source Loopback0
 no auto-summary

Router 3


interface Loopback0
 ip address 192.168.200.13 255.255.255.255
 ip router isis
!
interface Loopback1
 ip address 10.2.0.1 255.255.255.0
!
interface Loopback2
 ip address 10.2.1.1 255.255.255.0
!
interface Loopback3
 ip address 10.2.2.1 255.255.255.0
!
interface Loopback4
 ip address 10.2.3.1 255.255.255.0
!
interface Loopback5
 ip address 10.2.8.1 255.255.255.0
!
interface Loopback6
 ip address 10.2.9.1 255.255.255.0
!
interface Loopback7
 ip address 10.2.10.1 255.255.255.0
!
interface Loopback8
 ip address 10.2.11.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 192.168.2.2 255.255.255.0
 ip router isis
 speed auto
 full-duplex
 no mop enabled
!
interface Serial0/0
 no ip address
 shutdown
 no fair-queue
!
interface FastEthernet0/1
 ip address 192.168.250.1 255.255.255.252
 duplex auto
 speed auto
!
interface Serial0/1
 no ip address
 shutdown
!
router isis
 net 49.0002.1921.6820.0013.00
 is-type level-2-only
!
router bgp 200
 no synchronization
 bgp log-neighbor-changes
 network 10.2.0.0 mask 255.255.255.0
 network 10.2.1.0 mask 255.255.255.0
 network 10.2.2.0 mask 255.255.255.0
 network 10.2.3.0 mask 255.255.255.0
 network 10.2.8.0 mask 255.255.255.0
 network 10.2.9.0 mask 255.255.255.0
 network 10.2.10.0 mask 255.255.255.0
 network 10.2.11.0 mask 255.255.255.0
 network 192.168.2.0
 neighbor 192.168.200.11 remote-as 200
 neighbor 192.168.200.11 update-source Loopback0
 neighbor 192.168.200.11 next-hop-self
 neighbor 192.168.200.12 remote-as 200
 neighbor 192.168.200.12 update-source Loopback0
 neighbor 192.168.200.12 next-hop-self
 neighbor 192.168.250.2 remote-as 300
 neighbor 192.168.250.2 update-source FastEthernet0/1
 no auto-summary

Switch 1

Hold 3



Router R1

!
hostname H3R1
!
enable secret 5 class
!
no ip domain lookup
!
interface Loopback0
 ip address 192.168.30.11 255.255.255.255
 ip router isis
!
interface Loopback1
 ip address 10.3.12.1 255.255.255.0
!
interface Loopback2
 ip address 10.3.13.1 255.255.255.0
!
interface Loopback3
 ip address 10.3.14.1 255.255.255.0
!
interface Loopback4
 ip address 10.3.15.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 172.23.0.2 255.255.0.0
 ip router isis
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/1/0
 ip address 192.168.251.2 255.255.255.252
 no fair-queue
!
interface Serial0/1/1
 no ip address
 shutdown
 clock rate 125000
!
interface Serial0/2/0
 no ip address
 shutdown
 clock rate 2000000
!
router isis
 net 49.0003.1921.6803.0011.00
!
router bgp 300
 no synchronization
 bgp default local-preference 500
 bgp log-neighbor-changes
 network 10.3.12.0 mask 255.255.255.0
 network 10.3.13.0 mask 255.255.255.0
 network 10.3.14.0 mask 255.255.255.0
 network 10.3.15.0 mask 255.255.255.0
 network 172.23.0.0
 aggregate-address 10.3.0.0 255.255.240.0 summary-only
 neighbor 192.168.30.12 remote-as 300
 neighbor 192.168.30.12 update-source Loopback0
 neighbor 192.168.30.12 next-hop-self
 neighbor 192.168.30.13 remote-as 300
 neighbor 192.168.30.13 update-source Loopback0
 neighbor 192.168.30.13 next-hop-self
 neighbor 192.168.251.1 remote-as 200
 neighbor 192.168.251.1 update-source Serial0/1/0
 no auto-summary
!
line con 0
 password cisco
 login
line aux 0
line vty 0 4
 password cisco
 login
end


Router R2



!
no service password-encryption
!
hostname H3R2
!
enable secret 5 $1$h6lF$l2Aj49hET0hn42XrF1xC9/
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.3.1 192.168.3.10
ip dhcp excluded-address 172.23.0.1 172.23.0.10
!
ip dhcp pool HOLD3
   network 192.168.3.0 255.255.255.0
   domain-name hold3.dk
!
interface Loopback0
 ip address 192.168.30.12 255.255.255.255
 ip router isis
!
interface Loopback1
 ip address 10.3.4.1 255.255.255.0
!
interface Loopback2
 ip address 10.3.5.1 255.255.255.0
!
interface Loopback3
 ip address 10.3.6.1 255.255.255.0
!
interface Loopback4
 ip address 10.3.7.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 192.168.3.1 255.255.255.0
 ip router isis
 speed auto
 full-duplex
 no mop enabled
!
interface FastEthernet0/1
 ip address 172.23.0.1 255.255.0.0
 ip router isis
 duplex auto
 speed auto
!
interface Serial0/1/0
 no ip address
 shutdown
 clock rate 2000000
!
router isis
 net 49.0003.1921.6803.0012.00
!
router bgp 300
 no synchronization
 bgp log-neighbor-changes
 network 10.3.4.0 mask 255.255.255.0
 network 10.3.5.0 mask 255.255.255.0
 network 10.3.6.0 mask 255.255.255.0
 network 10.3.7.0 mask 255.255.255.0
 network 172.16.0.0
 network 192.168.3.0
 neighbor 192.168.30.11 remote-as 300
 neighbor 192.168.30.11 update-source Loopback0
 neighbor 192.168.30.13 remote-as 300
 neighbor 192.168.30.13 update-source Loopback0
 no auto-summary
!
line con 0
line aux 0
line vty 0 4
 password class
 login
!

Router R3


!
hostname H3R3
!
enable secret class
!
interface Loopback0
 ip address 192.168.30.13 255.255.255.255
 ip router isis
!
interface Loopback1
 ip address 10.3.0.1 255.255.255.0
!
interface Loopback2
 ip address 10.3.1.1 255.255.255.0
!
interface Loopback3
 ip address 10.3.2.1 255.255.255.0
!
interface Loopback4
 ip address 10.3.3.1 255.255.255.0
!
interface Loopback5
 ip address 10.3.8.1 255.255.255.0
!
interface Loopback6
 ip address 10.3.9.1 255.255.255.0
!
interface Loopback7
 ip address 10.3.10.1 255.255.255.0
!
interface Loopback8
 ip address 10.3.11.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 192.168.3.2 255.255.255.0
 ip router isis
 duplex auto
 speed auto
 no mop enabled
!
interface Serial0/0
 no ip address
 shutdown
!
interface FastEthernet0/1
 ip address 192.168.250.2 255.255.255.252
 duplex auto
 speed auto
!
interface Serial0/1
 no ip address
 shutdown
!
router isis
 net 49.0003.1921.6803.0013.00
!
router bgp 300
 no synchronization
 bgp default local-preference 1000
 bgp log-neighbor-changes
 network 10.3.0.0 mask 255.255.255.0
 network 10.3.1.0 mask 255.255.255.0
 network 10.3.2.0 mask 255.255.255.0
 network 10.3.3.0 mask 255.255.255.0
 network 10.3.8.0 mask 255.255.255.0
 network 10.3.9.0 mask 255.255.255.0
 network 10.3.10.0 mask 255.255.255.0
 network 10.3.11.0 mask 255.255.255.0
 network 192.168.3.0
 aggregate-address 10.3.0.0 255.255.240.0 summary-only
 neighbor 192.168.30.11 remote-as 300
 neighbor 192.168.30.11 update-source Loopback0
 neighbor 192.168.30.11 next-hop-self
 neighbor 192.168.30.12 remote-as 300
 neighbor 192.168.30.12 update-source Loopback0
 neighbor 192.168.30.12 next-hop-self
 neighbor 192.168.250.1 remote-as 200
 neighbor 192.168.250.1 update-source FastEthernet0/1
 no auto-summary
!
ip classless
!
ip http server
no ip http secure-server
!
!
!
!
!
!
!
!
!
!
line con 0
 password cisco
 login
line aux 0
line vty 0 4
 password cisco
 login
!
!
end

Local Preference exercise

CCNP1 februar 2009 Local Pref.png

Hold 1

Hold 2

Hold 3