How to force a connection to go out of machine?

waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Thu May 16 20:24:22 UTC 2013


On Thu, May 16, 2013 at 02:14:53PM -0400, William Park wrote

> I'm getting 2MB/s wireless throughput on N750 dual-band router.  So,
> something is wrong somewhere.  In order to test more throughly, I need
> to force a connection to actually go out of the machine.  How do I do
> that?

  Do you want to force it to go via the wired or the wireless

> Say, I have 2 interfaces connected to a router:
>     - wlan0 = 192.168.1.3 -- wireless
>     - eth0 = 192.168.1.100  -- long cable
> Normally, the machine simply route the connection internally.  But,
> I need it to go to the router on "wlan0" and then back to me on
> "eth0", and vice versa.

  You would need to, at least temporarily, add a static route.  What
output do you get when you execute the 2 commands...

ifconfig
route -n

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
I don't run "desktop environments"; I run useful applications
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list