R2 Config
!
interface Serial0/0
ip address 192.168.12.2 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
ip address 172.16.24.1 255.255.255.0
serial restart-delay 0
!
router eigrp 10
network 192.168.12.0
auto-summary
!
router ospf 10
router-id 2.2.2.2
log-adjacency-changes
redistribute eigrp 10 subnets route-map EIGRP2OSPF
network 172.16.24.0 0.0.0.255 area 0
!
access-list 10 permit 192.168.1.0 0.0.0.255
access-list 10 permit 192.168.12.0 0.0.0.255
access-list 10 permit 192.168.4.0 0.0.0.255
access-list 20 permit 192.168.2.0 0.0.0.255
access-list 20 permit 192.168.15.0 0.0.0.255
access-list 20 permit 192.168.13.0 0.0.0.255
access-list 30 deny 192.168.3.0 0.0.0.255
!
route-map EIGRP2OSPF permit 10
match ip address 10
set metric 100
set metric-type type-2
set tag 10
!
route-map EIGRP2OSPF permit 20
match ip address 20
set metric 200
set metric-type type-1
set tag 20
!
route-map EIGRP2OSPF permit 30
match ip address 30
!
route-map EIGRP2OSPF permit 40
set metric 300
set metric-type type-1
set tag 30
!
route-map EIGRP2OSPF deny 50
match tag 40
!
R3 Config:
interface Serial0/0
ip address 192.168.13.2 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
ip address 172.16.34.1 255.255.255.0
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router eigrp 10
redistribute ospf 10 route-map OSPF2EIGRP
network 192.168.13.0
auto-summary
!
router ospf 10
router-id 3.3.3.3
log-adjacency-changes
network 172.16.34.0 0.0.0.255 area 0
!
no ip http server
no ip http secure-server
!
ip forward-protocol nd
!
!
access-list 30 permit 172.16.24.0 0.0.0.255
access-list 30 permit 172.16.34.0 0.0.0.255
access-list 30 permit 172.16.46.0 0.0.0.255
access-list 30 permit 172.16.1.0 0.0.0.255
!
route-map OSPF2EIGRP permit 10
match ip address 30
set metric 100 100 100 100 100
set tag 40
!
route-map OSPF2EIGRP deny 20
match tag 10 20 30
!
No comments:
Post a Comment