Skip to main content
GeorgBernold
New Member
February 1, 2018
Question

How to get 2 hosts on 2 different interfaces connected?

  • February 1, 2018
  • 1 reply
  • 2422 views

Hello,

sorry for stupid question but usually i can do all things with the cookbook but here i'm lost

1) i have 2 internal LAN interfaces

   A) "company" internal 172.22.x.y    B) "management" internal 192.168.x.y (network has historical numbering)

2) i want to share data between a server in the management network (192.168.0.207) with one on the company internal servers (172.22.0.42)

3) i tried policy based routing but i failed the traffic was always transfered to the ISP

    I'm searching for a way to "redirect" the trafic between this 2 hosts only in the case that A is calling B and vice versa

 

what is the right way to solve this topic ...

    1 reply

    ede_pfau
    SuperUser
    SuperUser
    February 1, 2018

    hi,

     

    and welcome to the forums.

    All you need is a policy from one network to the other. Routing already is correct as the subnets assigned to interfaces are automatically covered by 'directly connected' routes.

    If you want you may create a reverse policy as well so traffic can be originated from both sides.