9 Replies Latest reply: Mar 19, 2019 5:21 PM by phil morgan RSS

    Basic VLAN Question


      Hey all, I have just start learning 640-461 and start using packet tracer, I'm facing this problem with VLANS


      Using 2960-24TT switch and 2 IP Phones


      • I creat 2 VLANS for voice (10) and data (20)



      Switch#config t

      Enter configuration commands, one per line.  End with CNTL/Z.

      Switch(config)#vlan 10

      Switch(config-vlan)#name VOICE

      Switch(config-vlan)#vlan 20

      Switch(config-vlan)#name DATA


      • I assign them to the 2 interfaces

      Switch(config)#int range f 0/2-3

      Switch(config-if-range)#spanning-tree portfast

      Switch(config-if-range)#switchport mode access

      Switch(config-if-range)#switchport access vlan 20

      Switch(config-if-range)#switchport voice vlan 10


      • Now I can find the two interfaces under the data VLAN, VLAN 20 only, and when I tried DHCP it didn't assinged them any IP address.


      anyone can help ???