The thing that intrigues me is, say I have a router and I configure it’s interface as a Layer 2 and have 2 Vlans on the same router. So if I want to transfer the data from one Vlan(say VLAN-10) to another(VLAN-20) I need a Router. So instead, I configure IRB(IntegratedRouting and Bridging) for each of the Vlans and give them iPs. So my question is, if I now send a packet from VLAN-10 to VLAN-20 device, how will that happen? Do we need to give a static route from one IRB to another or configure any toting protocols? Please tell me how the packet transfer place.
And if the roles are now reversed and the Switch is configured with IRB with the same VLAN, will it be capable of handling the routing with all the routing tables. Can it replace the Routers and help to avoid using it?