[8.163][BUG][FIXED] DHCP or licence not counting iP addresses

I have been trying to determine whether I have a DHCP problem or what?

My ASG is not recording any IPv6 address allocations, IPv4 isn't but it is at least assigning addresses, but not registering them.

My licence count shows no licences, though I did a restart this morning as an attempt to fix a IPv6 problem. IPv6 problem not resolved, due to at this stage a problem with the IPv6 POP, gblon02.

Ian
  • Astaro Beta Report
    
    --------------------------------
    Version: 8.163
    Type: BUG
    State: TESTED/FIXED
    Reporter: RFCat_vk+
    Contributor: 
    MantisID: 17678
    Target version: 8.164
    Fixed in version: 8.164
    --------------------------------
  • Do you see any related error messages in the dhcp logfile? Please take a look at the system and fallback log to.

    Oh, and what exactly do you mean by "My licence count shows no licences"? Does the webadmin display an error message?
  • I don't know exactly what I am looking for other than none of the network elements are assigned an IPV6 address. Occasionally an address appears in one of the reports, but never in the assigned list or licence count under 8.163.

    I do have problem with IPv6 address allocation, because unless you get a uid in the DHCP reservation list you can't create a static allocation and I am not getting address assignments to create static entries from.
    So, from then on I can't have IP address appear in the reports with their resolved or assigned static DNS entry.

    Fallback log

    2011:04:17-07:59:54 cats-kingdom [local0:err]  [6503]: CEnginesContainer::GetCacheDelta - HttpError: 400
    2011:04:17-08:04:55 cats-kingdom [local0:err]  [6503]: CEnginesContainer::GetCacheDelta - HttpError: 400
    2011:04:17-08:09:51 cats-kingdom [local0:info]  [6503]: CIpRepCache::Save() - Saved to file /tmp/ctipd.cache
    2011:04:17-08:09:55 cats-kingdom [local0:err]  [6503]: CEnginesContainer::GetCacheDelta - HttpError: 400
    2011:04:17-08:09:55 cats-kingdom [local0:info]  [6503]: CEnginesContainer::UpdateSettings() - Updating
    2011:04:17-08:09:55 cats-kingdom [local0:info]  [6503]: CEnginesContainer::UpdateSettings() - Updating
    2011:04:17-08:09:56 cats-kingdom [local0:err]  [6503]: Counters - can't open cache file /tmp/ctipd.DM_counters
    2011:04:17-08:09:59 cats-kingdom [local6:info] clamd[7032]:  No stats for Database check - forcing reload
    2011:04:17-08:09:59 cats-kingdom [local6:info] clamd[7032]:  Reading databases from /var/pattern/clam
    2011:04:17-08:10:04 cats-kingdom [local6:info] clamd[7032]:  Database correctly reloaded (940832 signatures)
    2011:04:17-09:09:51 cats-kingdom [local0:info]  [6503]: CIpRepCache::Save() - Saved to file /tmp/ctipd.cache
    2011:04:17-09:09:55 cats-kingdom [local0:info]  [6503]: CEnginesContainer::UpdateSettings() - Updating
    2011:04:17-09:09:55 cats-kingdom [local0:info]  [6503]: CEnginesContainer::UpdateSettings() - Updating
    2011:04:17-09:10:04 cats-kingdom [local6:info] clamd[7032]:  SelfCheck: Database status OK.
    2011:04:17-10:09:51 cats-kingdom [local0:info]  [6503]: CIpRepCache::Save() - Saved to file /tmp/ctipd.cache
    2011:04:17-10:09:55 cats-kingdom [local0:info]  [6503]: CEnginesContainer::UpdateSettings() - Updating
    2011:04:17-10:09:55 cats-kingdom [local0:info]  [6503]: CEnginesContainer::UpdateSettings() - Updating
    2011:04:17-10:10:03 cats-kingdom [daemon:info] cssd[6295]:  [     (nil)] avira_get_instance (avira.c:160) Avira create instance failed (return code 3)
    2011:04:17-10:10:03 cats-kingdom [daemon:info] cssd[6295]:  [     (nil)] avira_get_instance (avira.c:232) error 1 while releasing instance
    2011:04:17-10:10:03 cats-kingdom [daemon:info] cssd[6295]:  [ 0x9f0d308] avira_thread (avira.c:335) failed to get scanner instance
    2011:04:17-11:09:51 cats-kingdom [local0:info]  [6503]: CIpRepCache::Save() - Saved to file /tmp/ctipd.cache

    System log

    2011:04:17-00:05:01 cats-kingdom /usr/sbin/cron[13949]: (root) CMD (   /usr/local/bin/reportcontrol.sh)
    2011:04:17-00:05:32 cats-kingdom daemon-watcher[5380]: Watching selfmonng.plx - running fine
    2011:04:17-00:10:01 cats-kingdom /usr/sbin/cron[14039]: (root) CMD (   /usr/local/bin/reportcontrol.sh)
    2011:04:17-00:15:00 cats-kingdom postgres[14129]: [2-1] LOG:  unexpected EOF on client connection



    Ian
  • Hi Ian,

    thanks for posting the logs, but they don't contain any helpful hint regarding your problem. Is there anything suspicious in the dhcp log file?

    Kai
  • Hi Kai,
    there was one IPv6 request, because I had tried to assign a static address outside of the dynamic range, but the server doesn't like it.

    I have a number of devices which are all IPv6 capable, but do not show up as having an address.
    Some of them use the wireless which does not appear to be IPv6 aware.

    Ian

    2011:04:17-17:08:58 cats-kingdom dhcpd6: Release message from fe80::3dc0:a153:4f27:9ad1 port 546, transaction ID 0x4C055800
    2011:04:17-17:08:58 cats-kingdom dhcpd6: Client 00:01:00:01:13:f3[:D]9:85:20:cf:30:0e:63:65 releases address 2a01:348:229:a::5f, which is not leased to it.
    2011:04:17-17:08:58 cats-kingdom dhcpd6: Sending Reply to fe80::3dc0:a153:4f27:9ad1 port 546
    2011:04:17-17:09:00 cats-kingdom dhcpd6: Solicit message from fe80::3dc0:a153:4f27:9ad1 port 546, transaction ID 0x51C31E00
    2011:04:17-17:09:00 cats-kingdom dhcpd6: Picking pool address 2a01:348:229:a::5f
    2011:04:17-17:09:00 cats-kingdom dhcpd6: Sending Advertise to fe80::3dc0:a153:4f27:9ad1 port 546
  • Hi Ian,

    you are right with the wireless, it's not as IPv6-capable as we'd like it to be. I know that the guys in the wireless-team are discussing this, but i don't know what they will come up with.

    Regarding your IPv6-problem: i have to ask Ulrich tomorrow to take a look at this, he's much deeper involved in the whole topic than i am.

    Kai
  • Hi Ian,

    can you ping ipv6 addresses from the ASG itself and can you ping ipv6 addresses from your clients?

    Note: Wireless AP can only communicate via IPv4 with the ASG. However IPv6 over WLAN works fine, Clients can get IPv6 addresses from the ASG via WLAN.

    Cheers
     Ulrich
  • Hi Ulrich,
    update. The licence count is now showing devices.

    I have changed the DHCP range of one of the IPv6 servers and it still allocates an address which is now outside of its range. The address does not show up in the IPv6 address allocation table.

    Now sixxs have fixed my tunnel I can test from the PC. I can connect to the sixxs site using IPv6.

    Ian

    My MAC Book Pro does not pickup an IPv6 via the wireless. It is set for "Automatic" with both IPv4 and IPv6
    Extra info, the log fileis a little slow in updating.
    2011:04:18-20:56:05 cats-kingdom dhcpd6: For info, please visit https://www.isc.org/software/dhcp/
    2011:04:18-20:56:05 cats-kingdom dhcpd6: /var/state/dhcp/dhcpd6.leases line 13: no pool found for address 2a01:348:229:a::5f
    2011:04:18-20:56:05 cats-kingdom dhcpd6:   }
    2011:04:18-20:56:05 cats-kingdom dhcpd6:    ^
    2011:04:18-20:56:05 cats-kingdom dhcpd6: Corrupt lease file - possible data loss!
    2011:04:18-20:56:05 cats-kingdom dhcpd6: Wrote 0 deleted host decls to leases file.
    2011:04:18-20:56:05 cats-kingdom dhcpd6: Wrote 0 new dynamic host decls to leases file.
    2011:04:18-20:56:05 cats-kingdom dhcpd6: Wrote 0 leases to leases file.
    2011:04:18-20:56:05 cats-kingdom dhcpd6: Bound to *:547
  • Hi,

    MacOSX does NOT support DHCPv6, please use Prefix Advertisement or
    open an Apple support ticket [:)]

    Licensing counts only active devices, so only IPv4 and IPv6 addresses which
    were used for connections are counted.

    If you change the IPv4 or IPv6 address on an interface, the DHCP v4 and v6
    configuration is NOT changed. You have to change the DHCP configuration afterwards too...

    Cheers
     Ulrich
  • Hi Ulrich,
    I changed the address IPv6 range the ASG is to use to allocate addresses.

    I released/renewed the on the PC concerned and it did not get a new address, the existing address it uses was not showing up in any of the tables and the error I posted appeared in the DHCP log.

    My MAC shows it has the capability of obtaining an IPv6 address automatically. I will followup with Apple.

    Regards

    Ian