I want host to act as an L2 switch for my VM / docker / systemd-container(s) to get IP address from router directly. Are there any tools to configure that?

I know that A WDS range-extender does the same with WiFi, allow it’s clients to get IP config from the ISP router itself. My TP Link WR-940N does this, but I want to do this at software level.