ciscomeo,
It should work, you will know if it does not allow you to setup the sub-interface or you can not do the encapsalation.
Here is a sample config for the FastEthernet interface with 4 sub-interfaces -
interface FastEthernet0
no ip address
speed 100
full-duplex
no keepalive
!
interface FastEthernet0.2
description VLAN 2
encapsulation dot1Q 2
ip address 192.168.2.1 255.255.255.0
!
interface FastEthernet0.3
description VLAN 3
encapsulation dot1Q 3
ip address 192.168.3.1 255.255.255.0
!
interface FastEthernet0.4
description VLAN 4
encapsulation dot1Q 4
ip address 192.168.4.1 255.255.255.0
!
interface FastEthernet0.5
description VLAN 5
encapsulation dot1Q 5
ip address 192.168.5.1 255.255.255.0
Hope this helps!!
E.A. Broda
CCNA, CCDA, CCAI, Network +