Re: Why would requesting a static IP from the router cause wireless flakiness?



On Sat, 22 Sep 2007, kmh wrote:-

<snip>

It could ping the router fine,
and /etc/resolv.conf had the correct nameserver (my gateway, 192.168.0.1)
in there. There's no DNS problem. It knew yahoo's IP when I had it try to
ping yahoo.com, even. But I got "Destination Unreachable".

All is fine if I let the router choose ath0's IP address for me, by setting
the card up to request an IP through DHCP. But I'm not guaranteed to
always get 192.168.0.101 this way.

Any ideas as to the culprit?

If you allow the IP address to be assigned by DHCP, a few other things
are configured at the same time. These are things like DNS servers,
default gateways, etc. If you configure the network card with a static
address, you have to specify these things yourself[0].

To do this you'll need to start YaST. I'll assume you'll be using the
GUI version of YaST, although the console version is virtually
identical.

First, select Network Devices -> Network Card.

Then, after choosing how the cards are managed, and I use the
traditional ifup method, select the correct interface and click edit.

Then, under the Address tab, click the "Static Address Setup" radio
button. You'll then be able to enter the IP address (192.168.0.101) and
net mask (255.255.255.0).

Next click on "Hostname and Name Server" button and enter the relevant
details and click OK.

Then click on the "Routeing" button and enter the default gateway
address and click OK.

Once you've done that, go back and verify the details are correct. If
they are, click Next.

The last thing to do is then to click Finish, and you should be done.


[0] It might be possible to have the router (or another system[1])
provide a fixed IP address for a specific MAC address. If so, configure
the router to do so, and leave the machine to get the network addresses
via DHCP.

[1] My method is to have another system run a DHCP server. I have
several systems that, despite being configured for DHCP, will always get
the same IP address, as long as the network cards aren't changed. My
router just forwards the requests for the wireless clients and passes
back the results.

Regards,
David Bolt

--
Member of Team Acorn checking nodes at 100 Mnodes/s: www.distributed.net
RISC OS 3.11 | SUSE 10.0 32bit | SUSE 10.1 32bit | openSUSE 10.2 32bit
RISC OS 3.6 | SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit
TOS 4.02 | SUSE 9.3 32bit | | openSUSE 10.3b2 32bit
.



Relevant Pages

  • Re: Why would requesting a static IP from the router cause wireless flakiness?
    ... All is fine if I let the router choose ath0's IP address for me, ... If you allow the IP address to be assigned by DHCP, ... select Network Devices -> Network Card. ... Then click on the "Routeing" button and enter the default gateway ...
    (alt.os.linux.suse)
  • Re: Urgent Require Please Help
    ... It will grant a lease, of one IP, and the scope options ... But i want to Add 2 IP Address on the Network Card which will optain the ... Address from THE DHCP, and i want to add also 2 Gateway, but one Gateway ...
    (microsoft.public.windows.group_policy)
  • Re: Urgent Require
    ... > But i want to Add 2 IP Address on the Network Card which will optain the ... > Address from THE DHCP, and i want to add also 2 Gateway, but one Gateway ... how can i configure the DHCP to Broad cast 2 IP-Address & ...
    (microsoft.public.windows.server.networking)
  • Re: DHCP Urgent Required
    ... Sorry!You cannot assign two IP Address to a adapter via DHCP and if you can brief a scenario where you need this two IP Address and what you are planning to achieve by having two ipaddress? ... But i want to Add 2 IP Address on the Network Card which will optain the IP Address from THE DHCP, and i want to add also 2 Gateway, but one Gateway ...
    (microsoft.public.win2000.networking)
  • Re: Still having trouble removing DNS Server from Domain
    ... are you really sure that there is a dns problem? ... have you had a nslookup "externeal_name"? ... you might have forgotten to give gateway to the client via dhcp? ...
    (microsoft.public.win2000.dns)