No.Quote:> is it possible for dhcpd to assign a hostname for an ip address without
> using a mac address.
--
BOFH excuse #178:
short leg on process table
> No.
> DHCP cannot use anything but MAC address to distinguish hosts.
> --
> BOFH excuse #178:
> short leg on process table
Hi!,
A DHCP server can hand out IP addresses to clients from a DHCP pool if it isQuote:> is it possible for dhcpd to assign a hostname for an ip address without
> using a mac address.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+
So if a machine had a host name of node1a would the entry in the dhcpd.conf;
host node1a {
fixed-address 192.168.1.222;
assign node1a the IP of 192.168.1.222.Quote:}
???/
Thnx
+____________________________+____________________________________________+Quote:> Hi!,
> > is it possible for dhcpd to assign a hostname for an ip address without
> > using a mac address.
> A DHCP server can hand out IP addresses to clients from a DHCP pool if it
is
> configured in such a manner. It can also use a combination of the MAC
address
> or "hostname" information to assign an IP address as well. However,
> traditionally, you either have two options, assign an IP address based on
MAC
> address or from a floating pool of IP numbers.
> See ya
> Dean Thompson
> --
--
james.knott.
host THEHOSTNAME {
fixed-address a.b.c.d;
}
And then the clients would get addresses something like this:
dhcpcd -h `hostname`
I do something to handle my VMware machines, which frequently go
through total configuration changes while keeping the same hostname.
--
"I woke up this morning and realized what the game needed: pirates,
pimps, and gay furries." - Rich "Lowtax" Kyanka
Thanks
> > > is it possible for dhcpd to assign a hostname for an ip address
> > > without using a mac address.
> > > thnx in advance
> > A host name has nothing to do with the MAC address. The DNS server
> > could be beyond a router, so it wouldn't know anything about MACs. An
> > no, you cannot have an IP address without a MAC.
> I think he means "Is it possible to assign a particular IP address to
> a computer without relying on a particular MAC address?" Which you
> can do. In dhcpd.conf, you'd do something like:
> host THEHOSTNAME {
> fixed-address a.b.c.d;
> }
> And then the clients would get addresses something like this:
> dhcpcd -h `hostname`
> I do something to handle my VMware machines, which frequently go
> through total configuration changes while keeping the same hostname.
> --
> "I woke up this morning and realized what the game needed: pirates,
> pimps, and gay furries." - Rich "Lowtax" Kyanka
1. Command for assigning IPv6 address and MAC address on the interface
Hello,
iceman a crit :
man ifconfig
man 8 ip
Please can you elaborate ? How do you see it does not work ?
Yes, it works for me. You can also assign an IPv6 address with the 'ip'
command from the iproute/iproute2 package :
ip -6 address add 2001:0db8:0:f101::1/64 dev eth0
Note that the 2001:0db8::/32 range is to be used for documentation
purpose only. If you do not have a global prefix you can create and use
a prefix in the unique local address range (ULA, cf. RFC 4193). A
generator is available at <http://www.kame.net/~suz/gen-ula.html>.
3. dhcp-server: assign fixed address to clients within MAC address range
4. Hot-Swap capabilities under Solaris (all versions)
5. assign fixed address to clients with MAC address range
7. Assigning IP Range to Wildcard MAC-Adresses with ISC dhcpd
9. assigning multiple IP address to one interface via dhcpd
10. dhcpd: Assigning address to dual boot machine
11. DHCPD does not assign fixed IP addresses
12. dhcpd static address w/o MAC.