1. Configure EIGRP and OSPF for the network shown. Advertise all networks on all routers. Do not implement any summarization features for EIGRP or OSPF. Use Area 0 for the OSPF portion of the network and configure all Loopback interfaces on R3 as a point-to-point OSPF network.
2. Enalbe full redistribution between OSPF external routes should not increment their metric as they propagate the network.
###### OSPF -> infinite -> EIGRP : EIGRP metric, by default, is infinite which means EIGRP can't reach the routers in OSPF. Therefore, there must be specific metric configurations
R2>
conf t
redistribute ospf 1 metric 100 100 100 100 100
###### EIGRP -> 20 -> OSPF : By default, the metrics of EIGRP networks on OSPF is 20
By defualt, EIGRP networks will advertise by E2
R2>
conf t
redistribute eigrp 100 subnets(by default, there is a auto-summary without subnets)
3. Implement distribute-list filtering in such a way that the OSPF domain only sees odd numbered loopback networks coming from R1.
Any even numbered subnet (including physical networks) should be hidden from OSPF.
R2>
conf t
access-list 1 permit 10.1.1.0 0.0.0.255
access-list 1 permit 10.1.3.0 0.0.0.255
access-list 1 permit 10.1.5.0 0.0.0.255
router ospf 1
distribute-list 1 out
4. Implement route-map filtering in such a way that the EIGRP domain does not see routes with a more specific subnet mask than /24.
R2>
conf t
ip prefix-list PAGE permit 10.0.0.0/8 le 24
route-map FILTER_OSPF_To_EIGRP permit 10
match ip address prefix-list PAGE
router eigrp 100
redistribute ospf 1 metric 100 100 100 100 100 route-map FILTER_OSPF_To_EIGRP
------------------------------------------------------------------------------------------------
Configuration
R1>
interface Loopback0
ip address 10.1.0.1 255.255.255.0
!
interface Loopback1
ip address 10.1.1.1 255.255.255.0
!
interface Loopback2
ip address 10.1.2.1 255.255.255.0
!
interface Loopback3
ip address 10.1.3.1 255.255.255.0
!
interface Loopback4
ip address 10.1.4.1 255.255.255.0
!
interface Loopback5
ip address 10.1.5.1 255.255.255.0
!
interface Loopback6
ip address 10.1.6.1 255.255.255.0
!
interface Serial0/2
ip address 10.1.12.1 255.255.255.0
clock rate 2000000
!
router eigrp 100
network 10.0.0.0
no auto-summary
R2>
interface Serial0/1
ip address 10.1.12.2 255.255.255.0
clock rate 2000000
!
interface Serial0/3
ip address 10.1.23.2 255.255.255.0
clock rate 2000000
!
router eigrp 100
redistribute ospf 1 metric 100 100 100 100 100 route-map FILTER_OSPF_To_EIGRP
network 10.1.12.0 0.0.0.255
no auto-summary
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
redistribute eigrp 100 subnets
network 10.1.23.0 0.0.0.255 area 0
distribute-list 1 out
!
ip prefix-list PAGE seq 5 permit 10.0.0.0/8 le 24
access-list 1 permit 10.1.1.0 0.0.0.255
access-list 1 permit 10.1.3.0 0.0.0.255
access-list 1 permit 10.1.5.0 0.0.0.255
!
route-map FILTER_OSPF_To_EIGRP permit 10
match ip address prefix-list PAGE
R3>
interface Loopback0
ip address 10.1.7.1 255.255.255.0
ip ospf network point-to-point
!
interface Loopback1
ip address 10.1.8.1 255.255.255.0
ip ospf network point-to-point
!
interface Loopback2
ip address 10.1.9.1 255.255.255.0
ip ospf network point-to-point
!
interface Loopback3
ip address 10.1.10.1 255.255.255.0
ip ospf network point-to-point
!
interface Loopback4
ip address 10.1.11.1 255.255.255.252
ip ospf network point-to-point
!
interface Loopback5
ip address 10.1.11.5 255.255.255.252
ip ospf network point-to-point
!
interface Loopback6
ip address 10.1.11.9 255.255.255.252
ip ospf network point-to-point
!
interface Serial0/2
ip address 10.1.23.3 255.255.255.0
clock rate 2000000
!
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
network 10.1.23.3 0.0.0.0 area 0
network 10.0.0.0 0.255.255.255 area 0
---------------------------------------------------------------------------------------
Routes
R1> Networks, 10.1.11.0/30, 10.1.11.4/30, 10.1.11.8/30, are disappeared.R2> Networks, 10.1.12.0/24, 10.1.2.0/24, 10.1.4.0/24, 10.1.6.0/24, are disappeared.
No comments:
Post a Comment