On 07/21/2010 09:49 AM, Bruce Dubbs wrote:
> Dan McGhee wrote:
>    
>> On 07/19/2010 03:44 PM, Bruce Dubbs wrote:
>>      
>>> This is all discussed at 7.13. Configuring the network Script.
>>>
>>> A dhcp server does not interfere with a static ip address unless you
>>> assign a static ip address *and* the dhcp server assigns the same
>>> address.  Usually the dhcp server will have a range of addresses it
>>> manages, say 192.168.1.10 - say 192.168.1.200.  If the netmask os
>>> 255.255.255.0 (the default for 192.168.x.x), just make sure you *do* use
>>> an address in the block (192.168.1.x in this case) and *do not* use for
>>> x the network address 0, broadcast address 255, router address 1, or
>>> other statically assigned addresses.
>>>
>>>        
>>      
> The numbers you use are critical.  The form will get you up, but you
> have to use addresses that are right for your ISP or home network.
>    
I dug out my router book and learned that without changing anything the 
first address it assigns to computers on my network is 192.168.1.100 in 
the range 100-253. I can get the other 98, it reserves 1, by using the 
on-line utility. So here is what is in my "ifconfig-wlan0/ipv4" file:

ONBOOT=yes
SERVICE=ipv4-static
IP=192.168.1.100
GATEWAY=192.168.1.1
PREFIX=28
BROADCAST=192.168.1.255

I added 192.168.1.1 to /etc/resolv.conf

I've been reading and just made these changes. Haven't tested them yet.

My biggest conceptual error was that I thought all the static stuff got 
used only with an ISP and their stuff is all on the router. I've only a 
fuzzy understanding of terms like GATEWAY, NETMASK, BROADCAST. These are 
the things, and the ranges of numbers they use, I need to read up on. 
For example, I think my setup will work now, but if anything stops me it 
will be BROADCAST. At least that's what my guts are telling me.

Thanks, Bruce.

Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to