EduNetworkBuilder/Web/Resources/Level2_FirewallDemo.json
2024-04-17 17:14:07 -05:00

1564 lines
43 KiB
JSON

{
"EduNetworkBuilder": {
"Network": {
"en_message": "This puzzle shows off how a firewall works. You can ping out of a firewall, but not ping the computers behind it. To \"solve\" this, ping the lone computer from both subnets, and try to ping both subnets from the lone pc.",
"fr_message": "Ce puzzle montre comment fonctionne un pare-feu. Vous pouvez exécuter un ping hors d'un pare-feu, mais pas cingler les ordinateurs derrière. Pour «résoudre» cela, envoyez un ping à l'ordinateur isolé des deux sous-réseaux et essayez de faire un ping sur les deux sous-réseaux du PC isolé.",
"en_title": "Firewall Test",
"height": "1024",
"width": "1024",
"itemsize": "100",
"showlabels": "none",
"level": "2",
"sortorder": "0",
"uniqueidentifier": "158",
"startinghelplevel": "full",
"vlansenabled": "False",
"VLANPacketColors": "False",
"device": [
{
"hostname": "firewall0",
"size": "100",
"uniqueidentifier": "100",
"location": "410,410",
"mytype": "firewall",
"isdns": "False",
"isdhcp": "True",
"gateway": {
"ip": "192.168.1.1",
"mask": "0.0.0.0",
"gateway": "0.0.0.0",
"type": "gw"
},
"nic": [
{
"nictype": [
"wan",
"wan"
],
"nicname": "wan0",
"myid": {
"hostid": "100",
"nicid": "104",
"hostname": "firewall0",
"nicname": "wan0"
},
"uniqueidentifier": "104",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "wan0",
"myip": {
"ip": "192.168.5.1",
"mask": "255.255.255.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
},
{
"nictype": [
"lo",
"lo"
],
"nicname": "lo0",
"myid": {
"hostid": "100",
"nicid": "101",
"hostname": "firewall0",
"nicname": "lo0"
},
"uniqueidentifier": "101",
"usesdhcp": "False",
"ssid": null,
"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": "100",
"nicid": "102",
"hostname": "firewall0",
"nicname": "eth0"
},
"uniqueidentifier": "102",
"usesdhcp": "False",
"ssid": null,
"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": "Untagged"
}
}
},
{
"nictype": [
"eth",
"eth"
],
"nicname": "eth1",
"myid": {
"hostid": "100",
"nicid": "103",
"hostname": "firewall0",
"nicname": "eth1"
},
"uniqueidentifier": "103",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "eth1",
"myip": {
"ip": "192.168.2.1",
"mask": "255.255.255.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
}
],
"dhcprange": [
{
"ip": "192.168.5.1",
"mask": "0.0.0.0",
"gateway": "0.0.0.0",
"type": "route"
},
{
"ip": "127.0.0.1",
"mask": "0.0.0.0",
"gateway": "0.0.0.0",
"type": "route"
},
{
"ip": "192.168.1.1",
"mask": "192.168.1.5",
"gateway": "192.168.1.10",
"type": "route"
},
{
"ip": "192.168.2.1",
"mask": "192.168.2.5",
"gateway": "192.168.2.10",
"type": "route"
}
]
},
{
"hostname": "net_switch0",
"size": "100",
"uniqueidentifier": "105",
"location": "410,190",
"mytype": "net_switch",
"isdns": "False",
"isdhcp": "False",
"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": "105",
"nicid": "106",
"hostname": "net_switch0",
"nicname": "lo0"
},
"uniqueidentifier": "106",
"usesdhcp": "False",
"ssid": null,
"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",
"ssid": null,
"interface": {
"nicname": "management_interface0",
"myip": {
"ip": "0.0.0.0",
"mask": "0.0.0.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",
"ssid": null,
"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": "Untagged"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port2",
"myid": {
"hostid": "105",
"nicid": "109",
"hostname": "net_switch0",
"nicname": "port2"
},
"uniqueidentifier": "109",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port3",
"myid": {
"hostid": "105",
"nicid": "110",
"hostname": "net_switch0",
"nicname": "port3"
},
"uniqueidentifier": "110",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port4",
"myid": {
"hostid": "105",
"nicid": "111",
"hostname": "net_switch0",
"nicname": "port4"
},
"uniqueidentifier": "111",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port5",
"myid": {
"hostid": "105",
"nicid": "112",
"hostname": "net_switch0",
"nicname": "port5"
},
"uniqueidentifier": "112",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port6",
"myid": {
"hostid": "105",
"nicid": "113",
"hostname": "net_switch0",
"nicname": "port6"
},
"uniqueidentifier": "113",
"usesdhcp": "False",
"ssid": null,
"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": "Untagged"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port7",
"myid": {
"hostid": "105",
"nicid": "114",
"hostname": "net_switch0",
"nicname": "port7"
},
"uniqueidentifier": "114",
"usesdhcp": "False",
"ssid": null,
"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": "Untagged"
}
}
}
]
},
{
"hostname": "net_switch1",
"size": "100",
"uniqueidentifier": "118",
"location": "230,410",
"mytype": "net_switch",
"isdns": "False",
"isdhcp": "False",
"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": "118",
"nicid": "119",
"hostname": "net_switch1",
"nicname": "lo0"
},
"uniqueidentifier": "119",
"usesdhcp": "False",
"ssid": null,
"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": "118",
"nicid": "120",
"hostname": "net_switch1",
"nicname": "management_interface0"
},
"uniqueidentifier": "120",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "management_interface0",
"myip": {
"ip": "0.0.0.0",
"mask": "0.0.0.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port1",
"myid": {
"hostid": "118",
"nicid": "121",
"hostname": "net_switch1",
"nicname": "port1"
},
"uniqueidentifier": "121",
"usesdhcp": "False",
"ssid": null,
"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": "Untagged"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port2",
"myid": {
"hostid": "118",
"nicid": "122",
"hostname": "net_switch1",
"nicname": "port2"
},
"uniqueidentifier": "122",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port3",
"myid": {
"hostid": "118",
"nicid": "123",
"hostname": "net_switch1",
"nicname": "port3"
},
"uniqueidentifier": "123",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port4",
"myid": {
"hostid": "118",
"nicid": "124",
"hostname": "net_switch1",
"nicname": "port4"
},
"uniqueidentifier": "124",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port5",
"myid": {
"hostid": "118",
"nicid": "125",
"hostname": "net_switch1",
"nicname": "port5"
},
"uniqueidentifier": "125",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port6",
"myid": {
"hostid": "118",
"nicid": "126",
"hostname": "net_switch1",
"nicname": "port6"
},
"uniqueidentifier": "126",
"usesdhcp": "False",
"ssid": null,
"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": "Untagged"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port7",
"myid": {
"hostid": "118",
"nicid": "127",
"hostname": "net_switch1",
"nicname": "port7"
},
"uniqueidentifier": "127",
"usesdhcp": "False",
"ssid": null,
"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": "Untagged"
}
}
}
]
},
{
"hostname": "net_switch2",
"size": "100",
"uniqueidentifier": "139",
"location": "640,410",
"mytype": "net_switch",
"isdns": "False",
"isdhcp": "False",
"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": "139",
"nicid": "140",
"hostname": "net_switch2",
"nicname": "lo0"
},
"uniqueidentifier": "140",
"usesdhcp": "False",
"ssid": null,
"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": "139",
"nicid": "141",
"hostname": "net_switch2",
"nicname": "management_interface0"
},
"uniqueidentifier": "141",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "management_interface0",
"myip": {
"ip": "0.0.0.0",
"mask": "0.0.0.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port1",
"myid": {
"hostid": "139",
"nicid": "142",
"hostname": "net_switch2",
"nicname": "port1"
},
"uniqueidentifier": "142",
"usesdhcp": "False",
"ssid": null,
"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": "Untagged"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port2",
"myid": {
"hostid": "139",
"nicid": "143",
"hostname": "net_switch2",
"nicname": "port2"
},
"uniqueidentifier": "143",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port3",
"myid": {
"hostid": "139",
"nicid": "144",
"hostname": "net_switch2",
"nicname": "port3"
},
"uniqueidentifier": "144",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port4",
"myid": {
"hostid": "139",
"nicid": "145",
"hostname": "net_switch2",
"nicname": "port4"
},
"uniqueidentifier": "145",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port5",
"myid": {
"hostid": "139",
"nicid": "146",
"hostname": "net_switch2",
"nicname": "port5"
},
"uniqueidentifier": "146",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port6",
"myid": {
"hostid": "139",
"nicid": "147",
"hostname": "net_switch2",
"nicname": "port6"
},
"uniqueidentifier": "147",
"usesdhcp": "False",
"ssid": null,
"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": "Untagged"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port7",
"myid": {
"hostid": "139",
"nicid": "148",
"hostname": "net_switch2",
"nicname": "port7"
},
"uniqueidentifier": "148",
"usesdhcp": "False",
"ssid": null,
"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": "Untagged"
}
}
}
]
},
{
"hostname": "pc0",
"size": "100",
"uniqueidentifier": "115",
"location": "640,190",
"mytype": "pc",
"isdns": "False",
"isdhcp": "False",
"gateway": {
"ip": "192.168.5.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": "pc0",
"nicname": "lo0"
},
"uniqueidentifier": "116",
"usesdhcp": "False",
"ssid": null,
"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": "115",
"nicid": "117",
"hostname": "pc0",
"nicname": "eth0"
},
"uniqueidentifier": "117",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "eth0",
"myip": {
"ip": "192.168.5.2",
"mask": "255.255.255.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
}
]
},
{
"hostname": "pc1",
"size": "100",
"uniqueidentifier": "128",
"location": "230,600",
"mytype": "pc",
"isdns": "False",
"isdhcp": "False",
"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": "128",
"nicid": "129",
"hostname": "pc1",
"nicname": "lo0"
},
"uniqueidentifier": "129",
"usesdhcp": "False",
"ssid": null,
"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": "128",
"nicid": "130",
"hostname": "pc1",
"nicname": "eth0"
},
"uniqueidentifier": "130",
"usesdhcp": "False",
"ssid": null,
"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"
}
}
}
]
},
{
"hostname": "pc2",
"size": "100",
"uniqueidentifier": "135",
"location": "90,590",
"mytype": "pc",
"isdns": "False",
"isdhcp": "False",
"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": "135",
"nicid": "136",
"hostname": "pc2",
"nicname": "lo0"
},
"uniqueidentifier": "136",
"usesdhcp": "False",
"ssid": null,
"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": "pc2",
"nicname": "eth0"
},
"uniqueidentifier": "137",
"usesdhcp": "True",
"ssid": null,
"interface": {
"nicname": "eth0",
"myip": {
"ip": "0.0.0.0",
"mask": "0.0.0.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
}
]
},
{
"hostname": "pc3",
"size": "100",
"uniqueidentifier": "149",
"location": "640,600",
"mytype": "pc",
"isdns": "False",
"isdhcp": "False",
"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": "149",
"nicid": "150",
"hostname": "pc3",
"nicname": "lo0"
},
"uniqueidentifier": "150",
"usesdhcp": "False",
"ssid": null,
"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": "149",
"nicid": "151",
"hostname": "pc3",
"nicname": "eth0"
},
"uniqueidentifier": "151",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "eth0",
"myip": {
"ip": "192.168.2.2",
"mask": "255.255.255.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
}
]
},
{
"hostname": "pc4",
"size": "100",
"uniqueidentifier": "154",
"location": "760,600",
"mytype": "pc",
"isdns": "False",
"isdhcp": "False",
"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": "154",
"nicid": "155",
"hostname": "pc4",
"nicname": "lo0"
},
"uniqueidentifier": "155",
"usesdhcp": "False",
"ssid": null,
"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": "154",
"nicid": "156",
"hostname": "pc4",
"nicname": "eth0"
},
"uniqueidentifier": "156",
"usesdhcp": "True",
"ssid": null,
"interface": {
"nicname": "eth0",
"myip": {
"ip": "0.0.0.0",
"mask": "0.0.0.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
}
]
}
],
"link": [
{
"SrcNic": {
"hostid": "128",
"nicid": "130",
"hostname": "pc1",
"nicname": "eth0"
},
"DstNic": {
"hostid": "118",
"nicid": "121",
"hostname": "net_switch1",
"nicname": "port1"
},
"hostname": "pc1_link_net_switch1",
"linktype": "normal",
"uniqueidentifier": "131"
},
{
"SrcNic": {
"hostid": "118",
"nicid": "122",
"hostname": "net_switch1",
"nicname": "port2"
},
"DstNic": {
"hostid": "100",
"nicid": "102",
"hostname": "firewall0",
"nicname": "eth0"
},
"hostname": "net_switch1_link_firewall0",
"linktype": "normal",
"uniqueidentifier": "132"
},
{
"SrcNic": {
"hostid": "100",
"nicid": "104",
"hostname": "firewall0",
"nicname": "wan0"
},
"DstNic": {
"hostid": "105",
"nicid": "108",
"hostname": "net_switch0",
"nicname": "port1"
},
"hostname": "firewall0_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "133"
},
{
"SrcNic": {
"hostid": "105",
"nicid": "109",
"hostname": "net_switch0",
"nicname": "port2"
},
"DstNic": {
"hostid": "115",
"nicid": "117",
"hostname": "pc0",
"nicname": "eth0"
},
"hostname": "net_switch0_link_pc0",
"linktype": "normal",
"uniqueidentifier": "134"
},
{
"SrcNic": {
"hostid": "135",
"nicid": "137",
"hostname": "pc2",
"nicname": "eth0"
},
"DstNic": {
"hostid": "118",
"nicid": "123",
"hostname": "net_switch1",
"nicname": "port3"
},
"hostname": "pc2_link_net_switch1",
"linktype": "normal",
"uniqueidentifier": "138"
},
{
"SrcNic": {
"hostid": "100",
"nicid": "103",
"hostname": "firewall0",
"nicname": "eth1"
},
"DstNic": {
"hostid": "139",
"nicid": "142",
"hostname": "net_switch2",
"nicname": "port1"
},
"hostname": "firewall0_link_net_switch2",
"linktype": "normal",
"uniqueidentifier": "152"
},
{
"SrcNic": {
"hostid": "139",
"nicid": "143",
"hostname": "net_switch2",
"nicname": "port2"
},
"DstNic": {
"hostid": "149",
"nicid": "151",
"hostname": "pc3",
"nicname": "eth0"
},
"hostname": "net_switch2_link_pc3",
"linktype": "normal",
"uniqueidentifier": "153"
},
{
"SrcNic": {
"hostid": "154",
"nicid": "156",
"hostname": "pc4",
"nicname": "eth0"
},
"DstNic": {
"hostid": "139",
"nicid": "144",
"hostname": "net_switch2",
"nicname": "port3"
},
"hostname": "pc4_link_net_switch2",
"linktype": "normal",
"uniqueidentifier": "157"
}
],
"nettest": [
{
"shost": "pc0",
"dhost": "pc1",
"thetest": "FailedPing"
},
{
"shost": "pc0",
"dhost": "pc3",
"thetest": "FailedPing"
},
{
"shost": "pc2",
"dhost": "pc0",
"thetest": "SuccessfullyPings"
},
{
"shost": "pc4",
"dhost": "pc0",
"thetest": "SuccessfullyPings"
},
{
"shost": "pc4",
"dhost": "pc2",
"thetest": "SuccessfullyPings"
}
],
"tag": [
"Firewall",
"Ping"
],
"VLANName": {
"@ID": "1",
"@Color": "Blue",
"#text": "Default"
}
}
}
}