EduNetworkBuilder/Web/Resources/Level2_FirewallTest2.json

1555 lines
43 KiB
JSON
Raw Normal View History

{
"EduNetworkBuilder": {
"Network": {
"en_message": "Firewall devices can have an advanced firewall. You can control which interfaces can ping which interfaces. This allows you to protect one side of the LAN from the other. We will use this functionality a lot more later on.\nThis technology is mainly used for VLAN security, or setting up a DMZ. To do this puzzle, remove the firewall rule that is keeping the one side from pinging the other side.",
"fr_message": "Les pare-feu peuvent avoir un pare-feu avancé. Vous pouvez contrôler quelles interfaces peuvent cingler quelles interfaces. Cela vous permet de protéger un côté du réseau local de l'autre. Nous utiliserons cette fonctionnalité beaucoup plus tard.\nCette technologie est principalement utilisée pour la sécurité VLAN, ou la mise en place d'une DMZ. Pour ce casse-tête, supprimez la règle du pare-feu qui empêche le côté d'envoyer un ping de l'autre côté.",
"en_title": "Firewall Test 2",
"height": "1024",
"width": "1024",
"itemsize": "100",
"showlabels": "none",
"level": "2",
"sortorder": "0.01",
"uniqueidentifier": "158",
"startinghelplevel": "full",
"vlansenabled": "True",
"VLANPacketColors": "False",
"device": [
{
"hostname": "firewall0",
"size": "100",
"uniqueidentifier": "100",
"location": "410,410",
"mytype": "firewall",
"isdns": "False",
"isdhcp": "True",
"hasadvfirewall": "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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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"
}
],
"firwallrule": {
"source": "eth0",
"destination": "eth1",
"action": "Drop"
}
},
{
"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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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",
"encryptionkey": 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": "pc1",
"dhost": "pc3",
"thetest": "SuccessfullyPings"
},
{
"shost": "pc3",
"dhost": "pc1",
"thetest": "SuccessfullyPings"
}
],
"tag": [
"Firewall",
"Ping"
],
"VLANName": {
"@ID": "1",
"@Color": "Blue",
"#text": "Default"
}
}
}
}