From owner-freebsd-isp Thu Sep 5 10:13:44 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BD6137B400 for ; Thu, 5 Sep 2002 10:13:41 -0700 (PDT) Received: from stox.sa.enteract.com (stox.sa.enteract.com [207.229.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 556F443E4A for ; Thu, 5 Sep 2002 10:13:39 -0700 (PDT) (envelope-from stox@stox.sa.enteract.com) Received: from stox.sa.enteract.com (localhost [127.0.0.1]) by stox.sa.enteract.com (8.12.5/8.12.2) with ESMTP id g85HDTHN072865; Thu, 5 Sep 2002 12:13:30 -0500 (CDT) (envelope-from stox@stox.sa.enteract.com) Received: from localhost (stox@localhost) by stox.sa.enteract.com (8.12.5/8.12.2/Submit) with ESMTP id g85HDSIS072766; Thu, 5 Sep 2002 12:13:29 -0500 (CDT) Date: Thu, 5 Sep 2002 12:13:15 -0500 (CDT) From: "Kenneth P. Stox" To: Wim Livens Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Network diagrams In-Reply-To: <20020905145940.GA87075@krijt.livens.net> Message-ID: <20020905121115.G17573-100000@stox.sa.enteract.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org tkined, which is part of the scotty package in /usr/ports/net might be what you are looking for. On Thu, 5 Sep 2002, Wim Livens wrote: > > I'm looking for a way to automatically generate a network diagram > image showing IP addresses, hostnames and interface names. > > We're running an ISP access network (about 20 nodes) and I don't want > to update visio drawings manually while all topology info is in a > database. Besides that, I would like to generate a similar drawing > for the customer's access link and their router on a web portal. I > could probably do the latter with GD.pm, but I feel a bit like > reinventing the wheel and rather have a more generic solution. > > The database contains a table like this: > > IPaddr, hostname, interface, network > > I understand I will need to supply some hints for the layout > generation, like a rank or coordinates for each node. > > I looked at caida.org, but these are all for large backbone networks. > > I've also been playing with dot and neato by generating the input file > from our database, but I can't get it to produce a decent layout, the > "ranking" feature of dot seems too limited. W.r.t. neato, being an > access network, there is a clear hierarchy in the nodes, so a > spring-model graph layout is not suited either. > > Any ideas ? > > thanks and hoping it was not too far off-topic, > > Wim. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message