[prev in list] [next in list] [prev in thread] [next in thread]
List: dhcp-client
Subject: Send Hostname options
From: "Dagmar d'Surreal" <dagmar () dsurreal ! org>
Date: 2000-01-20 23:38:53
[Download RAW message or body]
*** From dhcp-client -- To unsubscribe, see the end of this message. ***
Okay, for those of you who have yet to pick up on the not-so-subtle hints
about reading the man page for the example, here it is. If you're using a
cablemodem provider that does DHCP, take the first part of your
fully-qualified hostname that they give you (also known as your subscriber
ID) and replace "your_hostname_here" with just that part.
If your fully-qualified hostname is ci12345-a.lame1.oh.home.com, then your
"your_hostname_here" should be "ci12345-a".
Below is the dinky part that when placed in /etc/dhclient.conf should do
it all for you. (And I mean literally *everything*)
--------8<--------
interface "eth0" {
send host-name "your_hostname_here";
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name;
require subnet-mask;
}
-------->8--------
And no, the require statement is not exactly needed, it's just there to
set an example. Don't muck with it.
-----------------------------------------------------------------------
To unsubscribe from this list, visit http://www.isc.org/dhcp-lists.html
or send mail to dhcp-client-request@isc.org with the subject line of
'unsubscribe'.
-----------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic