Routing Dynamic EIGRP & OSPF over BGP

Routing Dynamic EIGRP & OSPF over BGP

Routing Dynamic EIGRP & OSPF over BGP

Desain Topologi Jaringan

 

Penyelesaian Konfigurasi

EIGRP#show running-config
hostname EIGRP
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool local
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.1
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet0/1
ip address 192.168.10.2 255.255.255.252
!
router eigrp 100
network 192.168.1.0
network 192.168.10.0 0.0.0.3
no auto-summary
OSPF#show running-config
!
hostname OSPF
!
ip dhcp excluded-address 192.168.2.1
!
ip dhcp pool local
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 192.168.2.1
!
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.20.2 255.255.255.252
duplex auto
speed auto
!
router ospf 200
log-adjacency-changes
network 192.168.20.0 0.0.0.3 area 0
network 192.168.2.0 0.0.0.255 area 0
neighbor 192.168.20.1
!
BGP.A#show running-config
Building configuration…
!
hostname BGP.A
!
interface FastEthernet0/0
ip address 10.10.10.1 255.255.255.252
!
interface FastEthernet0/1
ip address 192.168.10.1 255.255.255.252
!
router eigrp 100
redistribute bgp 111 metric 100000 1 1 1 1
network 192.168.10.0 0.0.0.3
auto-summary
!
router bgp 111
bgp log-neighbor-changes
no synchronization
neighbor 10.10.10.2 remote-as 222
network 10.10.10.0 mask 255.255.255.252
redistribute eigrp 100
!
BGP.B#show running-config
!
hostname BGP.B
!
interface FastEthernet0/0
ip address 10.10.10.2 255.255.255.252
!
interface FastEthernet0/1
ip address 192.168.20.1 255.255.255.252
!
router ospf 200
router-id 1.1.1.1
log-adjacency-changes
redistribute bgp 222 subnets tag 32
network 192.168.20.0 0.0.0.3 area 0
neighbor 192.168.20.2
!
router bgp 222
bgp log-neighbor-changes
no synchronization
neighbor 10.10.10.1 remote-as 111
network 10.10.10.0 mask 255.255.255.252
redistribute ospf 200
!