I am thinking if it's possible to create a bridge while allowing each bridged network to exist in it's own subnet.
Network 1 - Say, I have a physical ethernet based network eth01 - with subnet 192.168.x.x/16
.
Network 2 - I want to create another virtual network veth01(based on virtual interface) with subnet 172.16.x.x/12
.
Now is it possible to create a linux bridge (virtual not physical) between Network1 and Network2, such that even after bridging the above two networks have there on subnets and there own DHCP.
Any reference or steps/commands on how to create this setup (if possible) are highly welcomed.