Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

DHCP sometimes handsout expired leases. #582

Open
svallebro opened this issue Aug 22, 2021 · 0 comments
Open

DHCP sometimes handsout expired leases. #582

svallebro opened this issue Aug 22, 2021 · 0 comments

Comments

@svallebro
Copy link

Hi,

I´d like to start to say great software, but with software, there are sometimes issues.

I´d like to find a way around this issue.
My problem Is that sometimes my devices do not get an IP from drp.
Mainly this is when connect client pcs and mobiles to the network.
Any Ideas how to troubleshoot?

Br Simon Vallebro

Here are some snippets from the log:

Aug 22 09:54:57 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:54:57.605519 [87378:79822]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:54:57 rebar-provision dr-provision[942]: [87378:79822]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:54:57 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:54:57.607773 [87378:79823]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:54:57 rebar-provision dr-provision[942]: [87378:79823]xid 0xfbd2c7a: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:54:58 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:54:58.644916 [87379:79824]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:54:58 rebar-provision dr-provision[942]: [87379:79824]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:54:58 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:54:58.646920 [87379:79825]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:54:58 rebar-provision dr-provision[942]: [87379:79825]xid 0xfbd2c7a: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:55:00 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:00.601900 [87380:79826]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:55:00 rebar-provision dr-provision[942]: [87380:79826]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:55:00 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:00.610138 [87380:79827]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:55:00 rebar-provision dr-provision[942]: [87380:79827]xid 0xfbd2c7a: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:55:04 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:04.619140 [87381:79828]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:55:04 rebar-provision dr-provision[942]: [87381:79828]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:55:04 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:04.622147 [87381:79829]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:55:04 rebar-provision dr-provision[942]: [87381:79829]xid 0xfbd2c7a: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:55:13 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:13.184330 [87382:79830]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:55:13 rebar-provision dr-provision[942]: [87382:79830]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:55:13 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:13.195856 [87382:79831]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:55:13 rebar-provision dr-provision[942]: [87382:79831]xid 0xfbd2c7a: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:55:18 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:18.969105 [87383:79832]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:55:18 rebar-provision dr-provision[942]: [87383:79832]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:55:18 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:18.971494 [87383:79833]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:55:18 rebar-provision dr-provision[942]: [87383:79833]xid 0xb4f59adc: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:55:20 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:20.003084 [87384:79834]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:55:20 rebar-provision dr-provision[942]: [87384:79834]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:55:20 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:20.005281 [87384:79835]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:55:20 rebar-provision dr-provision[942]: [87384:79835]xid 0xb4f59adc: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:55:22 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:22.201623 [87385:79836]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:55:22 rebar-provision dr-provision[942]: [87385:79836]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:55:22 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:22.204485 [87385:79837]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:55:22 rebar-provision dr-provision[942]: [87385:79837]xid 0xb4f59adc: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:55:26 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:26.316883 [87386:79838]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:55:26 rebar-provision dr-provision[942]: [87386:79838]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:55:26 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:26.320739 [87386:79839]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:55:26 rebar-provision dr-provision[942]: [87386:79839]xid 0xb4f59adc: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:55:35 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:35.101556 [87387:79840]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:55:35 rebar-provision dr-provision[942]: [87387:79840]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:55:35 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:55:35.104492 [87387:79841]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:55:35 rebar-provision dr-provision[942]: [87387:79841]xid 0xb4f59adc: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:56:53 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:56:53.399234 [87388:79842]cacher:frontend [ info]: /home/travis/gopath/src/github.co

Then the client gives up.

Aug 22 09:58:14 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:58:14.605492 [87467:79845]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:367
Aug 22 09:58:14 rebar-provision dr-provision[942]: [87467:79845]Subnet ens18: Creating new lease for 10.30.0.85 from MAC:1e:7d:f3:8a:8a:22
Aug 22 09:58:18 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:58:18.346061 [87467:79846]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:58:18 rebar-provision dr-provision[942]: [87467:79846]xid 0xf11d770: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:58:21 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:58:21.609931 [87470:79847]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/backend/dhcpUtils.go:369
Aug 22 09:58:21 rebar-provision dr-provision[942]: [87470:79847]Subnet ens18: Handing out existing lease for 10.30.0.85 to MAC:1e:7d:f3:8a:8a:22
Aug 22 09:58:21 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:58:21.611977 [87470:79848]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:708
Aug 22 09:58:21 rebar-provision dr-provision[942]: [87470:79848]xid 0xf11d770: Discovery handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7
Aug 22 09:58:21 rebar-provision dr-provision[942]: dr-provision2021/08/22 07:58:21.795202 [87471:79849]dhcp:dhcp [ info]: /home/travis/gopath/src/github.com/rackn/provision-server/midlayer/dhcp.go:654
Aug 22 09:58:21 rebar-provision dr-provision[942]: [87471:79849]xid 0xf11d770: Request handing out: 10.30.0.85 to 1e:7d:f3:8a:8a:22 via 10.30.0.7

I'm using DRP in my home network for experimentation and it is the default DHCP server on the network.

Drp is running on address 10.30.0.7

@svallebro svallebro changed the title Dhcp sometimes handsout expired leases. DHCP sometimes handsout expired leases. Aug 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant