Hey all,
I was doing an OSPF lab and I used these commands after enabling OSPF on RouterA:
#router ospf 100
#network 172.19.0.161 255.255.255.224 area 0
Now this "lab" is a Testout sim. It accepted the command and when I used the "show ip route" command the network address showed up on RouterB correctly. The sim said I correctly configured the routers. When reviewing I saw that I should have used-
#network 172.19.0.0 0.0.0.
31 area 0
...using the wildcard mask. Question- Can you do it both ways? ...or is the sim incorrect and real routers would be configured incorrectly?

:
Thanks
*edit- I accidentally used
127 instead of 31 in my original post*