Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wi-Fi weirdness
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
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Mon Sep 12, 2005 3:46 pm    Post subject: Wi-Fi weirdness Reply with quote

My Wi-Fi which is on the eth1 device seems to be working as long as eth0 is up. I can ping eth1 from other nodes on the LAN. As soon as eth0 is down or disconnected, eth1 stops responding. Can anyone help me understand what's going on?

Thanks!
Back to top
View user's profile Send private message
nacase
n00b
n00b


Joined: 10 Sep 2005
Posts: 12
Location: Madison, WI

PostPosted: Mon Sep 12, 2005 4:30 pm    Post subject: Reply with quote

What's your routing table (/sbin/route) output look like when this happens? Maybe your default gateway was only setup for eth0, and that entry gets deleted when eth0 is down.

Try seeing if 'route add default gw x.x.x.x eth1' fixes your problem (replacing x.x.x.x with the real gateway, of course).
Back to top
View user's profile Send private message
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Mon Sep 12, 2005 4:56 pm    Post subject: Re: Wi-Fi weirdness Reply with quote

Ph0eniX wrote:
My Wi-Fi which is on the eth1 device seems to be working as long as eth0 is up. I can ping eth1 from other nodes on the LAN. As soon as eth0 is down or disconnected, eth1 stops responding. Can anyone help me understand what's going on?

Thanks!


What you said makes sense but nodes that are on the same subnet as the wi-fi address should still be able to get to eth1 even if the gateway was not correct - they can't once eth0 is down. It almost looks as if eth1 is not really working with the access point (infrastructure mode) and eth0 forwards packets to it when it's up - though I don't have any type of routing enabled on the system and other nodes on the LAN wouldn't know to use the eth0 address as a router - unless the eth1 address is somehow advertised via broadcasts on eth0.

Does that make any sense?

Here's the routing table:

Code:

Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.199.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
192.168.199.0   0.0.0.0         255.255.255.0   U         0 0          0 eth1
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         192.168.199.5   0.0.0.0         UG        0 0          0 eth0



Thanks again!
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