Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. How to specify a netmask for node?

How to specify a netmask for node?

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 23.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    J
    janrovner
    wrote on last edited by
    #1

    Hello,

    I'm a total newbie (migrating from dude). I am trying to (batch) add new nodes, however when I create a new node to NetXMS (under "Infrastructure Services"), I'm always getting /24 subnet under "Entire Network".

    I am adding it with everything disabled (NXCObjectCreationData.CF_DISABLE_ICMP | NXCObjectCreationData.CF_DISABLE_NXCP | NXCObjectCreationData.CF_DISABLE_SNMP | NXCObjectCreationData.CF_CREATE_UNMANAGED).

    Could you please help me how to fix it? I am not interesting in autodiscovery in this movement, the goal is to migrate "by hand" about 2k of nodes.

    Thank you.
    Jan

    1 Reply Last reply
    0
    • T
      T
      tomaskir
      wrote on last edited by
      #2

      An object in NetXMS always has to have at least one interface, where its Primary IP will reside.
      If an object has all information sources disabled (nxagent and snmp), the object is created with a synthetic interface to hold its IP.

      Next up, when an interface is created, NetXMS looks to place it in a subnet.
      NetXMS will look for a matching subnet to place the IP in.

      If a subnet doesn't yet exist, a new one will be created - specifically a /24 in this case, since the synthetic interface has a default /24 mask.

      You can influence this by changing the server configuration parameter DefaultSubnetMaskIPv4 (or DefaultSubnetMaskIPv6).

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups