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

850 lines
24 KiB
JSON

{
"EduNetworkBuilder": {
"Network": {
"fr_message": "Ce réseau a deux sous-réseaux différents utilisant le même commutateur. Le routeur a deux interfaces (adresses IP, à la fois sur eth0). Une carte réseau fonctionne comme deux. Ping à partir des différents PC à des machines sur l'autre réseau.\nC'est le même réseau que le précédent, sauf qu'il utilise un routeur au lieu de deux. Nous utiliserons ce concept plus tard lorsque nous parlerons de sécurité. La raison pour laquelle nous allons l'utiliser, c'est que nous pouvons vouloir avoir différents groupes de personnes sur un réseau (peut-être des étudiants, des professeurs et des invités), et nous voulons avoir différents niveaux de sécurité pour chaque groupe. En faisant en sorte que le trafic des étudiants passe par un routeur avant qu'il n'atteigne le réseau du personnel, nous pouvons définir des règles de pare-feu pour empêcher les étudiants d'accéder aux données du corps enseignant. Mais, c'est pour un puzzle plus tard.",
"en_message": "This network has two different subnets using the same switch. The router has two interfaces (IP addresses, both on eth0). One network card functions like two. Ping from the different PCs to machines on the other network.\nThis is the same network as the previous one, except it uses one router instead of two. We will be using this concept later on when we talk about security. The reason we will use it, is that we may want to have different groups of people on a network (maybe students, faculty, and guests), and we want to have different security levels for each group. By having student traffic need to go through one router before it gets to the staff network, we can set up firewall rules to block students from accessing faculty data. But, that is for a later puzzle.",
"fr_title": "Two Subnets, Shared Network2",
"en_title": "Two Subnets, Shared Network2",
"en_url": "https://youtu.be/Ct8NpiTLbNw",
"height": "1024",
"width": "1024",
"itemsize": "100",
"showlabels": "full",
"level": "1",
"sortorder": "4.1",
"uniqueidentifier": "142",
"startinghelplevel": "full",
"vlansenabled": "True",
"VLANPacketColors": "False",
"device": [
{
"hostname": "net_switch0",
"size": "100",
"uniqueidentifier": "109",
"location": "390,400",
"mytype": "net_switch",
"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": "109",
"nicid": "110",
"hostname": "net_switch0",
"nicname": "lo0"
},
"uniqueidentifier": "110",
"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": "109",
"nicid": "111",
"hostname": "net_switch0",
"nicname": "management_interface0"
},
"uniqueidentifier": "111",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "management_interface0",
"myip": {
"ip": "192.168.1.5",
"mask": "255.255.255.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
},
{
"nictype": [
"port",
"port"
],
"nicname": "port1",
"myid": {
"hostid": "109",
"nicid": "112",
"hostname": "net_switch0",
"nicname": "port1"
},
"uniqueidentifier": "112",
"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": "109",
"nicid": "113",
"hostname": "net_switch0",
"nicname": "port2"
},
"uniqueidentifier": "113",
"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": "109",
"nicid": "114",
"hostname": "net_switch0",
"nicname": "port3"
},
"uniqueidentifier": "114",
"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": "109",
"nicid": "115",
"hostname": "net_switch0",
"nicname": "port4"
},
"uniqueidentifier": "115",
"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": "109",
"nicid": "116",
"hostname": "net_switch0",
"nicname": "port5"
},
"uniqueidentifier": "116",
"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": "109",
"nicid": "117",
"hostname": "net_switch0",
"nicname": "port6"
},
"uniqueidentifier": "117",
"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": "109",
"nicid": "118",
"hostname": "net_switch0",
"nicname": "port7"
},
"uniqueidentifier": "118",
"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": "121",
"location": "80,490",
"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": "121",
"nicid": "122",
"hostname": "pc0",
"nicname": "lo0"
},
"uniqueidentifier": "122",
"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": "121",
"nicid": "123",
"hostname": "pc0",
"nicname": "eth0"
},
"uniqueidentifier": "123",
"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": "pc1",
"size": "100",
"uniqueidentifier": "124",
"location": "90,820",
"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": "124",
"nicid": "125",
"hostname": "pc1",
"nicname": "lo0"
},
"uniqueidentifier": "125",
"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": "124",
"nicid": "126",
"hostname": "pc1",
"nicname": "eth0"
},
"uniqueidentifier": "126",
"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"
}
}
}
]
},
{
"hostname": "pc2",
"size": "100",
"uniqueidentifier": "127",
"location": "710,820",
"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": "127",
"nicid": "128",
"hostname": "pc2",
"nicname": "lo0"
},
"uniqueidentifier": "128",
"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": "127",
"nicid": "129",
"hostname": "pc2",
"nicname": "eth0"
},
"uniqueidentifier": "129",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "eth0",
"myip": {
"ip": "192.168.2.3",
"mask": "255.255.255.0",
"gateway": "0.0.0.0",
"type": "ip"
},
"VLAN": {
"@ID": "1",
"#text": "Untagged"
}
}
}
]
},
{
"hostname": "pc3",
"size": "100",
"uniqueidentifier": "130",
"location": "760,500",
"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": "130",
"nicid": "131",
"hostname": "pc3",
"nicname": "lo0"
},
"uniqueidentifier": "131",
"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": "130",
"nicid": "132",
"hostname": "pc3",
"nicname": "eth0"
},
"uniqueidentifier": "132",
"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": "router0",
"size": "100",
"uniqueidentifier": "137",
"location": "390,190",
"mytype": "router",
"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": "137",
"nicid": "138",
"hostname": "router0",
"nicname": "lo0"
},
"uniqueidentifier": "138",
"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": "137",
"nicid": "139",
"hostname": "router0",
"nicname": "eth0"
},
"uniqueidentifier": "139",
"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"
}
},
{
"nicname": "eth0",
"myip": {
"ip": "192.168.2.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": "137",
"nicid": "140",
"hostname": "router0",
"nicname": "eth1"
},
"uniqueidentifier": "140",
"usesdhcp": "False",
"ssid": null,
"interface": {
"nicname": "eth1",
"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": "121",
"nicid": "123",
"hostname": "pc0",
"nicname": "eth0"
},
"DstNic": {
"hostid": "109",
"nicid": "114",
"hostname": "net_switch0",
"nicname": "port3"
},
"hostname": "pc0_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "133"
},
{
"SrcNic": {
"hostid": "124",
"nicid": "126",
"hostname": "pc1",
"nicname": "eth0"
},
"DstNic": {
"hostid": "109",
"nicid": "115",
"hostname": "net_switch0",
"nicname": "port4"
},
"hostname": "pc1_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "134"
},
{
"SrcNic": {
"hostid": "127",
"nicid": "129",
"hostname": "pc2",
"nicname": "eth0"
},
"DstNic": {
"hostid": "109",
"nicid": "116",
"hostname": "net_switch0",
"nicname": "port5"
},
"hostname": "pc2_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "135"
},
{
"SrcNic": {
"hostid": "130",
"nicid": "132",
"hostname": "pc3",
"nicname": "eth0"
},
"DstNic": {
"hostid": "109",
"nicid": "117",
"hostname": "net_switch0",
"nicname": "port6"
},
"hostname": "pc3_link_net_switch0",
"linktype": "normal",
"uniqueidentifier": "136"
},
{
"SrcNic": {
"hostid": "109",
"nicid": "112",
"hostname": "net_switch0",
"nicname": "port1"
},
"DstNic": {
"hostid": "137",
"nicid": "139",
"hostname": "router0",
"nicname": "eth0"
},
"hostname": "net_switch0_link_router0",
"linktype": "normal",
"uniqueidentifier": "141"
}
],
"nettest": [
{
"shost": "pc0",
"dhost": "pc1",
"thetest": "SuccessfullyPings"
},
{
"shost": "pc0",
"dhost": "pc2",
"thetest": "SuccessfullyPings"
},
{
"shost": "pc3",
"dhost": "pc1",
"thetest": "SuccessfullyPings"
},
{
"shost": "pc3",
"dhost": "pc2",
"thetest": "SuccessfullyPings"
},
{
"shost": "pc0",
"dhost": "192.168.1.255",
"thetest": "SuccessfullyPings"
},
{
"shost": "pc3",
"dhost": "192.168.2.255",
"thetest": "SuccessfullyPings"
}
],
"tag": [
"Subnet",
"Ping",
"Router"
],
"VLANName": {
"@ID": "1",
"@Color": "Blue",
"#text": "Default"
}
}
}
}