Hi,
I know that RIP1 and IGRP are classful protocols.. with classful can we use subnetting like using 172.16.10.0/24, 172.16.20.0/24? or it should be only class B networks(as example)? (172.16 is class

.
If we can use 172.16.10.0/24 do we type:
"Router(config-router)#Network 172.16.0.0" for both interfaces or,
172.16.10.0 and 172.16.20.0 for interface 1 and 2 respectively?
If we can use these 2 networks, can we go further and use different subnets in RIP1 and IGRP (VLSM) and let these protocols determine the subnet?
What about RIP2 (which is classless) do we type Network 172.16.0.0 or both 172.16.10.0 and 172.16.20.0 ?? (this is classB subnetted /24)
Now about static routing, we type:
"Router(config)# ip route 172.16.10.0 255.255.255.0 172.16.20.1"
in static routing, can VLSM be used, that is different subnets?? because the Mask is included in the configuration, so I don't see why VLSM cant be used here.
thanks a lot !