Question about VLAN Trunking and routers

in CCNA & CCENT
I'm a little confused on VLAN operation. I understand that you
need a trunk for different VLAN's to span multiple switches and
that 2 VLAN's communicate by sending packets to the router
which in turn fowards the packet back to the other VLAN but
lets say you have 2 switches each with the same VLAN that is
to say one with VLAN 10 the other with VLAN 10 do I need a router
for this? Is trunking necessary or do I just setup up a physical
connection and what would the physical connection be a cross
over cable between the 2 switches?
I'm so
need a trunk for different VLAN's to span multiple switches and
that 2 VLAN's communicate by sending packets to the router
which in turn fowards the packet back to the other VLAN but
lets say you have 2 switches each with the same VLAN that is
to say one with VLAN 10 the other with VLAN 10 do I need a router
for this? Is trunking necessary or do I just setup up a physical
connection and what would the physical connection be a cross
over cable between the 2 switches?
I'm so

Comments
i
You still need a trunk to span across different access nodes (switches) in this case. Regardless if they're in the same VLAN or not. Although, if you have one switch that contains multiple VLANs you still need a trunk connection back to the router to either forward it or filter it back to the switch, provided you have 802.1q as the encap. Now in the case of having lets say four switches in which two switches are part of one VLAN and the other two are part of another VLAN. Its probably your best best to enable VLAN pruning...Don't forget to setup VTP as well...
Correct me If I'm wrong please...
-D
that's all i needed to know.
and yes i forgot all about prunning.
thanks
-k
Same is true from switch to router. You could connect the individual VLANs to a router using a separate port, or consolidate the connections to one trunk port, then break out the individual VLANs into separate VLAN subinterfaces at the router.
Another way to look at it. Consider CAT5. It has 4 pairs in one cable. Each pair can be used separately. Putting electrical AC characteristic requirements aside for a moment, you could just as easily use 4 separate speaker or doorbell hookup wire to do the job of one CAT5. Both ways, you carry 4 separate signals.