[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 06 Jul 2012 21:16:38 -0700
From: Ben Greear <greearb@...delatech.com>
To: Lin Ming <mlin@...pku.edu.cn>
CC: netdev@...r.kernel.org, Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: Question: eth0 and wlan0 traffic load
On 07/06/2012 08:28 PM, Lin Ming wrote:
> On Host1
> eth0: 192.168.1.102
> wlan0: 192.168.1.103
>
> On Host2, scp a file to Host1 via wlan0
> # scp tmp.file 192.168.1.103:/tmp
>
> But ifstat shows all traffic goes to eth0.
> Why does kernel choose eth0 although I use wlan0's address?
> Is this an intended behavior?
You have to be clever with routing rules, arp-filtering, and such
to ensure that works as you want.
Thanks,
Ben
>
> eth0 wlan0
> KB/s in KB/s out KB/s in KB/s out
> 11989.26 286.05 0.00 0.00
> 11998.90 286.00 0.00 0.00
> 6910.18 170.63 0.00 0.00
> 10260.05 246.82 0.00 0.00
> 8295.90 202.12 0.00 0.00
> 11979.90 282.41 0.00 0.00
> 11618.39 274.71 0.00 0.00
> 7004.78 170.79 0.00 0.00
> 12003.33 286.21 0.00 0.00
> 7775.28 190.59 0.00 0.00
> 11980.18 280.76 0.00 0.00
> 11998.32 286.29 0.00 0.00
> 11995.61 286.08 0.00 0.00
> 11996.57 285.88 0.00 0.00
> 6938.20 162.98 0.00 0.00
> 6736.30 169.22 0.04 0.00
> 12000.92 284.83 0.00 0.00
> 12005.41 286.13 0.00 0.00
> 12000.58 286.27 0.00 0.00
> 11963.65 284.13 0.00 0.00
> 11935.24 281.32 0.00 0.00
> 12002.83 286.27 0.00 0.00
> 11997.59 285.68 0.00 0.00
>
> Thanks,
> Lin Ming
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Ben Greear <greearb@...delatech.com>
Candela Technologies Inc http://www.candelatech.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists