Bruce32903 has asked for the wisdom of the Perl Monks concerning the following question:
For a sample equipment configuration assume I have a 8-port switch to test. Assume I have 2 boxes with a quad NIC card in each. Assume I use 8 patch cables to connect the 8 switch ports to the 8 ports on the two quad NIC cards. Finally, both boxes use code based upon the sample in the above link to run traffic in and out of each of the switch’s 8 ports.
Here is the problem. Linux seems to be routing all my “parallel path” traffic to the default “eth” port. Thus, I am only using one port even though my code has an assortment of IP addresses matching what I assigned to the various cards. Is there some way (ideally within Perl) that I can overcome this problem? I have made many attempts with “route add”, “route del”, “ip route add x.x.x.x/y via z.z.z.z” and others. I just want my Perl code to send and receive transmissions over the eth ports I specify, not the eth ports that provide the best route.
I am running Ubuntu 6.10 Desktop on the boxes.
Thank you,
Bruce
20070208 Janitored by Corion: Localized link
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can I Disable Router Optimization?
by gt8073a (Hermit) on Feb 03, 2007 at 18:23 UTC | |
|
Re: Can I Disable Router Optimization?
by BrowserUk (Patriarch) on Feb 03, 2007 at 16:17 UTC | |
|
Re: Can I Disable Router Optimization?
by polettix (Vicar) on Feb 04, 2007 at 13:51 UTC | |
|
Re: Can I Disable Router Optimization?
by badaiaqrandista (Pilgrim) on Feb 04, 2007 at 13:47 UTC | |
|
Re: Can I Disable Router Optimization?
by ambrus (Abbot) on Feb 04, 2007 at 10:13 UTC | |
|
Re: Can I Disable Router Optimization?
by wazoox (Prior) on Feb 05, 2007 at 21:34 UTC |