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

536 lines
15 KiB
JSON

{
"EduNetworkBuilder": {
"Network": {
"en_message": "This puzzle has three tasks to it:\n1) Give the switch an IP address\n2) Add an IP-Phone to the network, linking it to the switch, and then do a DHCP request for it.\n3) Ping the switch from the IP-Phone",
"fr_message": "Ce puzzle a trois tâches à lui:\n1) Donner au commutateur une adresse IP\n2) Ajoutez un téléphone IP au réseau, en le liant au commutateur, puis faites une demande DHCP.\n3) Ping le commutateur de l'IP-Phone",
"en_title": "Adding Devices",
"fr_title": "Ajout de périphériques",
"height": "1024",
"width": "1024",
"itemsize": "100",
"showlabels": "full",
"level": "1",
"sortorder": "4.3",
"uniqueidentifier": "125",
"startinghelplevel": "basic",
"vlansenabled": "True",
"VLANPacketColors": "False",
"device": [
{
"hostname": "net_switch0",
"size": "100",
"uniqueidentifier": "103",
"location": "380,350",
"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": "103",
"nicid": "104",
"hostname": "net_switch0",
"nicname": "lo0"
},
"uniqueidentifier": "104",
"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": "103",
"nicid": "105",
"hostname": "net_switch0",
"nicname": "management_interface0"
},
"uniqueidentifier": "105",
"usesdhcp": "False",
"encryptionkey": null,
"interface": {
"nicname": "management_interface0",
"myip": {
"ip": "0.0.0.0",
"mask": "255.255.255.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port1",
"myid": {
"hostid": "103",
"nicid": "106",
"hostname": "net_switch0",
"nicname": "port1"
},
"uniqueidentifier": "106",
"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": "103",
"nicid": "107",
"hostname": "net_switch0",
"nicname": "port2"
},
"uniqueidentifier": "107",
"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": "103",
"nicid": "108",
"hostname": "net_switch0",
"nicname": "port3"
},
"uniqueidentifier": "108",
"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": "103",
"nicid": "109",
"hostname": "net_switch0",
"nicname": "port4"
},
"uniqueidentifier": "109",
"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": "103",
"nicid": "110",
"hostname": "net_switch0",
"nicname": "port5"
},
"uniqueidentifier": "110",
"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": "103",
"nicid": "111",
"hostname": "net_switch0",
"nicname": "port6"
},
"uniqueidentifier": "111",
"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": "103",
"nicid": "112",
"hostname": "net_switch0",
"nicname": "port7"
},
"uniqueidentifier": "112",
"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": "113",
"location": "380,520",
"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": "113",
"nicid": "114",
"hostname": "pc0",
"nicname": "lo0"
},
"uniqueidentifier": "114",
"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": "113",
"nicid": "115",
"hostname": "pc0",
"nicname": "eth0"
},
"uniqueidentifier": "115",
"usesdhcp": "False",
"encryptionkey": null,
"interface": {
"nicname": "eth0",
"myip": {
"ip": "192.168.1.2",
"mask": "255.255.255.0",
"gateway": "192.168.1.40",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
}
]
},
{
"hostname": "server0",
"size": "100",
"uniqueidentifier": "100",
"location": "180,350",
"mytype": "server",
"isdns": "False",
"isdhcp": "True",
"gateway": {
"ip": "192.168.1.254",
"mask": "255.255.255.0",
"gateway": "0.0.0.0",
"type": "gw"
},
"nic": [
{
"nictype": [
"lo",
"lo"
],
"nicname": "lo0",
"myid": {
"hostid": "100",
"nicid": "101",
"hostname": "server0",
"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": "server0",
"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"
}
}
}
],
"dhcprange": [
{
"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.20",
"gateway": "192.168.1.40",
"type": "route"
}
]
}
],
"link": [
{
"SrcNic": {
"hostid": "100",
"nicid": "102",
"hostname": "server0",
"nicname": "eth0"
},
"DstNic": {
"hostid": "103",
"nicid": "106",
"hostname": "net_switch0",
"nicname": "port1"
},
"hostname": "server0_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "116"
},
{
"SrcNic": {
"hostid": "113",
"nicid": "115",
"hostname": "pc0",
"nicname": "eth0"
},
"DstNic": {
"hostid": "103",
"nicid": "107",
"hostname": "net_switch0",
"nicname": "port2"
},
"hostname": "pc0_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "117"
},
{
"SrcNic": {
"hostid": "121",
"nicid": "123",
"hostname": "ip_phone0",
"nicname": "eth0"
},
"DstNic": {
"hostid": "103",
"nicid": "108",
"hostname": "net_switch0",
"nicname": "port3"
},
"hostname": null,
"linktype": "normal",
"uniqueidentifier": "124"
}
],
"nettest": [
{
"shost": "net_switch0",
"dhost": "server0",
"thetest": "NeedsLocalIPTo"
},
{
"shost": "ip_phone0",
"dhost": "net_switch0",
"thetest": "SuccessfullyPings"
}
],
"tag": "DHCP",
"VLANName": {
"@ID": "1",
"@Color": "Blue",
"#text": "Default"
}
}
}
}