question regarding vlans

in CCNA & CCENT
Hi.
I am hoping someone can help me with a question I have regarding Vlans. I know that each switch must have an ip address config on "int vlan 1"......but, if a switch has ports assigned to vlan 2 and vlan 3 users, does the switch also require an "int vlan 2" & "int vlan 3" ip address? I have tried a simulation with only the Vlan 1 address in the switch and the vlan 2 users connected to the same switch were still able to ping each other (although neither could ping the switch- when the connecting router interface was shut down) I have only seen this mentioned once in the books I've read and the example wasn't too clear (at least to me).
If this is the case, would switches that feed different vlans but connected to the first via trunks also have to have an "int vlan 2" & "int vlan 3" address or would it be required only for those switches directly connected to Vlan 2 and 3? Does the use of a VTP domain take care of this via the vlan database automatically?
Any help would be appreciated, thanks.
I am hoping someone can help me with a question I have regarding Vlans. I know that each switch must have an ip address config on "int vlan 1"......but, if a switch has ports assigned to vlan 2 and vlan 3 users, does the switch also require an "int vlan 2" & "int vlan 3" ip address? I have tried a simulation with only the Vlan 1 address in the switch and the vlan 2 users connected to the same switch were still able to ping each other (although neither could ping the switch- when the connecting router interface was shut down) I have only seen this mentioned once in the books I've read and the example wasn't too clear (at least to me).
If this is the case, would switches that feed different vlans but connected to the first via trunks also have to have an "int vlan 2" & "int vlan 3" address or would it be required only for those switches directly connected to Vlan 2 and 3? Does the use of a VTP domain take care of this via the vlan database automatically?
Any help would be appreciated, thanks.
0
Comments
If you set two Vlans on a switch and connect one computer on each Vlan, without a router you are not going to be able to ping the other computer. The problem you have on the simulator (be able to ping computers on different Vlans) is something common, simulators doesn’t always work the way they should. I would suggest you to buy a cheap router and play with it, and when you are familiar with the real thing, you can practice complicated things on the simulator.
Good luck.
Having said that I do certainly appreciate your input, it does clear it up for me. If I can get by the last half of the CCNA and decide to look at CCNP I may very well think of investing in equipment but for now a simulator is about as close as I can get to the real thing. You are definitly right though, it does have the odd glitch where stuff just doesn't behave as it should, I guess its the price you pay for a cheaper solution.
Thanks again!