|
From: Vidar H. <vid...@gm...> - 2011-05-27 12:00:44
|
On 05/27/2011 01:04 PM, Jethro R Binks wrote: > On Fri, 27 May 2011, Magnus Hultgren wrote: > >> I have tried your suggestion and it works somehow, but not completely. >> >> I have set up my Dummy as suggested. I have added it in the >> netdisco-topology.txt with links to my different parts of the network >> like this. >> >> >> dummy >> link:GigabitEthernet0/24,first-siwtch-of-network1,GigabitEthernet0/1 >> dummy >> link:GigabitEthernet0/24, Second-siwtch-of-network1,GigabitEthernet0/1 >> dummy >> link:GigabitEthernet0/24, first-siwtch-of-network2,GigabitEthernet0/1 >> dummy >> link:GigabitEthernet0/24, Second-siwtch-of-network2,GigabitEthernet0/1 >> >> Network 1 is graphed but not network 2 and the output when generating >> the graphics are "Removing Non-connected nodes: xxx.xxx.xxx.xxx, >> xxx.xxx.xxx.xxx," and so on showing all IP's from network 2 > If this is one virtual "dummy" switch/hub you are modelling, then you > probably just need one "dummy" line, followed by several link lines: > > dummy > link:GigabitEthernet0/24,first-siwtch-of-network1,GigabitEthernet0/1 > link:GigabitEthernet0/24, Second-siwtch-of-network1,GigabitEthernet0/1 > link:GigabitEthernet0/24, first-siwtch-of-network2,GigabitEthernet0/1 > link:GigabitEthernet0/24, Second-siwtch-of-network2,GigabitEthernet0/1 > > If you have several dummys, then presumably you'll need to give them each > a different name. > > In both cases, will netdisco try and resolve "dummy" to a hostname? A > workaround might be to put an entry in /etc/hosts > > 127.0.0.2 dummy > > or something like that maybe. > > J. I've been thinking of this many times during the years but never come to do anything about it.... Wouldn't it have been sexy to actually have that dummy ip answer fake "lldp/cdp" mib data so that netdisco (and other cdp/lldp topology discovery software) would belive it actually where a router with all these neighbours? What kind of software would be suitable and scalabe to fake answers for cdp/lldp snmp mib request on a linux server, given that somebody already has given the server that data to answer? Regards Vidar Haugsvær |