Search Linux Wireless

Re: wireless network interfaces and network namespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks!
Running:
iw phy phy0 set netns 3433
indeed moved wlan0 to the network namespace I created, where process 3433 ran.
I did not see a way to specify the network namespace name for moving
wlan0 in this command (at least iw help does not show it and  I am
using iw 3.4-1 on ubuntu). I did not looked into the source code of iw
though.




On Sat, Nov 30, 2013 at 3:14 PM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Sat, 2013-11-30 at 14:12 +0200, Kevin Wilson wrote:
>> Hello,
>> I am trying to move a wireless interface to a network namespace I
>> created and I get an error:
>>
>> ip link set wlan0 netns ns1
>> RTNETLINK answers: Invalid argument
>>
>> I do it with latest iproute2 git sources,  on 3.8 kernel.
>>
>> I want to verify this: all wireless interfaces do no support
>> network namespace. Is this true ? what in fact is the reason for this ?
>
> At least mac80211-based wireless interfaces *do* support namespaces, but
> you have to change the entire wireless NIC's namespace using iw --
> having different virtual interfaces of the same NIC in different
> namespaces is not supported.
>
> johannes
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux