That’s not a simple question to answer. There are many ways to implement a home network with multiple segments. One way is to use a commercial router that supports multiple subnets.
Ms. Google is your friend. Here’s one reference that might be helpful.