When I do my Cisco Virtual Lab simulations, I have to add extra devices to stop directly connected from getting in the way of OSPF and EIGRP. I want a quick and dirty way to giving directly connected an AD of 150. I would never do this in a data center. I just speeds up getting simulations to work. I really don't need to see directly connected devices that are part of OSPF and EIGRP.
Unsolved Any way to set directly connected routes to a higher metric than OSPF or EIGRP for simulations
Directly connected routes normally don't show up in that router's table using routing protocols. They are in the routing table because they are directly connected. So you'll not able to affect it for that router easily.
You can redistribute connected into OSPF and/or EIGRP with a different metric than the default seed metric....possibly. I'm not sure if this would affect the connected router or just the downstream router though...I haven't tested it yet.
Edutainer Manager, ITProTV
*if the post above has answered the question, please mark as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied service, support, or guarantee by ITProTV.
I am playing with Offsets and ACLs in my latest simulation. I could redistribute them in EIGRP, I guess. Some offsets in EIGRP work and some don't. I can get in and out offsets to work on routes directly connected but the furthest router out the offset out does not work. It seems like direct connect get in the way of a lot of stuff I test. So I end up adding extra routers so the actual topology is 2 routers away. I will post it tonight on my web site.
This has my Sh Run and other files
iosv-2 has offset of 10000
iosv-6 has offset of 5000
iosv-1 only shows the 10000.
D 192.168.33.0 [90/3072] via 192.168.32.2, 00:20:28, GigabitEthernet0/2
192.168.34.0/30 is subnetted, 1 subnets
D 192.168.34.0 [90/3328] via 192.168.32.2, 00:20:16, GigabitEthernet0/2
192.168.35.0/30 is subnetted, 1 subnets
D 192.168.35.0 [90/3328] via 192.168.32.2, 00:20:16, GigabitEthernet0/2
192.168.36.0/30 is subnetted, 1 subnets
[90/13328] via 192.168.32.2, 00:20:16, GigabitEthernet0/2