Date: Tue, 15 Mar 2016 17:52:35 +0000 From: Arthur Chance <freebsd@qeng-ho.org> To: Guy Harrison <gfh@swampdog.co.uk>, freebsd-questions@freebsd.org Subject: Re: dhcpd, iscsi and a raspberry pi Message-ID: <56E84BE3.7010009@qeng-ho.org> In-Reply-To: <201603151632.14124.gfh@swampdog.co.uk> References: <201603151632.14124.gfh@swampdog.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15/03/2016 16:32, Guy Harrison wrote: > > HI Folks, > > I just wanted to check I'm getting correct behaviour 'cos I'm no expert on > these things! > > I've built an iscsi enabled kernel for the raspberry pi (aka debian jessie) You're asking about Debian, a Linux distro, on a FreeBSD mailing list. Not quite as bad as asking about Windows on a Mac OS list, but you'd be much better off find a Debian mailing list to ask on. Try looking here https://www.debian.org/MailingLists/ > and the initrd is obtaining a first IP address then when the kernel proper > boots a second IP address is obtained. Both are bound to eth0. > > [admin@sdvmf64dns ~/etc]$ dhcpd --version > isc-dhcpd-V3.1.2p1 > > [admin@sdvmf64dns ~]$ uname -a > FreeBSD sdvmf64dns.swampdog 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #1: Thu > Oct 27 14:26:36 BST 2011 > root@sdvmf64dns.swampdog:/usr/obj/usr/src/sys/GENERIC amd64 > > The problem is the second IP address is "known" in that 'nslookup' knows the > pi name and so forth.. > > lease 192.168.1.45 { > starts 4 2016/03/10 14:55:05; > ends 4 2016/03/10 15:05:05; > cltt 4 2016/03/10 14:55:05; > binding state active; > next binding state free; > hardware ethernet b8:27:eb:0f:32:64; > uid "\001\270'\353\0172d"; > set ddns-rev-name = "45.1.168.192.in-addr.arpa"; > set ddns-txt = "318788caec8944734a9e0c2fe418c9db6f"; > set ddns-fwd-name = "pi05.swampdog"; > client-hostname "pi05"; > } > > ..whereas the first IP.. > > lease 192.168.1.53 { > starts 3 2016/03/09 14:09:27; > ends 3 2016/03/09 14:19:27; > tstp 3 2016/03/09 14:19:27; > cltt 3 2016/03/09 14:09:27; > binding state free; > hardware ethernet b8:27:eb:0f:32:64; > } > > ..only appears the once, on boot. This is the IP address by which the iscsi > target knows the pi and it expires! > > I was expecting the first *.53 IP to be inherited by the kernel rather than > it go obtain the second *.45 IP address. Is correct? > > If so, what do I need to be doing to get that to happen? > > I've googled this to death and not encountered this precise problem. > > TIA > Guy > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Moore's Law of Mad Science: Every eighteen months, the minimum IQ necessary to destroy the world drops by one point.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56E84BE3.7010009>