Hello Olivier,

can you share your networks.conf pf.conf and do an "ip a" and paste the result.

If the dhcp server is not able to assign the requested address then it mean that it's a configuration issue.

Regards

Fabrice


Le 19-04-10 à 03 h 27, Olivier Gelin via PacketFence-users a écrit :
Hello,

I restarted the pfdhcp server just for fun. The service does not start anymore.

pfdhcp: 2019/04/10 09:17:17 cannot assign requested address

How to check the assignment address of pfdhcp. The goal is to understand why pfhdcp does not see itself. The PF we are talking about here is a test PF. I can do all the desired operations to understand why and how.

/etc/sysconfig/network-scripts/ifcfg-enp10s0 is correct



Le 9 avr. 2019 à 15:50, Olivier Gelin via PacketFence-users <[email protected] <mailto:[email protected]>> a écrit :

Hello Nicolas,


Le 9 avr. 2019 à 13:29, Nicolas Quiniou-Briand <[email protected] <mailto:[email protected]>> a écrit :

Hello Olivier,

On 2019-04-08 1:36 p.m., Olivier Gelin wrote:
I applied the maintenance script and restarted right after.

1. Did you mean that pfdhcp broke after applying maintenance script ? Do you have done some customization in pfdhcp binary ?

pfdhcp did not work before applying the maintenance scripts. It worked again when I applied the script and updated the binaries.


2. Each time pfdhcp complains about it "cannot assign requested address", I see these messages:
```
Apr  8 12:33:40 sl006282 pfdhcp[5695]: t=2019-04-08T12:33:40+0200 lvl=info msg="Setting log level to INFO" Apr  8 12:33:40 sl006282 pfdhcp[5695]: t=2019-04-08T12:33:40+0200 lvl=info msg="enp10s0 got the VIP" pid=5695
[..]
Apr  8 12:33:41 sl006282 pfdhcp[5708]: t=2019-04-08T12:33:41+0200 lvl=info msg="Setting log level to INFO" Apr  8 12:33:41 sl006282 pfdhcp[5708]: t=2019-04-08T12:33:41+0200 lvl=info msg="enp10s0 got the VIP" pid=5708
[..]
Apr  8 12:33:41 sl006282 pfdhcp[5717]: t=2019-04-08T12:33:41+0200 lvl=info msg="Setting log level to INFO" Apr  8 12:33:41 sl006282 pfdhcp[5717]: t=2019-04-08T12:33:41+0200 lvl=info msg="enp10s0 got the VIP" pid=5717
```
Your network interface which get VIP doesn't seem stable. Are you in a cluster ?

No cluster. The link between my PF and the network element following a good quality Ethernet cable. It was working properly before restarting pf.


The pfdhcp service has restarted, however the prefixed network is no longer the same. the network took into consideration was the one introduced in "Registration IP Address CIDR format"

Could you give more details like:
- expected results
- actual results

?

Distribution of DHCP on the "Inline" network. No address is given to the devices present on the range defined in the enp10s0 interface. The current status is that no device has got IP addresses.


--
Nicolas Quiniou-Briand
[email protected] <mailto:[email protected]>  ::  +1.514.447.4918 *140  :: https://inverse.ca Inverse inc. :: Leaders behind SOGo (https://sogo.nu), PacketFence (https://packetfence.org) and Fingerbank (http://fingerbank.org)



_______________________________________________
PacketFence-users mailing list
[email protected] <mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users



_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to