iosv-1

router eigrp 100
network 1.1.1.1 0.0.0.0
network 172.12.0.0
redistribute static
redistribute bgp 1000 metric 1000000 1 255 1 1500
!
!
router eigrp 1000
!
router bgp 1000
bgp log-neighbor-changes
network 1.1.1.1 mask 255.255.255.255
network 50.50.50.0 mask 255.255.255.252
network 50.50.100.0 mask 255.255.255.252
redistribute connected
redistribute static
redistribute eigrp 100
neighbor 50.50.50.2 remote-as 2000
neighbor 50.50.100.2 remote-as 3000
neighbor 172.12.3.1 remote-as 1000

iosv-2

router ospf 1
redistribute rip metric 200 subnets
network 2.2.2.2 0.0.0.0 area 0
network 172.12.4.0 0.0.0.3 area 0
!
router bgp 2000
bgp log-neighbor-changes
network 2.2.2.2 mask 255.255.255.255
network 50.50.50.0 mask 255.255.255.252
redistribute ospf 1
neighbor R2 peer-group
neighbor R2 remote-as 2000
neighbor R2 next-hop-self
neighbor 50.50.50.1 remote-as 1000
neighbor 172.12.4.2 peer-group R2