Send Netdot-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-users digest..."
Today's Topics:
1. Re: DHCP issues (D. Bischof)
2. Re: DHCP issues (Carlos Vicente)
3. Re: DHCP issues (D. Bischof)
4. System error looking for a mac address (Michael T. Voity)
----------------------------------------------------------------------
Message: 1
Date: Tue, 14 Jan 2014 22:32:32 +0100 (CET)
From: "D. Bischof" <[email protected]>
Subject: Re: [Netdot-users] DHCP issues
To: Patrick Landry <[email protected]>
Cc: [email protected]
Message-ID: <alpine.LSU.2.11.1401141758520.18468@fred>
Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15
Hi Patrick,
thank you for your reply.
On Mon, 13 Jan 2014, Patrick Landry wrote:
> ----- Original Message -----
>
>> after having successfully installed Netdot, I'm able to export working
>> BIND zonefiles for my Class-C sized subnet. Yay!
>
>> Some addresses inside my subnet have previously been served via static
>> DHCP (see below). There are no dynamic allocations.
>
>> All attempts to reproduce this using Netdot resulted in error messages
>> like "DhcpScope::objectify_args: Unknown type: subnet".
>
>> Is reproducing my old configuration possible at all or will I have to
>> split my subnet? Do something else?
>
> What version are you running? I reported a similar issue a little over a
> year ago which was patched.
1.0.5 RC1, despite the warning, that it is not intended for production
use ;-)
> https://osl.uoregon.edu/redmine/issues/1712
No, that's most likely not related to my problem.
I suspect that I'm doing something wrong. In "Address Space" I created a
container of my institution's Class B subnet (aaa.bbb.0.0/16). Inside, I
created an IP block of type subnet (aaa.bbb.nnn.0/24). This is my IP block
and I administer the master DNS for the corresponding zone (subdomain of
my institution).
As soon as I try to enable a DHCP for my subnet, I run into the above
error ("DhcpScope::objectify_args: Unknown type: subnet"). I played around
a little with fake subnets, splitting them, tried different types, etc.
but to no avail.
I tried to follow the hints from
http://osl.uoregon.edu/pipermail/netdot-users/2011-April/000747.html
but couldn't find an option to create a DHCP scope of type "subnet" (only
"global", "group", "host", "shared-network" and "template" are available).
Adding attributes always requires a value, btw. Is this the intended
behaviour? What about e.g. the "authoritative"-statement, that doesn't
have a value?
I'm unsure where to go from here.
Mit freundlichen Gr?ssen/With best regards,
--D.B.
------------------------------
Message: 2
Date: Tue, 14 Jan 2014 21:28:55 -0500
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-users] DHCP issues
To: "D. Bischof" <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-15
Hello D.B:
On 1/14/14, 4:32 PM, D. Bischof wrote:
>
> I suspect that I'm doing something wrong. In "Address Space" I created a
> container of my institution's Class B subnet (aaa.bbb.0.0/16). Inside, I
> created an IP block of type subnet (aaa.bbb.nnn.0/24). This is my IP block
> and I administer the master DNS for the corresponding zone (subdomain of
> my institution).
>
> As soon as I try to enable a DHCP for my subnet, I run into the above
> error ("DhcpScope::objectify_args: Unknown type: subnet"). I played around
> a little with fake subnets, splitting them, tried different types, etc.
> but to no avail.
It's strange that you get that error. The install script should have
created an entry in the dhcpscopetype table called "subnet", among
others. You can check that by going to Advanced -> Browse -> dhcpscopetype
> I tried to follow the hints from
>
> http://osl.uoregon.edu/pipermail/netdot-users/2011-April/000747.html
>
> but couldn't find an option to create a DHCP scope of type "subnet" (only
> "global", "group", "host", "shared-network" and "template" are available).
> Adding attributes always requires a value, btw. Is this the intended
> behaviour? What about e.g. the "authoritative"-statement, that doesn't
> have a value?
>
>
In your subnet page, you should have a "DHCP" sub-menu. After clicking
that, you will see a "DHCP Scope" section below, with a [enable] button
to the right. Clicking on [enable] you will see a dialog where you will
select a global scope (create one if you don't have one yet), and then
create the subnet scope by clicking "save". The created scope will have
some basic attributes, and you can add more if needed.
Hope this helps.
Best,
cv
------------------------------
Message: 3
Date: Wed, 15 Jan 2014 18:23:22 +0100 (CET)
From: "D. Bischof" <[email protected]>
Subject: Re: [Netdot-users] DHCP issues
To: Carlos Vicente <[email protected]>
Cc: [email protected]
Message-ID: <alpine.LSU.2.11.1401151646520.8395@fred>
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
Hello Carlos,
On Tue, 14 Jan 2014, Carlos Vicente wrote:
> On 1/14/14, 4:32 PM, D. Bischof wrote:
>>
>> I suspect that I'm doing something wrong. In "Address Space" I created
>> a container of my institution's Class B subnet (aaa.bbb.0.0/16).
>> Inside, I created an IP block of type subnet (aaa.bbb.nnn.0/24). This
>> is my IP block and I administer the master DNS for the corresponding
>> zone (subdomain of my institution).
>>
>> As soon as I try to enable a DHCP for my subnet, I run into the above
>> error ("DhcpScope::objectify_args: Unknown type: subnet"). I played
>> around a little with fake subnets, splitting them, tried different
>> types, etc. but to no avail.
>
> It's strange that you get that error. The install script should have
> created an entry in the dhcpscopetype table called "subnet", among
> others. You can check that by going to Advanced -> Browse ->
> dhcpscopetype
[...]
sorry, my bad.
I checked the table and found no "subnet"-row, but i noticed that there
was a gap in the IDs. I think I must have accidentally deleted that row by
hand at some point.
I did a
---
mysql> INSERT INTO dhcpscopetype (id,info,name) VALUES ("4",NULL,"subnet");
---
to restore the row and am happy now - everything works as described. I
appreciate your helpful hint.
Mit freundlichen Gruessen/With best regards,
--D.B.
------------------------------
Message: 4
Date: Wed, 15 Jan 2014 12:47:41 -0500
From: "Michael T. Voity" <[email protected]>
Subject: [Netdot-users] System error looking for a mac address
To: "[email protected]" <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Hello list,
I think I have seen this error before and might have seen a solution
before, but I cant seem to find the solution in the archives.
I think I have to delete a table or dump a table in the MySQL DB?
Here is the error:
*error:* DBD::mysql::db selectall_arrayref failed: Table
'netdot.fwtableentry' doesn't exist [for Statement "SELECT ft.tstamp
FROM physaddr p, interface i, fwtableentry fte, fwtable ft
WHERE p.id=213716
AND fte.physaddr=p.id
AND fte.interface=i.id
AND fte.fwtable=ft.id
GROUP BY ft.tstamp
ORDER BY ft.tstamp DESC
LIMIT 10"] at /usr/local/netdot/lib/Netdot/Model/PhysAddr.pm line 687.
*context:*
*...*
*683:* GROUP BY ft.tstamp
*684:* ORDER BY ft.tstamp DESC
*685:* LIMIT $limit";
*686:*
*687:* my @tstamps = @{ $dbh->selectall_arrayref($q1) };
*688:* return unless @tstamps;
*689:* my $tstamps = join ',', map { "'$_'" } map { $_->[0] } @tstamps;
*690:*
*691:* my $q2 = "SELECT ft.tstamp, i.id
*...*
*code stack:* /usr/local/netdot/lib/Netdot/Model/PhysAddr.pm:687
/usr/local/netdot/htdocs/management/mac.html:108
/usr/local/netdot/htdocs/management/device_tasks.html:60
/usr/local/netdot/htdocs/management/autohandler:81
/usr/local/share/perl5/HTML/Mason/Request.pm:951
/usr/local/netdot/htdocs/masondata/obj/1292882063/management/autohandler.obj:21
/usr/local/netdot/htdocs/autohandler:76
-Mike
--
Michael T. Voity
Network Engineer
University of Vermont
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://osl.uoregon.edu/pipermail/netdot-users/attachments/20140115/0e836bd7/attachment-0001.html
------------------------------
_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users
End of Netdot-users Digest, Vol 62, Issue 4
*******************************************