All pastes #994209 Raw Edit

Broody

public text v1 · immutable
#994209 ·published 2008-04-23 06:13 UTC
rendered paste body

Configuration for Router A (EBGP for B)

Current configuration : 1294 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname A
!
no logging console
enable password ali
!
!
!
!
!
ip subnet-zero
!
ip cef
ip audit notify log
ip audit po max-events 100
!         
!         
!         
!         
!         
!         
!         
interface Loopback0
 ip address 10.1.1.1 255.0.0.0
!         
interface FastEthernet0/0
 no ip address
 shutdown 
 half-duplex
!         
interface Serial1/0
 ip address 4.1.1.2 255.0.0.0
 no keepalive
 shutdown 
 serial restart-delay 0
 clockrate 64000
!         
interface Serial1/1
 ip address 1.1.1.1 255.0.0.0
 no keepalive
 serial restart-delay 0
 clockrate 64000
!         
interface Serial1/2
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/3
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/4
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/5
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/6
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/7
 no ip address
 shutdown 
 serial restart-delay 0
!         
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 10.1.1.1
 network 10.0.0.0
 neighbor 1.1.1.2 remote-as 200
!         
ip classless
no ip http server
!         
!         
!         
line con 0
line aux 0
line vty 0 4
 password ali
 login    
!         
end       



Configuration for Router B

Current configuration : 1591 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname B
!
no logging console
enable password ali
!
!
!
!
!
ip subnet-zero
!
ip cef
ip audit notify log
ip audit po max-events 100
!         
!         
!         
!         
!         
!         
!         
interface Loopback0
 ip address 20.1.1.1 255.0.0.0
!         
interface Loopback1
 ip address 192.168.1.16 255.255.255.0
!         
interface FastEthernet0/0
 no ip address
 shutdown 
 half-duplex
!         
interface Serial1/0
 ip address 1.1.1.2 255.0.0.0
 no keepalive
 serial restart-delay 0
 clockrate 64000
!         
interface Serial1/1
 ip address 2.1.1.1 255.0.0.0
 no keepalive
 serial restart-delay 0
 clockrate 64000
!         
interface Serial1/2
 ip address 4.1.1.1 255.0.0.0
 no keepalive
 serial restart-delay 0
 clockrate 64000
!         
interface Serial1/3
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/4
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/5
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/6
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/7
 no ip address
 shutdown 
 serial restart-delay 0
!         
router rip
 network 1.0.0.0
 network 2.0.0.0
 network 3.0.0.0
 network 20.0.0.0
!         
router bgp 200
 bgp router-id 20.1.1.1
 bgp cluster-id 3232235792
 bgp log-neighbor-changes
 network 1.0.0.0
 network 2.0.0.0
 network 4.0.0.0
 network 20.0.0.0
 neighbor 1.1.1.1 remote-as 100
 neighbor 3.1.1.2 remote-as 200
 neighbor 3.1.1.2 next-hop-self
!         
ip classless
no ip http server
!         
!         
!         
line con 0
line aux 0
line vty 0 4
 password ali
 login    
!         
end       



Configuration for Router C (non-ibgp peer)

Current configuration : 1240 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname C
!
no logging console
enable password ali
!
!
!
!
!
ip subnet-zero
!
ip cef
ip audit notify log
ip audit po max-events 100
!         
!         
!         
!         
!         
!         
!         
interface Loopback0
 ip address 30.1.1.1 255.0.0.0
!         
interface FastEthernet0/0
 no ip address
 shutdown 
 half-duplex
!         
interface Serial1/0
 ip address 2.1.1.2 255.0.0.0
 no keepalive
 serial restart-delay 0
 clockrate 64000
!         
interface Serial1/1
 ip address 3.1.1.1 255.0.0.0
 no keepalive
 serial restart-delay 0
 clockrate 64000
!         
interface Serial1/2
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/3
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/4
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/5
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/6
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/7
 no ip address
 shutdown 
 serial restart-delay 0
!         
router rip
 redistribute bgp 200
 network 2.0.0.0
 network 3.0.0.0
 network 30.0.0.0
!         
ip classless
no ip http server
!         
!         
!         
line con 0
line aux 0
line vty 0 4
 password ali
 login    
!         
end    


ROUTER D (cannot ping A's loopback)  

Current configuration : 1294 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname D
!
no logging console
enable password ali
!
!
!
!
!
ip subnet-zero
!
ip cef
ip audit notify log
ip audit po max-events 100
!         
!         
!         
!         
!         
!         
!         
interface Loopback0
 ip address 40.1.1.1 255.0.0.0
!         
interface FastEthernet0/0
 no ip address
 shutdown 
 half-duplex
!         
interface Serial1/0
 ip address 3.1.1.2 255.0.0.0
 no keepalive
 serial restart-delay 0
 clockrate 64000
!         
interface Serial1/1
 ip address 4.1.1.2 255.0.0.0
 no keepalive
 serial restart-delay 0
 clockrate 64000
!         
interface Serial1/2
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/3
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/4
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/5
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/6
 no ip address
 shutdown 
 serial restart-delay 0
!         
interface Serial1/7
 no ip address
 shutdown 
 serial restart-delay 0
!         
router rip
 network 3.0.0.0
 network 40.0.0.0
!         
router bgp 200
 bgp log-neighbor-changes
 network 40.0.0.0
 neighbor 2.1.1.1 remote-as 200
!         
ip classless
no ip http server
!         
!         
!         
line con 0
line aux 0
line vty 0 4
 password ali
 login    
!         
end