Policy Based Routing (PBR) - Using IP prefix on management and productive interface
Hi,
Guess I have a classic standard problem. I want to serve a service (DNS) in my management network, via a dedicated interface/vlan, not via the management interface. Problem is, that the service interface and management interface have to be able to reach the same IPs/networks. Basically it can happen, that a request on the service interface, would be replied via the management interface. This is what I am looking to solve, f.e. via Policy Based Routing or something similar.
Example:
Management Interface Name: eth0 IP: 192.168.1.10/24 Route: 192.168.0.0/20 via eth0
Service Interface Name: eth3 IP: 192.168.15.20/24 Route: 192.168.0.0/20 via eth3
So basically services listening on eth3 should be able to serve DNS/the service to all nodes in 192.168.0.0/20 but without mixing the interfaces.
Don't know if a Route Domain is what I am looking or if I have to add the interface to the vserver config too or a combination of both or something else.
Any hint and example is much appreciated.
Rgds, SJ