devices layers at which they work
repeater-->phy layer
hub-------->phy layer
switch--->phy+data link
bridges---->physical layer+data link layer
router------>physical+data link +network layer.
as data link layer uses MAC address
and router uses both MAC address and logical(IP address)
so answer is both switch and bridge