Skip to contentSkip to conversation

redirecting whole subnet

LARTC Andreas Gietl 2 participants 2 messages Sep 30, 2001

lore
Share & tools
lore
#0 lore raw

Hi folks,

i'm looking for a method to route a whole static subnet to another static subnet elsewhere on the internet.

I think this must work like this:

Packet going to original destination, packet destination is overridden with new destination-ip, packet source is overridden with the original destination.

Otherwise the packets will be filtered by the spoofing-protection of the routers.

After the packet successfully arrived at the new distination the packet should be transmitted to the original destination ip, where it is redirected to the original adress.

Could this be done with netfilter? Or is there even a solution more simple?

thanx

andreas

Signature · 10 lines
e-admin internet gmbh
Andreas Gietl
Roter-Brach-Weg 124a
tel +49 941 3810884
fax +49 941 3810891
mobil +49 171 6070008

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#1 lore raw
Quoted 10 lines · Andreas Gietl

Hi folks,

i'm looking for a method to route a whole static subnet to another static subnet elsewhere on the internet.

I think this must work like this:

Packet going to original destination, packet destination is overridden with new destination-ip, packet source is overridden with the original destination.

Quoted 8 lines

Otherwise the packets will be filtered by the spoofing-protection of the routers.

After the packet successfully arrived at the new distination the packet should be transmitted to the original destination ip, where it is redirected to the original adress.

Could this be done with netfilter? Or is there even a solution more simple?

Woudn't tunneling be a better idea?

Ethy H. Brito
InterNexo Ltda.
S.J.Campos - SP - Brazil
+ 55 12 3941-6860

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