Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wireless && bridge (with wired) = no wireless
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lyhana8
n00b
n00b


Joined: 28 Feb 2007
Posts: 31
Location: France

PostPosted: Sun Jun 10, 2007 11:01 am    Post subject: wireless && bridge (with wired) = no wireless Reply with quote

Hi,
I try to use my wireless card (eth1) simultaneously with a bridge (br0) bridging my wired card (eth0) and a virtual card (vbox0) for virtualbox.
1) I can use my bridge alone and ping is ok.
2) I can use my wireless alone and ping is ok.
3) But when i try to use both i can't
  3.1) no errors
  3.2) i can't ping with the wireless, (host unreachable)
  3.3) i can with the wired card

Someone know what's the problem ?

Quote:

12 brctl_br0=( "setfd 0" "sethello 0" "stp off")

15 ## #bridge_br0="eth0 eth1 vbox0"
16 bridge_br0="eth0 vbox0"

19 config_eth0=( "null" )
20 config_eth1=( "null" )

24 # VIRTUAL CARD 4 VIRTUALBOX
25 tuntap_vbox0="tap"

27 config_vbox0=( "null")

29 tunctl_vbox0="-u lyhana8"

34 config_br0=( "192.168.0.9 netmask 255.255.255.0" )
35 routes_br0=( "default via 192.168.0.254" )

38 modules_eth0=( "!ifplug" )
39 ## #modules_eth1=( "!ifplug" )

42 bridge_br0="eth0 vbox0"
43 depend_br0() {
44 need net.vbox0
45 need net.eth0
46 # need net.eth1
47 # #tun_chmod
48 }

51 ## ETH1 = WIRELESS (WIFI)

54 config_eth1=( "192.168.0.8/24" )
55 routes_eth1=( "default via 192.168.0.254" )

61 # WPA
62 modules=( "wpa_supplicant" )
63 wpa_supplicant_eth1="-Dwext"
64 wpa_timeout_eth1=30

_________________
" Share aware "
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Sun Jun 10, 2007 5:15 pm    Post subject: Reply with quote

My guess would be that the routing table is messed up. Both br0 and eth1 are on 192.168.0/24, and both interfaces have the same default route. How does the computer know whether to send packets out on br0 or eth1?
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum