View previous topic :: View next topic |
Author |
Message |
Ph0eniX Guru
Joined: 24 Sep 2004 Posts: 502 Location: New York, U.S.
|
Posted: Mon Sep 12, 2005 3:46 pm Post subject: Wi-Fi weirdness |
|
|
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 |
|
|
nacase n00b
Joined: 10 Sep 2005 Posts: 12 Location: Madison, WI
|
Posted: Mon Sep 12, 2005 4:30 pm Post subject: |
|
|
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 |
|
|
Ph0eniX Guru
Joined: 24 Sep 2004 Posts: 502 Location: New York, U.S.
|
Posted: Mon Sep 12, 2005 4:56 pm Post subject: Re: Wi-Fi weirdness |
|
|
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 |
|
|
|