Re: Forced route

Linux Advanced Routing and Traffic Control

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

 



On Fri, Nov 22, 2002 at 11:11:04AM -0800, nitin panjwani wrote:

> Hi All,
> I have the following topology with four linux routers.
> 
>   A----B-----C
>   |          |
>   +..E0(D)E1.+
> 
> In this I want to send some traffic from interface E0
> of router D to interface E1 of same router via route
> ABC. How can I do this? 

In general you can't. The traffic generated on D, destined for
D never reaches the nic card. So, your statement above
"from interface E0" is irrelevant. The packets would go down
the IP stack to the loopback and come back up again.

What are A, B or C? If there is ability to do nat, you can
send packets to, eg, A and have A DNAT it to E1 and SNAT it
to A. Doing this and having the right routes on A, B and C
and of course D, you can do what you're asking.

Ramin

> Any help on this will be highly appreciable.
> 
> Thanks,
> Nitin
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux