Re: forcing boxA to use gateway to get to boxB all on same sub-net...



On Fri, 14 Jul 2006 01:33:41 -0700, en2guy wrote:


Ivan Marsh wrote:
On Thu, 13 Jul 2006 05:16:59 -0700, en2guy wrote:

I'm trying to force boxA to connect to boxB on the same subnet via a
linux box configured as a gateway (but with only one NIC), yet again
on the same sub-net. I eventually want to do some traffic shaping by
using tc and tc-tbf.

Routing on the sub-net level is performed by the arp table in whatever
device the machines are connected to (hub, router, etc). You either
need to manualy control the arp tables (sounds like a nightmare to me)
or install a proxy server on the gateway box and set the other machine
to use it as a proxy.

problem is I need to test SIP/RTP traffic which, being UDP-based won't
work on a standard proxy....hence the plan to use a pseudo-'gateway'
which should forward all traffic

What kind of testing are you trying to do that would require a box that
isn't a gateway to be a gateway? Maybe looking at what you're trying to do
will redefine the problem.

--
The USA Patriot Act is the most unpatriotic act in American history.
Feingold-Obama '08 - Because the Constitution isn't history,
It's the law.

.



Relevant Pages