LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-10-2015, 10:50 AM   #1
roanes
LQ Newbie
 
Registered: Dec 2015
Posts: 2

Rep: Reputation: Disabled
Question Can't use WLAN0 in Linux Bridge - Is there some way to do it?


Hi all,
I'm running in a server Ubuntu 14.04 two VM. I'm trying to connect from these VMs the internet without success.
I think the reason is below: in my Linux Bridge I don't have access to "external world", only the two VMs are connected.

pwilson@baiacu:~$ brctl show
bridge name bridge id STP enabled interfaces
br100 8000.fe163e535c61 no vnet0
vnet1
virbr0 8000.000000000000 yes



Unfortunatly, I donīt have at moment eth0 available and I'm using the wlan0. I'm trying to add this interface to
the Bridge without success as below:

pwilson@baiacu:~$ sudo brctl addif br100 wlan0
can't add wlan0 to bridge br100: Operation not supported

Why this is ocurring? Is there any way to connect a wlan0 interface to the Bridge?

Thanks a lot.
BR
R

The ifconfig just in case.....

pwilson@baiacu:~$ ifconfig
br100 Link encap:Ethernet HWaddr fe:16:3e:53:5c:61
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::e41b:5fff:feaa:7692/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:213 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14983 (14.9 KB) TX bytes:7351 (7.3 KB)

eth0 Link encap:Ethernet HWaddr 68:b5:99:00:93:ab
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:19 Memory:f0500000-f0520000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2529814 errors:0 dropped:0 overruns:0 frame:0
TX packets:2529814 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:728123215 (728.1 MB) TX bytes:728123215 (728.1 MB)

virbr0 Link encap:Ethernet HWaddr de:7b:1d:ad:0c:a4
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

vnet0 Link encap:Ethernet HWaddr fe:16:3e:a7:16:59
inet6 addr: fe80::fc16:3eff:fea7:1659/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:184 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:14352 (14.3 KB) TX bytes:8028 (8.0 KB)

vnet1 Link encap:Ethernet HWaddr fe:16:3e:53:5c:61
inet6 addr: fe80::fc16:3eff:fe53:5c61/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:3613 (3.6 KB) TX bytes:4631 (4.6 KB)

wlan0 Link encap:Ethernet HWaddr a0:f3:c1:2d:fe:71
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a2f3:c1ff:fe2d:fe71/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55306 errors:0 dropped:0 overruns:0 frame:0
TX packets:8509 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9830120 (9.8 MB) TX bytes:1901807 (1.9 MB)
 
Old 12-10-2015, 02:38 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,860

Rep: Reputation: 162Reputation: 162
Wireless and wired interface can't have bridge directly because frame format is different. You have to setup some rule to convert them using etable tool.
 
Old 12-11-2015, 06:22 AM   #3
roanes
LQ Newbie
 
Registered: Dec 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks nini09!
I'll try to do this. In fact the eth0 I can attach but wlan0. Maybe this procedure that you mentioned can help me.
BR
R
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
L2 Bridge (eth0, wlan0): Why won't it work? displace Linux - Networking 6 12-25-2013 07:36 AM
KVM bridge to wlan0 Louis_Carole Linux - Networking 4 11-09-2012 05:13 PM
? how can i bridge wlan0 to eth0, Master_CAPS Linux - Newbie 1 03-24-2012 08:03 PM
xen om network bridge with wlan0 scheidel21 Linux - Wireless Networking 0 08-27-2007 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration