Re: loopy net test

Trev Peterson <[email protected]> Fri, 27 May 2011 00:55:46 -0500
Newsgroups gmane.org.user-groups.luni.tech
Organization Advanced Reality
Message-ID <1306475746.2851.32.camel@aegir>
I don't think it's that easy.  I think all traffic for local
destinations gets sent via the loopback interfaces (no routing needed).
You MAY be able to change this using iptables but I'm not an expert at
raw iptables so can't say for sure.  This seems to indicate a patch may
be needed to change this behavior:

http://borg.uu3.net/linux-mpath/#loop

Good luck and let me know what solution you find.  Would be good for
simplifying stress testing networks.

On Thu, 2011-05-26 at 20:36 -0500, Carl Karsten wrote:
> I am trying to test firewire cards and cables and stacks.
> 
> I have 2 cards,
> modprobe firewire-net
> ifconfig firewire0 10.0.0.10
> ifconfig firewire1 10.0.0.11
> 
> hook a cable from 0 to 1
> route add magic
> ping 10.0.0.11
> 
> I need the magic that will force the traffic to go out over 10.0.0.10,
> not straight to .11 which the os has access to.
> 
> I want to do this all on one box.  I have done similar things on 2,
> but for this I kinda want to use 1.  mainly because I want to be able
> to run a script that doesn't have to run stuff on a 2nd box.
> 
> -- 
> Carl K

-- 
Trev Peterson
Advanced Reality
Email: [email protected]
Phone: +1 847 406 9018

-- 
Linux Users Of Northern Illinois (Chicago) - Technical Discussion 
http://luni.org/mailman/listinfo/luni