I have a switch supporting both L2 and L3 Switching. It is connected to one router (so L3) and one device using L2 switching.
[Source] ==== L2 ==== [Router] ---- L3 ---- [Switch] ==== L2 ==== [Target]
===== many links, ----- single address
So the question is, in case all the routers uses the same vlan, is it possible for one interface to do both L2 switching and L3 switching? What I mean is, does the standard allow this (I will not complicate this by including switch/router model, just trying to keep it on a theoretical level)? Both the router and the switch is needed, since the router is integrated in other hardware.
In case this work I would then let the next hop address to the router be the gateway address to the interface on the switch. Would this be possible?