A
A
Alexander Lysenko2018-05-24 15:23:23
Computer networks
Alexander Lysenko, 2018-05-24 15:23:23

What analyzes can be applied to the network structure in JSON format?

Hello. In general, the project itself is the topic of the diploma) There is a network structure in json format
There is a code below, but for convenience here is the link
https://jsonblob.com/2de46e49-47c3-11e8-b9c5-69156...
The structure of the json itself

spoiler
{
  "Routers": [
    {
      "ACL": "inсome",
      "ConnectedDevice": [
        "192.168.0.5",
        "192.168.0.11",
        "192.168.0.22"
      ],
      "DHCP": true,
      "IP": "192.168.0.19",
      "MAC": "sd:33:ss:wj",
      "Name": "Rout_1",
      "NAT": {
        "Status": true,
        "Type": "ConeNAT"
      },
      "Protocol": "Routing:static",
      "Rendudancy": false
    }
  ],
  "Servers": [
    {
      "Interface": "Ethernet",
      "IP": "192.168.0.22",
      "MAC": "jh:14:73:aj",
      "Name": "Serv_2",
      "OS": "UbuntuServer14.04",
      "Service": "DHCP",
      "ConnectedDevice": [
        "192.168.0.1",
        "192.168.0.2",
        "192.168.0.3"
      ]
    },
    {
      "Interface": "Ethernet",
      "IP": "192.168.0.11",
      "MAC": "jh:1j:73:aj",
      "Name": "Serv_1",
      "OS": "UbuntuServer14.04",
      "Service": "DHCP",
      "ConnectedDevice": [
        "192.168.0.4"
      ]
    }
  ],
  "Switches": [
    {
      "Name": "Sw_1",
      "STP": "RSTP",
      "VLAN": {
        "Type": "trunk",
        "Port number": "2"
      },
      "ConnectedDevice": [
        "192.168.0.0/26",
        "192.168.0.0/28",
        "192.168.0.0/29"
      ]
    }
  ],
  "LANs": [
    {
      "Name": "Lan_1",
      "Count": "3",
      "Static addreses": [
        {
          "Printer_1": "192.168.0.55"
        }
      ],
      "Network Number": "192.168.0.0/25"
    },
    {
      "Name": "Lan_2",
      "Count": "3",
      "Static addreses": [
        {
          "Printer_1": "192.168.0.55"
        }
      ],
      "IP": "192.168.0.2"
    },
    {
      "Name": "Lan_3",
      "Count": "5",
      "Static addreses": [
        {
          "Printer_1": "192.168.0.55"
        },
        {
          "Printer_2": "192.168.0.47"
        }
      ],
      "Network Number": "192.168.0.0/26"
    },
    {
      "Name": "Lan_4",
      "Count": "3",
      "Static addreses": [
        {
          "Printer_1": "192.168.0.46"
        }
      ],
      "Network Number": "192.168.0.0/28"
    },
    {
      "Name": "Lan_5",
      "Count": "2",
      "Static addreses": [],
      "Network Number": "192.168.0.0/29"
    }
  ]
}


About the project itself. The project was deployed on Laravel. The user can register on the site. Three pages are available to a registered user:
1. Analysis
2. Network Manager
3. User Settings
On the Analysis page, the user can add a file for analysis in json format or add a network from the network manager The network
manager itself is a table that contains the structures of the various networks that it can add to your personal account.
5b06acb8794b6308889233.png
So far, the following is on my mind
1. Checking all IP addresses for correct spelling
2. Checking the MAC address for each device
3. Analysis of free IP addresses (displaying the number of free addresses and displaying busy IPs)
4. Select from the drop-down list the characteristic of the problem, the source of the problem and the problem node:
For example, I choose the lack of communication, I choose the source, for example, a web server, and the problem node is a computer or the same web server. I described the problem of the lack of Internet connection from the web server. As a result, the user will be given the settings and characteristics of the problem node (web server) as well as the entire hierarchy of devices to which this web server is connected.
5b06ae8e902e6073025487.pngThe question is, if we take this small network structure, what analyzes can be attached to this json?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question