NetXMS Support Forum

English Support => General Support => Topic started by: stevenlamb on November 14, 2019, 11:45:36 PM

Title: Overlapping non routed subnets
Post by: stevenlamb on November 14, 2019, 11:45:36 PM
We use a standard configuration on each of our routers across our network. this configuration has the same natted subnets behind them. NetXMS seems to interpret this as these devices being connected on this subnet. Is there a way to ignore this Nat'd subnet.

similarly, i have some Nat'd subnets that are of the same network but with different sizes.

Sorry if this is a repeat question, i have attempted to search for a response but cannot find one that seems to apply.

Thanks
Title: Re: Overlapping non routed subnets
Post by: StanHubble on November 15, 2019, 06:03:09 PM
You should set them up as Zones if you dont want them to be considered on the same subnet.
You will need to setup a proxy that is either directly addressable by the NetXMS server or with an agent tunnel to the NetXMS server.
Title: Re: Overlapping non routed subnets
Post by: stevenlamb on November 18, 2019, 06:08:15 PM
I was reading a bit about zones. i dont think it quite solves the problem i am having. I control the lan and Wan side of these routers. i want to manage the wan side of these routers as one ip space and the lan side because it is not being routed should be treated as a different space. If i understand zones, you put an entire node in a zone. this doesnt seem to match my use case.

I would also be content with the idea of ignoring the Lan ip space.
Title: Re: Overlapping non routed subnets
Post by: Tursiops on November 18, 2019, 11:46:15 PM
You can "Exclude this interface from network topology" (per interface setting, properties of interface -> Polling), which I believe will ignore the attached subnet.
The networks that were already discovered will still be around, so you'll have to clean those up.

I haven't really used this setting and haven't checked if it can be set via NXSL (which you'd probably want to do, so any new devices will have those particular interfaces ignored by default).
Title: Re: Overlapping non routed subnets
Post by: stevenlamb on November 19, 2019, 12:28:10 AM
i think that is more what i want.

Thank you for the suggestion, I have tried this on a few and this seems to work.

Title: Re: Overlapping non routed subnets
Post by: stevenlamb on November 27, 2019, 06:00:43 PM
I have been working on this, and i am very new to Nxsl. it seems that the object definitions on the wiki seem incomplete or perhaps dont have the ability to refernce the Interface Childs like the console scripting does.

i was wondering if there are some better examples or documentation somewhere.

thanks
Title: Re: Overlapping non routed subnets
Post by: Tatjana Dubrovica on December 03, 2019, 03:59:15 PM
Latest NXSL manual:
www.netxms.org/documentation/nxsl-3.0/
NXSL manual for version 2.2:
www.netxms.org/documentation/nxsl-2.2/