Hi Gaja,
The ports on the HWIC will always be layer2 switchports (all assigned to VLAN1 by default).
What you can then do, is create a vlan1 interface where you can configure all the layer 3 informations (ip address, HSRP, etc).
Later on, if you need to have another port on that module in a different subnet, you just create an additional layer2 vlan in the vlan database, then configure the port to be in that vlan. After than you can create a Layer3 VLAN interface for that new VLAN.
Here's an example with VLAN2:
Router#vlan database
router(vlan)#vlan 2 (create vlan2)
VLAN 2 added:
Name: VLAN0002
router(vlan)#exit
APPLY completed.
Exiting....
Router# sh vlan-switch -> will show active layer2 vlans
Router#conf t
Router(config)#int fa0/0/1
Router(config-if)#switchport access vlan 2
Router(config-if)#no shut
Router(config)# interface Vlan2
Router(config-if)# ip address x.x.x.x y.y.y.y
Router(config-if)#no shut
Router(config)#end
Router#wr
HTH
Regards
Inayath
*Plz rate all usefull posts.