This is something that I always wanted to understand with more granularity. For example, you want to configure OSPF on a router.
Say you configure the routing statement below on the G0/0 interface:
R1(config)# router ospf 1
R1(config-router)#network 192.168.1.0 0.0.0.3 area 0
Now if there is a physical interface that is 192.168.1.1, this interface will automatically begin advertising this network on this physical interface?
What if the routing statement is applied to the interface itself? ie. 'ip router ospf 1' What is the difference?