Hello...again,
I feel like I've taken over these forums
Any who, I had a question about this network 0.0.0.0 command in regards to route advertisement. I will be honest, I have never seen this command. I have always just typed in the individual networks that are being advertised.
Ex:
router rip
version 2
network 192.168.1.0
network 192.168.1.64
network 192.168.1.128
network 192.168.1.192
I never knew that you could instead do
router rip
version 2
network 0.0.0.0
Now my question is what exactly is the router doing when it sees that 0.0.0.0? Is the 0.0.0.0 acting like a wildcard mask and the router is comparing routes to it? So "0 = we care about that bit" everything matches that 0.0.0.0.
If this is the case can I do stuff like network 0.0.0.128 or 0.0.128.0 to filter out what routes I want to advertise? Now that I sit and think about it, it sounds kind of useless and crazy to do it that way. But if you have 100's of routes you do need a quick mechanism to advertise only those that you want. I guess that is what route maps are for? ( I am currently at the beginning of that video so pardon my ignorance)
Thanks again.