STARNET: a multiGbit/s optical local area network with both packet and circuit switching