create_sub_interface function now supports vlan ranges