EduNetworkBuilder/Web/Resources/Level1-BadDHCP.json

719 lines
20 KiB
JSON
Raw Normal View History

{
"EduNetworkBuilder": {
"Network": {
"en_message": "The Server is giving out bad DHCP. Edit the DHCP settings to tell it to give correct DHCP. (You do this by selecting 'DHCP' from the device-editing screen) Then do a DHCP request on all the PCs.",
"fr_message": "Le serveur donne du mauvais DHCP. Modifiez les paramètres DHCP pour lui indiquer de donner DHCP correct. (Pour ce faire, sélectionnez \"DHCP\" dans l'écran de modification du périphérique). Ensuite, effectuez une requête DHCP sur tous les PC.",
"en_title": "Bad DHCP",
"height": "1024",
"width": "1024",
"itemsize": "100",
"showlabels": "full",
"level": "1",
"sortorder": "2",
"uniqueidentifier": "126",
"startinghelplevel": "none",
"vlansenabled": "False",
"VLANPacketColors": "False",
"device": [
{
"hostname": "net_switch0",
"size": "100",
"uniqueidentifier": "112",
"location": "408,281",
"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": "112",
"nicid": "113",
"hostname": "net_switch0",
"nicname": "lo0"
},
"uniqueidentifier": "113",
"usesdhcp": "False",
"encryptionkey": null,
"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": "112",
"nicid": "114",
"hostname": "net_switch0",
"nicname": "management_interface0"
},
"uniqueidentifier": "114",
"usesdhcp": "False",
"encryptionkey": null,
"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": "112",
"nicid": "115",
"hostname": "net_switch0",
"nicname": "port1"
},
"uniqueidentifier": "115",
"usesdhcp": "False",
"encryptionkey": null,
"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": "112",
"nicid": "116",
"hostname": "net_switch0",
"nicname": "port2"
},
"uniqueidentifier": "116",
"usesdhcp": "False",
"encryptionkey": null,
"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": "112",
"nicid": "117",
"hostname": "net_switch0",
"nicname": "port3"
},
"uniqueidentifier": "117",
"usesdhcp": "False",
"encryptionkey": null,
"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": "112",
"nicid": "118",
"hostname": "net_switch0",
"nicname": "port4"
},
"uniqueidentifier": "118",
"usesdhcp": "False",
"encryptionkey": null,
"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": "112",
"nicid": "119",
"hostname": "net_switch0",
"nicname": "port5"
},
"uniqueidentifier": "119",
"usesdhcp": "False",
"encryptionkey": null,
"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": "112",
"nicid": "120",
"hostname": "net_switch0",
"nicname": "port6"
},
"uniqueidentifier": "120",
"usesdhcp": "False",
"encryptionkey": null,
"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": "112",
"nicid": "121",
"hostname": "net_switch0",
"nicname": "port7"
},
"uniqueidentifier": "121",
"usesdhcp": "False",
"encryptionkey": null,
"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": "103",
"location": "212,649",
"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": "103",
"nicid": "104",
"hostname": "pc0",
"nicname": "lo0"
},
"uniqueidentifier": "104",
"usesdhcp": "False",
"encryptionkey": null,
"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": "103",
"nicid": "105",
"hostname": "pc0",
"nicname": "eth0"
},
"uniqueidentifier": "105",
"usesdhcp": "True",
"encryptionkey": null,
"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": "pc1",
"size": "100",
"uniqueidentifier": "106",
"location": "604,642",
"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": "106",
"nicid": "107",
"hostname": "pc1",
"nicname": "lo0"
},
"uniqueidentifier": "107",
"usesdhcp": "False",
"encryptionkey": null,
"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": "106",
"nicid": "108",
"hostname": "pc1",
"nicname": "eth0"
},
"uniqueidentifier": "108",
"usesdhcp": "True",
"encryptionkey": null,
"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": "pc2",
"size": "100",
"uniqueidentifier": "109",
"location": "708,284",
"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": "109",
"nicid": "110",
"hostname": "pc2",
"nicname": "lo0"
},
"uniqueidentifier": "110",
"usesdhcp": "False",
"encryptionkey": null,
"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": "109",
"nicid": "111",
"hostname": "pc2",
"nicname": "eth0"
},
"uniqueidentifier": "111",
"usesdhcp": "False",
"encryptionkey": null,
"ssid": null,
"interface": {
"nicname": "eth0",
"myip": {
"ip": "192.168.1.2",
"mask": "255.255.255.0",
"gateway": "192.168.1.60",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
}
]
},
{
"hostname": "server0",
"size": "100",
"uniqueidentifier": "100",
"location": "103,277",
"mytype": "server",
"isdns": "False",
"isdhcp": "True",
"gateway": {
"ip": "192.168.1.254",
"mask": "255.255.255.0",
"gateway": "192.168.1.60",
"type": "gw"
},
"nic": [
{
"nictype": [
"lo",
"lo"
],
"nicname": "lo0",
"myid": {
"hostid": "100",
"nicid": "101",
"hostname": "server0",
"nicname": "lo0"
},
"uniqueidentifier": "101",
"usesdhcp": "False",
"encryptionkey": null,
"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": "server0",
"nicname": "eth0"
},
"uniqueidentifier": "102",
"usesdhcp": "False",
"encryptionkey": null,
"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"
}
}
}
],
"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.2.50",
"gateway": "192.168.2.60",
"type": "route"
}
]
}
],
"link": [
{
"SrcNic": {
"hostid": "100",
"nicid": "102",
"hostname": "server0",
"nicname": "eth0"
},
"DstNic": {
"hostid": "112",
"nicid": "115",
"hostname": "net_switch0",
"nicname": "port1"
},
"hostname": "server0_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "122"
},
{
"SrcNic": {
"hostid": "103",
"nicid": "105",
"hostname": "pc0",
"nicname": "eth0"
},
"DstNic": {
"hostid": "112",
"nicid": "116",
"hostname": "net_switch0",
"nicname": "port2"
},
"hostname": "pc0_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "123"
},
{
"SrcNic": {
"hostid": "106",
"nicid": "108",
"hostname": "pc1",
"nicname": "eth0"
},
"DstNic": {
"hostid": "112",
"nicid": "117",
"hostname": "net_switch0",
"nicname": "port3"
},
"hostname": "pc1_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "124"
},
{
"SrcNic": {
"hostid": "109",
"nicid": "111",
"hostname": "pc2",
"nicname": "eth0"
},
"DstNic": {
"hostid": "112",
"nicid": "118",
"hostname": "net_switch0",
"nicname": "port4"
},
"hostname": "pc2_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "125"
}
],
"nettest": [
{
"shost": "pc0",
"dhost": "server0",
"thetest": "NeedsLocalIPTo"
},
{
"shost": "pc1",
"dhost": "server0",
"thetest": "NeedsLocalIPTo"
}
],
"tag": "DHCP",
"VLANName": {
"@ID": "1",
"@Color": "Blue",
"#text": "Default"
}
}
}
}