Another way would be to configure your DHCP server to use Dynamic DNS, since (if I remember correctly) you can put hostnames in the /etc/exports file rather than IP addresses.
On Sun, 2002-01-20 at 20:29, jose orlando t. ribeiro wrote: > > I think that the easiest way to do NFS in a network with DHCP is to > set-up the MAC address of the NFS server to receive always the same > ip-address... This way, you can use the same /etc/exports file and, > since the NFS server receive it's ip address from the DHCP server, you > don't have to worry if you set up a fixed address in the NFS server and > somebody getting that ip... > > HTH > > orlando > > Ken Thompson wrote: > > > I asked this question a couple of days ago and probably didn't make myself > > clear. > > Let's forget about firewalls and Internet connection sharing for the > > present, I just want to set up my network on DHCP. > > What I need to know is how can NFS be used with DHCP? > >>From what I *understand*, the IP address for the directory you want to export > > has to be in /etc/exports and the IP address for the directory you want > > mounted has to be in /etc/fstab. > > Given this how is it done with DHCP? > > If I make an entry in /etc/hosts I still need an IP address - right? > > Is there a <low vitamin content> HOWTO somewhere that I can look at? > > I have never set up any IP chains/tables and haven't the foggiest on how to > > go about it.. > > Network as it is now uses static IP addressing in the 192.168.x.x range and > > works fine but it would be nice to be able to just plug in my laptop or > > whatever and have it automagically become *part of the family*... > > > > > > > > ------------------------------------------------------------------------ > > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com > > > > > > ---- > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com