Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] root on nfs and multiple ip addresses
Date: Fri, 19 Mar 2021 11:56:16
Message-Id: 01563542-187a-9655-192d-9d62f59586f7@iinet.net.au
In Reply to: Re: [gentoo-user] root on nfs and multiple ip addresses by Gerrit Kuehn
1 On 19/3/21 7:18 pm, Gerrit Kuehn wrote:
2 > On Wed, 17 Mar 2021 15:59:01 +0800
3 > William Kenworthy <billk@×××××××××.au> wrote:
4 >
5 >
6 >> I have been moving away from fixed IP's using scripts to
7 >> update via dynamic DNS (which is why two IP numbers per MAC are
8 >> problematic).
9 > Joost was probably not suggesting the use of static IPs here, he was
10 > suggesting to fix a certain MAC to a certain IP employing dhcp (or I
11 > didn't understand properly what you both are talking about here ;-).
12 >
13 >> Interestingly, dhcp issues the same IP addresses consistently to both
14 >> the boot process and OS.  While stopping the OS requesting an address
15 >> is easy enough ... the question is why is that necessary.  Google
16 >> shows a number of recommendations and howtos saying to do just that
17 >> but it seems a "kludge".
18 > Did you make sure that the two IPs are issued to the same MAC? I don't
19 > have much experience with the ISC server, but I'd think this should not
20 > happen.
21 > Just a wild guess: does the client update its time (by running
22 > ntpclient or similar) during boot so it might think different about the
23 > age of its dhcp lease than the server?
24 >
25 >
26 > cu
27 > Gerrit
28 >
29 Yes, its two IP's to the same MAC address.  Its a raspberry pi 3B using
30 swclock so time may be an issue though I dont see how, but its still a
31 different IP for each stage, but the logs are showing the same MAC
32 address.  Google shows its a known problem and not just me - but its a
33 reason why and then a better fix than stopping the OS from starting its
34 interface that I am looking for.  Yes I understand what Joost is getting
35 at and I do want to test it but I have a delay:
36
37 Unfortunately an ill advised "rm -rf" in my storage system has left me
38 restoring 7TB of data, so it will be a couple of days more before I have
39 time again - thank-you borgbackup - you are a life saver!!!!
40
41 BillK

Replies

Subject Author
Re: [gentoo-user] root on nfs and multiple ip addresses Grant Taylor <gtaylor@×××××××××××××××××××××.net>