From owner-freebsd-isp Thu Sep 5 7:58:58 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 A6BC437B400 for ; Thu, 5 Sep 2002 07:58:53 -0700 (PDT) Received: from localhost.livens.net (213-193-182-101.adsl.easynet.be [213.193.182.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E05A43E6A for ; Thu, 5 Sep 2002 07:58:49 -0700 (PDT) (envelope-from wim@localhost.livens.net) Received: (from wim@localhost) by localhost.livens.net (8.11.3/8.11.3) id g85Exfr87382 for freebsd-isp@freebsd.org; Thu, 5 Sep 2002 16:59:41 +0200 (CEST) (envelope-from wim) Date: Thu, 5 Sep 2002 16:59:40 +0200 From: Wim Livens To: freebsd-isp@freebsd.org Subject: Network diagrams Message-ID: <20020905145940.GA87075@krijt.livens.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.24i 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 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