Skip to contentSkip to conversation

Forced route

LARTC nitin panjwani 2 participants 2 messages Nov 22, 2002

lore
Share & tools
lore
#0 lore raw

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?

Any help on this will be highly appreciable.

Thanks,
Nitin

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 10 lines · nitin panjwani

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

Quoted 4 lines

Any help on this will be highly appreciable.

Thanks,
Nitin

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/