I would need some help on understanding how the below is working. Its been some time i had to work on VLAN's and i am confused after looking into the below design. Also all the below switches are in a differnt VTP Domain in Server Mode.
There is a L3 switch called SW1 which has has a VLAN100 with routing enabled. The vlan has a ip helper address assigned so that the users can get IP Automatically. Then this SW1 is connected to a Layer 2 switch which is called SW2 via a Access Port. And in the SW1 the access port vlan number stated is VLAN 100. BUt on the other end in the SW 2 the VLAN number stated is VLAN002 as an Access Port and also all the ports on the switch has VLAN002 as the vlan. Firstly how does ths work? Can VLAN Names be differnt on differnt switches? I know that VLAN on differnt VTP Domain does not need to be the same. But i would like to know how the packets really flow?
Also adding to this. This SW2 is conneted to a another L2 switch SW3. The SW2 and SW3 is connected by an access port where SW2 end the access port vlan is VLAN002 but in the SW3 the access port VLAN is nothing which mean it is the default VLAN1. But in he SW3 the default gateway is set to the VLAN100 IP in the SW1.
I know it is quite difficult to understand what i am trying to say but i have put it the most simplest way i can, hope to get some answers from you all.
NOTE: Other than the ports connected to the switches the other ports are set to portfast. in the above i have just mentioned only 1 VLAN100 example, as of now there are many another VLAN between those 3 switches and are names differntly in others 2.