@Acky said in ICND2 Enabling EIGRP or OSPF on interfaces via network statements:
In your example,
What networks will be advertised out?
For network 172.16.0.0 0.0.0.0
I would say the whole class B network of 172.16.0.0 would be advertised.
What if I don't want 172.16.63.0/24 to be advertised out.
Then I would give a network statement like: network 172.16.64.0 0.0.0.255
What if I only want 172.16.0.0/24 to be advertised out.
How would I configure this with the above configuration?
I would then provide: network 172.16.0.0 0.0.0.255
What happens when you have only the 32bit wildcard mask already listed?
Can you do either of the other two? for example
router eigrp 1
network 172.16.0.0 0.0.0.0
network 172.16.0.0 0.0.0.255
would I be able to use the original 32bit subnet mask or not...if I want to exclude the .63 network?
My point was not an exercise in wildcard mask ability as much as it was to get you see that even though the 32 bit can work. It doesn't work in every situation. So even though it works, if you're not wanting to configure each interface with eigrp or enter multiple network statements. It doesn't work if you have even one subnet in that range that you do not want advertised.
I'm probably not making myself clear; that is what I wanted you to see. We use the 32 bit wildmask all the time just to get things to work when answering a question or setting up a lab but this fails when I wanted to that 172.16.63.0/24 to be advertised out ospf instead of eigrp (or vice versa). Or when I only want a limited number of networks to be advertised, which is normally the case in production networks.
*if the post above has answered the question, please mark the topic as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied support or guarantee by the ITProTV team.