Hi ITProTV! I was playing with ospf in the lab and a question came up regarding ospfv2 on traditional IOS. After studying I thought the only requirement for getting this going was to issue the following commands..
R2(config)#router ospf 1
R2(config-router)#router ospf 1
R2(config-router)#network 192.168.104.0 0.0.0.255 area 0
R2(config-router)#network 192.168.105.0 0.0.0.255 area 0
I notice that there is a command you can issue directly on the interface "ip ospf 1 area 0".. See interface running config below.
Now I thought this type of command was only really necessary with osfpfv3, but it would look a little different.. ipv6 ospf <n> area 0. When would I use this "ip ospf 1 area 0" command with ospfv2?
interface GigabitEthernet0/0
ip address 192.168.104.5 255.255.255.0
ip ospf 1 area 0
duplex auto
speed auto
end
Regards,
Adam Tyler