All of the routers are running “eigrp 100” and advertising all of its local subnets. Please answer below questions for this diagram.
Question 1:- In what way we configure Router R2 for EIGRP so that Router R1 does not receive 18.104.22.168/32 & 22.214.171.124/24 in its routing table?
Ans:- We need to configure Router R2 as “eigrp stub connected”. By this configuration R2 will only advertise its connected networks i.e. 126.96.36.199/24, 188.8.131.52/24, and 184.108.40.206/24. But not, 220.127.116.11/32 and 18.104.22.168/24 due to stub configuration. Also note that router configured with eigrp stub will always receive advertisement it learns from its peers. This configuration is applicable for this diagram and subnets only.
Question 2:- What configuration is required at Router R2 for EIGRP so that R1 does not receive any route thru EIGRP?
Ans:- We need to configure Router R2 as “router eigrp receive-only” . It will stop Router R2 for advertising any subnet, not even summary or static route redistribution and Therefore R1 will not get any information from R2. Its negative impact is that R3 and R4 will not be able to reach 22.214.171.124/24 network.
Question 3:- How we can configure EIGRP in Router R2 so that R1 can reach every network except 126.96.36.199/24
Ans:- First, We need to configure a static route at Router R2 i.e. “ip route 188.8.131.52 255.255.255.255 184.108.40.206”. Next hop for this route can be 220.127.116.11 as well. After that, we need to configure Router R2 as “eigrp stub connected static” so that R2 starts advertising route to 18.104.22.168/32 along with connected networks. Don’t forget to redistribute static routes into eigrp 100 with command “redistribute static 1000 100 255 1 1500” under “router eigrp 100”. By this configuration, R1 will be able to reach everywhere except 22.214.171.124/24.
Now, question arises when should eigrp stub be used? Its answer is that it should be used only when router does not have any transit path or in other words, there is no further connectivity. Second reason of eigrp stub usage is when router does not have enough memory or processing resources to cater EIGRP database needs. EIGRP Stub is used when administrator needs more control over advertisement of networks. It’s also used to remove SIA( Struck in active) state issues in EIGRP as it will restrict further advertisement of Query packets. We can similarly use “eigrp stub connected summary” commands depending upon requirement.