When routes are redistributed into OSPF, only routes that are not subnetted are redistributed if the subnets keyword is not specified.
For instance, if you are redistributing from EIGRP and it has 192.168.1.0/24, 192.168.2.0/24, 192.168.3.0/24, they will be redistributed without problems because they are class C networks with /24 subnets
However, if you had 10.0.1.0/24, 10.0.2.0/24, 10.0.3.0/24, none of those routes will be redistributed because they are class A networks with /24 subnets.
If you attempt to redistributed without the subnet keyword, you will receive this warning:
% Only classful networks will be redistributed
Edit: I re-read your questions one more time and now I see what you are really after.
In your case, you would want the redistribute connected subnet command if you want to announce other Layer3 links that your router has, that aren't part of the 192.168.2.0/24 subnet. Those links will be brought into the OSPF database as O E2, and you can verify it with the show ip os data.
If 192.168.96.0/24 - 93.0/24 - 92.0/24 are directly connected links on this router, then yes, they were redistributed into OSPF by that command.
You need at least one network statement in order to enable OSPF on an interface and exchange routes with other OSPF routers. The redistribute command does not enable OSPF on an interface, it just announces the links to other OSPF speakers.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.