On Tue, 1 Mar 2005 15:36:59 -0600, Cameron, Thomas
> So if we do that, then can we do dhcp reservations (i.e. the same guest will
> always get the same address)? How does a hardware address get assigned to
> the virtual NIC in the guest?
There's a MAC prefix system wide, and a MACID in the directory entry
where you define the virtual NIC. You use a table in the dhcpd to
associate the mac address with the host name. Mine goes like this:
subnet 192.168.32.0 netmask 255.255.240.0 {
range 192.168.36.200 192.168.36.250;
option routers 192.168.36.254;
host linux01 { hardware ethernet 02:00:00:00:20:01; fixed-address linux01; }
host linux02 { hardware ethernet 02:00:00:00:20:02; fixed-address linux02; }
host linux03 { hardware ethernet 02:00:00:00:20:03; fixed-address linux03; }
...
}
And my DNS server maps the linux01 to the proper IP address.
--
Rob van der Heij rvdheij @ gmail.com
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390