I was wondering if it is possible for a server to serve two different subnets? I am new to networking so I'm getting confused.
I am using Cisco packet tracer and would like to configure a web and DNS server to be able to respond to requests from two different networks all using the same router. However my server subnet is 255.255.255.0 and one side of the network is also set to that subnet however the other side of my network has a subnet of 255.255.225.128 as I don't want both sides of the network to be able to access each other for security reasons.
Is it possible for my network to work with this set-up? I have tried to research this but haven't found any easy to understand answers for a beginner.
I have of course tried it to see if it works but it fails when I make requests from one side of the network, I just wanted to know if it was possible using a class C IP address for my internal LAN network with different subnets along with a 22.214.171.124 IP for my server.