Skip to contentSkip to conversation

send/receive data via eth0/1 external loop ?

DISCUSSION Roland Kletzing 1 participant 1 message Nov 12, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

great, thanks!

-----Ursprüngliche Nachricht-----
Von: "Julian Anastasov" <[email protected]>
Gesendet: 12.11.2011 19:31:13
An: "Roland Kletzing" <[email protected]>
Betreff: Re: send/receive data via eth0/1 external loop ?

Quoted 29 lines

Hello,

Quoted 16 lines · Roland Kletzing

Hello,
im searching for a while now, but i did not find a solution, so forgive when im (as a user) asking for expert help here.

I want to do some network stress/burn-in and quality/reliability testing, i.e. i want to send/receive large amounts of data trough the systems network interfaces without the need of hogging the net or other systems.

so, that test should run "loopback", i.e. connecting eth0+1 via crossover cable or via locally attached switch. I don`t want to use a second system for that.

testing at ip/tcp level would be favourable , but raw eth level would be also fine.

But how ?
What appears simple on a first view, seems to be difficult.... :(

Quoted 7 lines

All i came across is this report:
http://www.zyztematik.com/?p=10
and this description of a patch:
http://www.ssi.bg/~ja/send-to-self.txt

Does somebody know a proper way of achieving this without patching the kernel ?

Quoted 8 lines

You can use accept_local flag and rule with pref 0:

http://marc.info/?l=linux-netdev&m=125983955627148&w=2

Regards

--
Julian Anastasov <[email protected]>

___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192