VLAN – Sharing One VLAN with Two Routers for Different Subnets

routersubnetvlan

We are transitioning to new WAN connectivity. I have one VLAN (let's say ID 10). Currently there is one router R1 that has one private subnet and one public subnet on the VLAN 10 which goes through the network to different endpoints. Can I insert another router R2 into the network have the VLAN 10 joint it and move only the private subnet to the new route R2. So that now the R1 will route the public subnet and R2 will route the private subnet? Of course disabling the private's subnet gateway IP and R1.

Will it work? Or is there going to be a collision/problem with two routers sharing the same L2 VLAN albeit routing different subnets? I am not sure how it will behave. It's only a temporary solution until I am able to route the public subnet on R2 too.

Essentially I want to share the same one L2 VLAN with two L3 routers each of which will route one different subnet which were originally routed by one router.

Current State:
Current State

Transitional State:
Transitional State

End State:
End State

EDIT: Included the pictures to better explain what I want to achieve

Best Answer

The problem is your handover subnet 77.5.6.20/30. It only allows two routers to attach (.21 and .22) - the ISP one and yours. No way to attach a third router.

Of course, you could attach R2 behind R1 within the 88.10.1.0/27 subnet. R1 would then route transparently and only R2 would NAT your private subnet(s).

As a side note, you really shouldn't run a public and a private subnet within a single VLAN - securitywise that's suboptimal, mildly put. Instead, you should separate the VLANs and consider a decent DMZ concept (an additional firewall between the public and the private VLANs with (next to) no connectivity from public to private). As it is, a comprimised public host could directly attack private nodes which are likely less protected.