Starting to work on a web version of EduNetworkBuilder. The first bunch

of commits are probably going to be a bit interesting.
This commit is contained in:
2024-04-17 17:14:07 -05:00
parent 38a6107cea
commit 8a08bd209e
311 changed files with 739218 additions and 0 deletions

View File

@ -0,0 +1,597 @@
{
"EduNetworkBuilder": {
"Network": {
"en_message": "This puzzle shows you what happens when there are duplicate MAC addresses. This rarely happens, but it used to happen more often than should be statistically probable. Cheap network card vendors used to make batches of cards with the same MAC address, and occasionally someone would buy two of them. The best solution is to replace one of the NICs that has the duplicate MAC address. Ping both pc0 and pc1 from pc2.",
"fr_message": "Ce puzzle vous montre ce qui se passe quand il y a des adresses MAC en double. Cela arrive rarement, mais cela arrivait plus souvent que cela ne devrait être statistiquement probable. Les fournisseurs de cartes réseau bon marché ont utilisé pour faire des lots de cartes avec la même adresse MAC, et parfois quelqu'un en achèterait deux. La meilleure solution consiste à remplacer l'une des cartes réseau qui a l'adresse MAC en double. Ping à la fois pc0 et pc1 de pc2.",
"en_title": "Duplicate MAC addresses",
"height": "1024",
"width": "1024",
"itemsize": "100",
"showlabels": "full",
"level": "1",
"sortorder": "7",
"uniqueidentifier": "132",
"startinghelplevel": "full",
"vlansenabled": "False",
"VLANPacketColors": "False",
"device": [
{
"hostname": "net_switch0",
"size": "100",
"uniqueidentifier": "100",
"location": "430,270",
"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": "100",
"nicid": "101",
"hostname": "net_switch0",
"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": [
"management_interface",
"management_interface"
],
"nicname": "management_interface0",
"myid": {
"hostid": "100",
"nicid": "102",
"hostname": "net_switch0",
"nicname": "management_interface0"
},
"uniqueidentifier": "102",
"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": "100",
"nicid": "103",
"hostname": "net_switch0",
"nicname": "port1"
},
"uniqueidentifier": "103",
"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": "100",
"nicid": "104",
"hostname": "net_switch0",
"nicname": "port2"
},
"uniqueidentifier": "104",
"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": "100",
"nicid": "105",
"hostname": "net_switch0",
"nicname": "port3"
},
"uniqueidentifier": "105",
"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": "100",
"nicid": "106",
"hostname": "net_switch0",
"nicname": "port4"
},
"uniqueidentifier": "106",
"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": "100",
"nicid": "107",
"hostname": "net_switch0",
"nicname": "port5"
},
"uniqueidentifier": "107",
"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": "100",
"nicid": "108",
"hostname": "net_switch0",
"nicname": "port6"
},
"uniqueidentifier": "108",
"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": "100",
"nicid": "109",
"hostname": "net_switch0",
"nicname": "port7"
},
"uniqueidentifier": "109",
"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": "120",
"location": "150,450",
"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": "120",
"nicid": "121",
"hostname": "pc0",
"nicname": "lo0"
},
"uniqueidentifier": "121",
"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": "120",
"nicid": "122",
"hostname": "pc0",
"nicname": "eth0"
},
"Mac": "6A4251443d6D",
"uniqueidentifier": "122",
"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"
}
}
}
]
},
{
"hostname": "pc1",
"size": "100",
"uniqueidentifier": "123",
"location": "420,560",
"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": "123",
"nicid": "124",
"hostname": "pc1",
"nicname": "lo0"
},
"uniqueidentifier": "124",
"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": "123",
"nicid": "125",
"hostname": "pc1",
"nicname": "eth0"
},
"Mac": "6A4251443d6D",
"uniqueidentifier": "125",
"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": "126",
"location": "740,450",
"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": "126",
"nicid": "127",
"hostname": "pc2",
"nicname": "lo0"
},
"uniqueidentifier": "127",
"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": "126",
"nicid": "128",
"hostname": "pc2",
"nicname": "eth0"
},
"uniqueidentifier": "128",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "eth0",
"myip": {
"ip": "192.168.1.3",
"mask": "255.255.255.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
}
]
}
],
"link": [
{
"SrcNic": {
"hostid": "120",
"nicid": "122",
"hostname": "pc0",
"nicname": "eth0"
},
"DstNic": {
"hostid": "100",
"nicid": "103",
"hostname": "net_switch0",
"nicname": "port1"
},
"hostname": "pc0_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "129"
},
{
"SrcNic": {
"hostid": "123",
"nicid": "125",
"hostname": "pc1",
"nicname": "eth0"
},
"DstNic": {
"hostid": "100",
"nicid": "104",
"hostname": "net_switch0",
"nicname": "port2"
},
"hostname": "pc1_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "130"
},
{
"SrcNic": {
"hostid": "126",
"nicid": "128",
"hostname": "pc2",
"nicname": "eth0"
},
"DstNic": {
"hostid": "100",
"nicid": "105",
"hostname": "net_switch0",
"nicname": "port3"
},
"hostname": "pc2_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "131"
}
],
"nettest": [
{
"shost": "pc2",
"dhost": "pc0",
"thetest": "SuccessfullyPings"
},
{
"shost": "pc2",
"dhost": "pc1",
"thetest": "SuccessfullyPings"
}
],
"tag": "MACAddress",
"VLANName": {
"@ID": "1",
"@Color": "Blue",
"#text": "Default"
}
}
}
}