On Wed, September 16, 2015 19:17, Wayne Sallee wrote:
> -------- Original Message --------
> *Subject: *Re: [blfs-support] Can't get Wireless to work.
> *From: *Wayne Sallee <[email protected]>
> *To: *[email protected]
> *Date: *09/15/2015 06:39 PM
>
>
> What's the best way to request a preferred local ip address with option to
> use other ip address?
>
> I'm connecting to the laptop via ssh, and so having the same or close to
> the same local ip address would make it easier.
>
> The laptop will be used on different wireless networks where it will be a
> first come first serve, for available ip
> addresses.

If you are using dhclient, then this may possibly help you by adding this
to dhclient.conf:

send dhcp-requested-address 192.168.0.111;

You may also want to send a hostname:

send host-name "enterhostname";

DHCP servers for each wireless network may not give you that ip address,
especially if not using the same subnet you expect.

If you are administrator of the wireless networks, then you can simply
setup the dhcp server to give a static ip based on hostname or mac
address. If you find yourself using either wireless or ethernet, then
hostname could possibly be what you want in that case.

If using dhcpcd dhcp client then you can use the -r option:

-r 192.168.0.111

I may have missed some specifics, but there is quite a bit you can
configure the dhcp client to request and inform.

Sincerely,

William Harrington
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to