title: How to connect to the same network and same subnet with two interfaces
body: <p>In Lab we have two hosts say A and B.
  host A has two NIC and host B has single NIC (see below diagram for network topology)</p>
  
  <p>NIC-1 of host A is connected to lab network and</p>
  
  <p>NIC-2 of host A is connected directly (end-to-end) to host B</p>
  
  <pre><code>            ----------
              |         | -&gt; NIC1                  ------&gt; Lab Network (10.203.194.0/24)
              |         |    (eth0 - 10.203.194.247/24)
              | host A  |                                          ----------
              |         | -&gt; NIC2                  -------&gt; NIC1   | host B  | 
              -----------   (eth1 - 10.203.209.230/24)             -----------
                                                               (eth0 - 10.203.194.163/24)
  </code></pre>
  
  <p>From host A, I was able to ping 'lab network' whereas I couldn't connect/ping host B (10.203.194.163). I find a routing table of host A has default gw to lab network.</p>
  
  <p>What changes were required to connect Lab network and host B FROM host A.</p>
  
  <p>I can go for a bridge connection connecting both eth0 and eth1 interface in host A; but I don't prefer that option because host B should not recieve any packet specific to lab network and that is the reason I did not connect host B directly to lab network.</p>
  
  <p>I am looking for some routing option that is specific to the destination/source and the interface has to be decided based on that.</p>