ok this question is not very hard, just tricky and i don't agree with the answer. so here it is:
Which configuration commands will enable Router A to advertise all local interfaces over ospf
a)router ospf 1
b)router ospf 1
network 255.255.255.255 255.255.255.255
c)router ospf 1
network 0.0.0.0 0.0.0.0
d)router ospf 1
Now i chose C. the network 0.0.0.0 0.0.0.0 command advertises all interfaces into OSPF.
the correct answer given was D (redistribute connected)
what is the correct answer, i have configured this in a lab environment and the redistribute connected command does not advertise all interfaces into OSPF.
especially if they are not classfull, since the redistribute connected subnets command would have to be used for that.
any help would be appreciated. thanks