RE: bidirectional forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> PC1               R1           R2           R3           R4            PC2
> |---------------|   |-------|    |--------|   |--------|   |-----------|
> 192.168.10.2   .1  12.1    12.2 13.1     13.2 16.1    16.2 11.1       11.2
> e0             e0   e1     e0   e1        e0  e1       e0  e1          e0

assuming:

  default gw of pc1 is 10.1
  default gw of r1 is 12.2

  default gw of pc2 is 11.1
  default gw of r4 is 16.1

both r2 & r3 will need static routes telling them how to get to networks 10 and 11:

on r2:

  192.168.10.0/24 via 192.168.12.1
  192.168.11.0/24 via 192.168.13.2

on r3:

  192.168.10.0/24 via 192.168.13.1
  192.168.11.0/24 via 192.168.16.2

the output of:

  ip route get 192.168.10.2
  ip route get 192.168.11.2

on r2 and r3 should clue you in to where the packets are going.

HTH...

-j



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux