In article , Harkin wrote: :I have a VLAN that is 10.0.0.0/16 based. I want to create another VLAN that :is 10.0.1.0/24 based for migration purposes. Given that these will be on the :same box I would guess bad things would happen. Would the switch even allow :me (I am guessing not) to create the new VLAN? If so, what would happen if I :did?
It's going to depend on the switch software; you didn't happen to mention the manufacturer, model, or software version.
Some devices would notice the overlap, but some will not (e.g., PIX documentation prohibits it but the 6.3(*) software does not notice in the case where one is a proper subset of the other.)
Layer 2 switches aren't going to notice because they don't ascribe any layer 3 meaning to the VLANs: the VLANs just -are- as far as they are concerned.
Layer 3+ switches that don't notice the overlap might use longest- match routing. Or, as they say in comp.lang.c, they might provoke nasal demons.