11-19-2002 08:01 AM - edited 03-02-2019 03:00 AM
If I have a static route as follows :-
ip route 10.1.9.0 255.255.255.192 Ethernet0/0
and this network is not directly connected (say its a route for a NAT pool)
then I have
router eigrp 925
network 10.0.0.0
Does this network automatically get redistributed into eigrp without the redist static command?
Many thx
11-19-2002 08:10 AM
Yes it does as a default mask will be associated with your network statement, i would also suggest configuring ip classless
11-19-2002 08:13 AM
I mis read your question, if it is a static route it will not be auto distributed, i thouight that was an interface address.
11-19-2002 08:24 AM
Tested it and 12.1 does auto as long as there is no mask associated under EIGRP:
R1:
router eigrp 100
passive-interface default
no passive-interface Vlan10
network 10.0.0.0
ip route 10.10.20.16 255.255.255.240 Vlan12
R2:
sh ip rou eigrp
100.0.0.0/32 is subnetted, 3 subnets
D 100.2.2.2 [90/130816] via 10.1.10.2, 00:03:31, Vlan10
10.0.0.0/8 is variably subnetted, 11 subnets, 3 masks
D 10.10.20.16/28 [90/3072] via 10.1.10.2, 00:03:31, Vlan10
D 10.10.10.16/28 [90/2816] via 10.1.10.2, 00:03:31, Vlan10
Sorry for the mix up... it is a bad day..:))
11-19-2002 05:22 PM
I think the static route was auto redistributed into EIGRP because this static route was pointed to a interface. According to the following documents, when the next hop of a static route points to an interface, the router considers each of the hosts within the range of the route to be directly connected through that interface.
http://www.cisco.com/en/US/partner/tech/tk648/tk365/technologies_tech_note09186a00800ef7b2.shtml
So int R1, the static route in the routing should be marked as directly connected (C).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide