Date: Mon, 31 Jan 2000 21:00:06 -0500 (EST) From: Brian Dean <brdean@unx.sas.com> To: jmutter@ds.net Cc: William Woods <freebsd@cybcon.com>, freebsd-questions@FreeBSD.ORG Subject: Re: DHCP routing..... Message-ID: <200002010200.VAA27171@dean.pc.sas.com> In-Reply-To: <389524A4.D8815C85@ds.net> from "James A. Mutter" at "Jan 31, 2000 00:59:00 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Or ... you could set up your dhcpd.conf file to recognize each system by it's hardware address and set up a separate entry for each machine so that it always gets a specific IP address. For example: host nebula { hardware ethernet 00:50:e4:ba:1c:22; fixed-address nebula; option routers 192.168.220.1; option domain-name-servers 207.69.188.185, 207.69.188.186, 207.69.188.187; option domain-name "foo.com"; default-lease-time 604800; max-lease-time 2592000; } In this case "nebula" is an entry in the /etc/hosts file. You can then install that host file on your 4 hosts. Since it's only 4 hosts, it's not too much to keep track of and maintain. Not as elegant as the BIND method, but it works for small installations. -Brian James A. Mutter wrote: > The latest and greatest versions of BIND (Still BETA if I recall) have > support for dynamic DNS - this may or may not be a solution that you're > willing to work with. If that's not an acceptable solution you can just > hardcode the host/network info at each machine - after all it is only 4. > > > William Woods wrote: > > > > I have 4 systems, all get their ip's from a dhcp server. They all have > > "hostnames". is it possible to telnet/ping by hostname when useing dhcp? if so, > > how? I cant use a hosts table because the ip changes.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002010200.VAA27171>