1965 lines
53 KiB
JSON
1965 lines
53 KiB
JSON
{
|
|
"EduNetworkBuilder": {
|
|
"Network": {
|
|
"en_message": "VLAN security usually needs firewall rules at the router to enforce security. This puzzle needs to have a firewall rule set to keep the guest network from being able to connect to the server.",
|
|
"fr_message": "La sécurité VLAN nécessite généralement des règles de pare-feu sur le routeur pour assurer la sécurité. Ce puzzle doit avoir un ensemble de règles de pare-feu pour empêcher le réseau invité de se connecter au serveur.",
|
|
"en_title": "VLAN Firewalls",
|
|
"height": "1024",
|
|
"width": "1024",
|
|
"itemsize": "100",
|
|
"showlabels": "none",
|
|
"level": "6",
|
|
"sortorder": "5",
|
|
"uniqueidentifier": "166",
|
|
"startinghelplevel": "none",
|
|
"vlansenabled": "True",
|
|
"VLANPacketColors": "True",
|
|
"device": [
|
|
{
|
|
"hostname": "firewall0",
|
|
"size": "100",
|
|
"uniqueidentifier": "100",
|
|
"location": "760,80",
|
|
"mytype": "firewall",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"hasadvfirewall": "True",
|
|
"gateway": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "101",
|
|
"hostname": "firewall0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "101",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"wan",
|
|
"wan"
|
|
],
|
|
"nicname": "wan0",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "104",
|
|
"hostname": "firewall0",
|
|
"nicname": "wan0"
|
|
},
|
|
"uniqueidentifier": "104",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "wan0",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "102",
|
|
"hostname": "firewall0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "102",
|
|
"usesdhcp": "False",
|
|
"interface": [
|
|
{
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Tagged"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nicname": "eth0:1",
|
|
"myip": {
|
|
"ip": "192.168.2.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Tagged"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nicname": "eth0:2",
|
|
"myip": {
|
|
"ip": "192.168.3.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"#text": "Tagged"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nicname": "eth0:3",
|
|
"myip": {
|
|
"ip": "192.168.0.1",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Tagged"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth1",
|
|
"myid": {
|
|
"hostid": "100",
|
|
"nicid": "103",
|
|
"hostname": "firewall0",
|
|
"nicname": "eth1"
|
|
},
|
|
"uniqueidentifier": "103",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"firwallrule": [
|
|
{
|
|
"source": "eth0:1",
|
|
"destination": "eth0",
|
|
"action": "Drop"
|
|
},
|
|
{
|
|
"source": "eth0:1",
|
|
"destination": "eth0:3",
|
|
"action": "Drop"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "net_switch0",
|
|
"size": "100",
|
|
"uniqueidentifier": "105",
|
|
"location": "120,380",
|
|
"mytype": "net_switch",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.0.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "106",
|
|
"hostname": "net_switch0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "106",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"management_interface",
|
|
"management_interface"
|
|
],
|
|
"nicname": "management_interface0",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "107",
|
|
"hostname": "net_switch0",
|
|
"nicname": "management_interface0"
|
|
},
|
|
"uniqueidentifier": "107",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "management_interface0",
|
|
"myip": {
|
|
"ip": "192.168.0.4",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port1",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "108",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port1"
|
|
},
|
|
"uniqueidentifier": "108",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Untagged"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port2",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "109",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port2"
|
|
},
|
|
"uniqueidentifier": "109",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port2",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Untagged"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port3",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "110",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port3"
|
|
},
|
|
"uniqueidentifier": "110",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port3",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port4",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "111",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port4"
|
|
},
|
|
"uniqueidentifier": "111",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port4",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port5",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "112",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port5"
|
|
},
|
|
"uniqueidentifier": "112",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port5",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Untagged"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port6",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "113",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port6"
|
|
},
|
|
"uniqueidentifier": "113",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port6",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"#text": "Tagged"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port7",
|
|
"myid": {
|
|
"hostid": "105",
|
|
"nicid": "114",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port7"
|
|
},
|
|
"uniqueidentifier": "114",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port7",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"#text": "Tagged"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "net_switch1",
|
|
"size": "100",
|
|
"uniqueidentifier": "115",
|
|
"location": "420,380",
|
|
"mytype": "net_switch",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.0.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "115",
|
|
"nicid": "116",
|
|
"hostname": "net_switch1",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "116",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"management_interface",
|
|
"management_interface"
|
|
],
|
|
"nicname": "management_interface0",
|
|
"myid": {
|
|
"hostid": "115",
|
|
"nicid": "117",
|
|
"hostname": "net_switch1",
|
|
"nicname": "management_interface0"
|
|
},
|
|
"uniqueidentifier": "117",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "management_interface0",
|
|
"myip": {
|
|
"ip": "192.168.0.3",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Untagged"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port1",
|
|
"myid": {
|
|
"hostid": "115",
|
|
"nicid": "118",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port1"
|
|
},
|
|
"uniqueidentifier": "118",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port2",
|
|
"myid": {
|
|
"hostid": "115",
|
|
"nicid": "119",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port2"
|
|
},
|
|
"uniqueidentifier": "119",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port2",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port3",
|
|
"myid": {
|
|
"hostid": "115",
|
|
"nicid": "120",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port3"
|
|
},
|
|
"uniqueidentifier": "120",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port3",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port4",
|
|
"myid": {
|
|
"hostid": "115",
|
|
"nicid": "121",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port4"
|
|
},
|
|
"uniqueidentifier": "121",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port4",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port5",
|
|
"myid": {
|
|
"hostid": "115",
|
|
"nicid": "122",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port5"
|
|
},
|
|
"uniqueidentifier": "122",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port5",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port6",
|
|
"myid": {
|
|
"hostid": "115",
|
|
"nicid": "123",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port6"
|
|
},
|
|
"uniqueidentifier": "123",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port6",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"#text": "Tagged"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port7",
|
|
"myid": {
|
|
"hostid": "115",
|
|
"nicid": "124",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port7"
|
|
},
|
|
"uniqueidentifier": "124",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port7",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"#text": "Tagged"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "net_switch2",
|
|
"size": "100",
|
|
"uniqueidentifier": "125",
|
|
"location": "760,380",
|
|
"mytype": "net_switch",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"gateway": {
|
|
"ip": "192.168.0.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "125",
|
|
"nicid": "126",
|
|
"hostname": "net_switch2",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "126",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"management_interface",
|
|
"management_interface"
|
|
],
|
|
"nicname": "management_interface0",
|
|
"myid": {
|
|
"hostid": "125",
|
|
"nicid": "127",
|
|
"hostname": "net_switch2",
|
|
"nicname": "management_interface0"
|
|
},
|
|
"uniqueidentifier": "127",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "management_interface0",
|
|
"myip": {
|
|
"ip": "192.168.0.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port1",
|
|
"myid": {
|
|
"hostid": "125",
|
|
"nicid": "128",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port1"
|
|
},
|
|
"uniqueidentifier": "128",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port1",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port2",
|
|
"myid": {
|
|
"hostid": "125",
|
|
"nicid": "129",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port2"
|
|
},
|
|
"uniqueidentifier": "129",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port2",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"#text": "Untagged"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port3",
|
|
"myid": {
|
|
"hostid": "125",
|
|
"nicid": "130",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port3"
|
|
},
|
|
"uniqueidentifier": "130",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port3",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port4",
|
|
"myid": {
|
|
"hostid": "125",
|
|
"nicid": "131",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port4"
|
|
},
|
|
"uniqueidentifier": "131",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port4",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port5",
|
|
"myid": {
|
|
"hostid": "125",
|
|
"nicid": "132",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port5"
|
|
},
|
|
"uniqueidentifier": "132",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port5",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Forbidden"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port6",
|
|
"myid": {
|
|
"hostid": "125",
|
|
"nicid": "133",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port6"
|
|
},
|
|
"uniqueidentifier": "133",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port6",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"#text": "Tagged"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"port",
|
|
"port"
|
|
],
|
|
"nicname": "port7",
|
|
"myid": {
|
|
"hostid": "125",
|
|
"nicid": "134",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port7"
|
|
},
|
|
"uniqueidentifier": "134",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "port7",
|
|
"myip": {
|
|
"ip": "0.0.0.0",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": [
|
|
{
|
|
"@ID": "1",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"#text": "Tagged"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"#text": "Tagged"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc0",
|
|
"size": "100",
|
|
"uniqueidentifier": "135",
|
|
"location": "0,670",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"morphcolor": "Purple",
|
|
"gateway": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "135",
|
|
"nicid": "136",
|
|
"hostname": "pc0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "136",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "135",
|
|
"nicid": "137",
|
|
"hostname": "pc0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "137",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.1.5",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc1",
|
|
"size": "100",
|
|
"uniqueidentifier": "138",
|
|
"location": "150,640",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"morphcolor": "Purple",
|
|
"gateway": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "138",
|
|
"nicid": "139",
|
|
"hostname": "pc1",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "139",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "138",
|
|
"nicid": "140",
|
|
"hostname": "pc1",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "140",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.1.6",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc2",
|
|
"size": "100",
|
|
"uniqueidentifier": "141",
|
|
"location": "340,700",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"morphcolor": "Yellow",
|
|
"gateway": {
|
|
"ip": "192.168.2.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "141",
|
|
"nicid": "142",
|
|
"hostname": "pc2",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "142",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "141",
|
|
"nicid": "143",
|
|
"hostname": "pc2",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "143",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.2.5",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc3",
|
|
"size": "100",
|
|
"uniqueidentifier": "144",
|
|
"location": "460,650",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"morphcolor": "Yellow",
|
|
"gateway": {
|
|
"ip": "192.168.2.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "144",
|
|
"nicid": "145",
|
|
"hostname": "pc3",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "145",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "144",
|
|
"nicid": "146",
|
|
"hostname": "pc3",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "146",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.2.6",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc4",
|
|
"size": "100",
|
|
"uniqueidentifier": "147",
|
|
"location": "710,780",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"morphcolor": "Green",
|
|
"gateway": {
|
|
"ip": "192.168.3.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "147",
|
|
"nicid": "148",
|
|
"hostname": "pc4",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "148",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "147",
|
|
"nicid": "149",
|
|
"hostname": "pc4",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "149",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.3.5",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "pc5",
|
|
"size": "100",
|
|
"uniqueidentifier": "150",
|
|
"location": "830,700",
|
|
"mytype": "pc",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"morphcolor": "Green",
|
|
"gateway": {
|
|
"ip": "192.168.3.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "150",
|
|
"nicid": "151",
|
|
"hostname": "pc5",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "151",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "150",
|
|
"nicid": "152",
|
|
"hostname": "pc5",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "152",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.3.6",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"hostname": "server0",
|
|
"size": "100",
|
|
"uniqueidentifier": "153",
|
|
"location": "120,190",
|
|
"mytype": "server",
|
|
"isdns": "False",
|
|
"isdhcp": "False",
|
|
"morphcolor": "Purple",
|
|
"gateway": {
|
|
"ip": "192.168.1.1",
|
|
"mask": "0.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "gw"
|
|
},
|
|
"nic": [
|
|
{
|
|
"nictype": [
|
|
"lo",
|
|
"lo"
|
|
],
|
|
"nicname": "lo0",
|
|
"myid": {
|
|
"hostid": "153",
|
|
"nicid": "154",
|
|
"hostname": "server0",
|
|
"nicname": "lo0"
|
|
},
|
|
"uniqueidentifier": "154",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "lo0",
|
|
"myip": {
|
|
"ip": "127.0.0.1",
|
|
"mask": "255.0.0.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"nictype": [
|
|
"eth",
|
|
"eth"
|
|
],
|
|
"nicname": "eth0",
|
|
"myid": {
|
|
"hostid": "153",
|
|
"nicid": "155",
|
|
"hostname": "server0",
|
|
"nicname": "eth0"
|
|
},
|
|
"uniqueidentifier": "155",
|
|
"usesdhcp": "False",
|
|
"interface": {
|
|
"nicname": "eth0",
|
|
"myip": {
|
|
"ip": "192.168.1.2",
|
|
"mask": "255.255.255.0",
|
|
"gateway": "0.0.0.0",
|
|
"type": "ip"
|
|
},
|
|
"VLAN": {
|
|
"@ID": "1",
|
|
"#text": "Untagged"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"link": [
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "105",
|
|
"nicid": "114",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port7"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "115",
|
|
"nicid": "123",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port6"
|
|
},
|
|
"hostname": "net_switch0_link_net_switch1",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "156"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "144",
|
|
"nicid": "146",
|
|
"hostname": "pc3",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "115",
|
|
"nicid": "119",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port2"
|
|
},
|
|
"hostname": "pc3_link_net_switch1",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "162"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "125",
|
|
"nicid": "134",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port7"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "100",
|
|
"nicid": "102",
|
|
"hostname": "firewall0",
|
|
"nicname": "eth0"
|
|
},
|
|
"hostname": "net_switch2_link_firewall0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "158"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "115",
|
|
"nicid": "124",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port7"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "125",
|
|
"nicid": "133",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port6"
|
|
},
|
|
"hostname": "net_switch1_link_net_switch2",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "157"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "150",
|
|
"nicid": "152",
|
|
"hostname": "pc5",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "125",
|
|
"nicid": "129",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port2"
|
|
},
|
|
"hostname": "pc5_link_net_switch2",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "164"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "105",
|
|
"nicid": "108",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port1"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "135",
|
|
"nicid": "137",
|
|
"hostname": "pc0",
|
|
"nicname": "eth0"
|
|
},
|
|
"hostname": "net_switch0_link_pc0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "159"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "138",
|
|
"nicid": "140",
|
|
"hostname": "pc1",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "105",
|
|
"nicid": "109",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port2"
|
|
},
|
|
"hostname": "pc1_link_net_switch0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "160"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "141",
|
|
"nicid": "143",
|
|
"hostname": "pc2",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "115",
|
|
"nicid": "118",
|
|
"hostname": "net_switch1",
|
|
"nicname": "port1"
|
|
},
|
|
"hostname": "pc2_link_net_switch1",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "161"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "147",
|
|
"nicid": "149",
|
|
"hostname": "pc4",
|
|
"nicname": "eth0"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "125",
|
|
"nicid": "128",
|
|
"hostname": "net_switch2",
|
|
"nicname": "port1"
|
|
},
|
|
"hostname": "pc4_link_net_switch2",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "163"
|
|
},
|
|
{
|
|
"SrcNic": {
|
|
"hostid": "105",
|
|
"nicid": "112",
|
|
"hostname": "net_switch0",
|
|
"nicname": "port5"
|
|
},
|
|
"DstNic": {
|
|
"hostid": "153",
|
|
"nicid": "155",
|
|
"hostname": "server0",
|
|
"nicname": "eth0"
|
|
},
|
|
"hostname": "net_switch0_link_server0",
|
|
"linktype": "normal",
|
|
"uniqueidentifier": "165"
|
|
}
|
|
],
|
|
"nettest": {
|
|
"shost": "pc5",
|
|
"dhost": "server0",
|
|
"thetest": "FailedPing"
|
|
},
|
|
"tag": [
|
|
"Firewall",
|
|
"VLAN"
|
|
],
|
|
"VLANName": [
|
|
{
|
|
"@ID": "1",
|
|
"@Color": "Orange",
|
|
"#text": "Default"
|
|
},
|
|
{
|
|
"@ID": "2",
|
|
"@Color": "Purple",
|
|
"#text": "Staff"
|
|
},
|
|
{
|
|
"@ID": "3",
|
|
"@Color": "Yellow",
|
|
"#text": "Student"
|
|
},
|
|
{
|
|
"@ID": "4",
|
|
"@Color": "Green",
|
|
"#text": "Guest"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|