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:
Web
.textwindow.js.swp
EduResources
Animations.pngArrowDown.pngArrowUp.pngBellDing.wavBurnMark.pngCaptionBtn.pngCircle.pngCopier.pngDHCP.enbxEduNetworkReplay.xmlHelp.rtfHub.pngInternetHomeAndOffice.enbxLaptop.pngLevel0-Help.enbxLevel0-HubVsSwitch.enbxLevel0-IP.enbxLevel0-NeedsLink.enbxLevel0-NoSwitch.enbxLevel0-Ping.enbxLevel0-SimpleDHCP.enbxLevel0_BadPower1.enbxLevel0_BadPower2.enbxLevel0_BrokenLink.enbxLevel0_Frozen.enbxLevel0_HiddenSwitch.enbxLevel0_NetworkLoop.enbxLevel0_NetworkLoop2.enbxLevel0_PacketCorruption1.enbxLevel0_PacketCorruption2.enbxLevel0_Power.enbxLevel0_Traceroute.enbxLevel1-BadDHCP.enbxLevel1-BadIP.enbxLevel1-DuplicateIPs.enbxLevel1-MidDHCP.enbxLevel1-NoGateway.enbxLevel1_AddingDevices.enbxLevel1_BadGateway.enbxLevel1_BadNetmask.enbxLevel1_DuplicateMAC.enbxLevel1_OneNetTwoSubnets.enbxLevel1_OneNetTwoSubnets2.enbxLevel1_Practice1.enbxLevel1_Practice2.enbxLevel1_Practice3.enbxLevel1_Practice4.enbxLevel1_Practice5.enbxLevel1_Practice6.enbxLevel1_Practice7.enbxLevel1_VPNTraceroute.enbxLevel2_Bad_Encryption.enbxLevel2_Bad_Route.enbxLevel2_Bad_VPN_IP.enbxLevel2_Blast_From_Past.enbxLevel2_Build_A_VPN.enbxLevel2_CannotConnect.enbxLevel2_Connect_The_Dots.enbxLevel2_FirewallDemo.enbxLevel2_FirewallTest2.enbxLevel2_Not_Working.enbxLevel2_VPN_Demo.enbxLevel2_VPN_woes.enbxLevel3_BlackHole.enbxLevel3_Busted.enbxLevel3_Dead.enbxLevel3_EncryptionTroubles.enbxLevel3_GrandCentralStation.enbxLevel3_Middle_Man_Out.enbxLevel3_NowhereToGo.enbxLevel3_PhoneyNetwork.enbxLevel3_TwoDHCPServers.enbxLevel3_VPNify.enbxLevel3_invisible.enbxLevel4_DualWans.enbxLevel4_Internalhemorrhage.enbxLevel4_InternelSubnetting.enbxLevel4_OneRoute.enbxLevel4_RouterReplacement.enbxLevel4_SinglesLife.enbxLevel4_SmallSubnets.enbxLevel4_WhoDidThat.enbxLevel5_APProblems.enbxLevel5_Failed.enbxLevel5_HereComesTrouble.enbxLevel5_LineOfSight.enbxLevel5_LostPacket.enbxLevel5_Practice1.enbxLevel5_Practice2.enbxLevel5_Practice3.enbxLevel5_Practice4.enbxLevel5_Practice5.enbxLevel5_Practice6.enbxLevel5_WirelessAccessPoint.enbxLevel5_WirelessBridge.enbxLevel5_WirelessCorruption.enbxLevel5_WirelessDevices.enbxLevel5_WirelessRepeater.enbxLevel5_WirelessRepeater2.enbxLevel5_WirelessRouters.enbxLevel6_CleanSlate.enbxLevel6_ConnectTheLaptop.enbxLevel6_ForbiddenVLAN.enbxLevel6_Intro3_LockedOut.enbxLevel6_NeedVLANs.enbxLevel6_SorryBoss.enbxLevel6_SwitchedUp.enbxLevel6_TaggedBetweenSwitches.enbxLevel6_TwoAccessPoints.enbxLevel6_VLANFrustrations.enbxLevel6_VLANRouting.enbxLevel6_VLANRouting2.enbxLevel6_VLAN_Intro.enbxLevel6_VLAN_Intro2.enbxLevel6_VlanRouting3.enbxLevel6_WhereFrom.enbxNBIco.icoOfficeBldgWired.enbxOfficeBldgWireless.enbxOneNet.enbxPC.pngPrinter.pngReleaseNotes.rtfRouter.pngServer.pngShapes.pngSquare.pngSwitch.pngThreeNets.enbxThumbs.dbTwoNets.enbxURLs.xmlVLAN.enbxVidImage.pngWAP.pngWBridge.pngWRepeater.pngWRouter.pngX.pngabout.rtfcellphone.pngclick.wavfirewall.pngfirewalls.enbxfluorescent.pnggpl.txtimg_arp.pngimg_dhcp.pngimg_ping.pngimg_tun.pngimg_vpn.pngip_phone.png
languages
level6_UntaggedAndDHCP.enbxlink.pngmicrowave.pngnoBeep.wavselect.pngtablet.pngtree.pngResources
Level0-Help.jsonLevel0-HubVsSwitch.jsonLevel0-IP.jsonLevel0-NeedsLink.jsonLevel0-NoSwitch.jsonLevel0-Ping.jsLevel0-Ping.jsonLevel0-SimpleDHCP.jsonLevel0_BadPower1.jsonLevel0_BadPower2.jsonLevel0_BrokenLink.jsonLevel0_Frozen.jsonLevel0_HiddenSwitch.jsonLevel0_NetworkLoop.jsonLevel0_NetworkLoop2.jsonLevel0_PacketCorruption1.jsonLevel0_PacketCorruption2.jsonLevel0_Power.jsonLevel0_Traceroute.jsonLevel1-BadDHCP.jsonLevel1-BadIP.jsonLevel1-DuplicateIPs.jsonLevel1-MidDHCP.jsonLevel1-NoGateway.jsonLevel1_AddingDevices.jsonLevel1_BadGateway.jsonLevel1_BadNetmask.jsonLevel1_DuplicateMAC.jsonLevel1_OneNetTwoSubnets.jsonLevel1_OneNetTwoSubnets2.jsonLevel1_Practice1.jsonLevel1_Practice2.jsonLevel1_Practice3.jsonLevel1_Practice4.jsonLevel1_Practice5.jsonLevel1_Practice6.jsonLevel1_Practice7.jsonLevel1_VPNTraceroute.jsonLevel23Level2_Bad_Encryption.jsonLevel2_Bad_Route.jsonLevel2_Bad_VPN_IP.jsonLevel2_Blast_From_Past.jsonLevel2_Build_A_VPN.jsonLevel2_CannotConnect.jsonLevel2_Connect_The_Dots.jsonLevel2_FirewallDemo.jsonLevel2_FirewallTest2.jsonLevel2_Not_Working.jsonLevel2_VPN_Demo.jsonLevel2_VPN_woes.jsonLevel3Level34Level3_BlackHole.jsonLevel3_Busted.jsonLevel3_Dead.jsonLevel3_EncryptionTroubles.jsonLevel3_GrandCentralStation.jsonLevel3_Middle_Man_Out.jsonLevel3_NowhereToGo.jsonLevel3_PhoneyNetwork.jsonLevel3_TwoDHCPServers.jsonLevel3_VPNify.jsonLevel3_invisible.jsonLevel45Level4_DualWans.jsonLevel4_Internalhemorrhage.jsonLevel4_InternelSubnetting.jsonLevel4_OneRoute.jsonLevel4_RouterReplacement.jsonLevel4_SinglesLife.jsonLevel4_SmallSubnets.jsonLevel4_WhoDidThat.jsonLevel5_APProblems.jsonLevel5_Failed.jsonLevel5_HereComesTrouble.jsonLevel5_LineOfSight.jsonLevel5_LostPacket.jsonLevel5_Practice1.jsonLevel5_Practice2.jsonLevel5_Practice3.jsonLevel5_Practice4.jsonLevel5_Practice5.jsonLevel5_Practice6.jsonLevel5_WirelessAccessPoint.jsonLevel5_WirelessBridge.jsonLevel5_WirelessCorruption.jsonLevel5_WirelessDevices.jsonLevel5_WirelessRepeater.jsonLevel5_WirelessRepeater2.jsonLevel5_WirelessRouters.jsonLevel6_CleanSlate.jsonLevel6_ConnectTheLaptop.jsonLevel6_ForbiddenVLAN.jsonLevel6_Intro3_LockedOut.jsonLevel6_NeedVLANs.jsonLevel6_SorryBoss.jsonLevel6_SwitchedUp.jsonLevel6_TaggedBetweenSwitches.jsonLevel6_TwoAccessPoints.jsonLevel6_VLANFrustrations.jsonLevel6_VLANRouting.jsonLevel6_VLANRouting2.jsonLevel6_VLAN_Intro.jsonLevel6_VLAN_Intro2.jsonLevel6_VlanRouting3.jsonLevel6_WhereFrom.jsonpuzzles.js
allpuzzles.jsimg
Animations.pngArrowDown.pngArrowUp.pngBurnMark.pngCircle.pngCopier.pngHub.pngLaptop.pngPC.pngPrinter.pngRouter.pngServer.pngShapes.pngSquare.pngSwitch.pngVidImage.pngWAP.pngWBridge.pngWRepeater.pngWRouter.pngX.pngcellphone.pngfirewall.pngfluorescent.pnginfo.pngip_phone.pnglink.pngmenu.pngmicrowave.pngselect.pngtablet.pngtree.png
index.htmlnetwork.jsscripts
selectmenu.jstextwindow.jsui.js
946
Web/Resources/Level1_OneNetTwoSubnets.json
Normal file
946
Web/Resources/Level1_OneNetTwoSubnets.json
Normal file
@@ -0,0 +1,946 @@
|
||||
{
|
||||
"EduNetworkBuilder": {
|
||||
"Network": {
|
||||
"fr_message": "Ce réseau a deux sous-réseaux différents utilisant le même commutateur. Ping depuis les différents PC vers les machines de l'autre réseau.",
|
||||
"en_message": "This network has two different subnets using the same switch. Ping from the different PCs to machines on the other network.\nThis is a two-part network; you will see this same network again in the next puzzle, but using one router instead of two. We will use these concepts later on, when we are dealing with security.",
|
||||
"en_title": "Two Subnets, Shared Network",
|
||||
"height": "1024",
|
||||
"width": "1024",
|
||||
"itemsize": "100",
|
||||
"showlabels": "full",
|
||||
"level": "1",
|
||||
"sortorder": "4",
|
||||
"uniqueidentifier": "137",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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": "100",
|
||||
"location": "220,60",
|
||||
"mytype": "router",
|
||||
"isdns": "False",
|
||||
"isdhcp": "False",
|
||||
"gateway": {
|
||||
"ip": "192.168.5.2",
|
||||
"mask": "0.0.0.0",
|
||||
"gateway": "0.0.0.0",
|
||||
"type": "gw"
|
||||
},
|
||||
"nic": [
|
||||
{
|
||||
"nictype": [
|
||||
"lo",
|
||||
"lo"
|
||||
],
|
||||
"nicname": "lo0",
|
||||
"myid": {
|
||||
"hostid": "100",
|
||||
"nicid": "101",
|
||||
"hostname": "router0",
|
||||
"nicname": "lo0"
|
||||
},
|
||||
"uniqueidentifier": "101",
|
||||
"usesdhcp": "False",
|
||||
"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": "router0",
|
||||
"nicname": "eth0"
|
||||
},
|
||||
"uniqueidentifier": "102",
|
||||
"usesdhcp": "False",
|
||||
"interface": {
|
||||
"nicname": "eth0",
|
||||
"myip": {
|
||||
"ip": "192.168.5.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": "router0",
|
||||
"nicname": "eth1"
|
||||
},
|
||||
"uniqueidentifier": "103",
|
||||
"usesdhcp": "False",
|
||||
"interface": {
|
||||
"nicname": "eth1",
|
||||
"myip": {
|
||||
"ip": "192.168.1.1",
|
||||
"mask": "255.255.255.0",
|
||||
"gateway": "0.0.0.0",
|
||||
"type": "ip"
|
||||
},
|
||||
"VLAN": {
|
||||
"@ID": "1",
|
||||
"#text": "Untagged"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"hostname": "router1",
|
||||
"size": "100",
|
||||
"uniqueidentifier": "104",
|
||||
"location": "560,60",
|
||||
"mytype": "router",
|
||||
"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": "104",
|
||||
"nicid": "105",
|
||||
"hostname": "router1",
|
||||
"nicname": "lo0"
|
||||
},
|
||||
"uniqueidentifier": "105",
|
||||
"usesdhcp": "False",
|
||||
"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": "104",
|
||||
"nicid": "106",
|
||||
"hostname": "router1",
|
||||
"nicname": "eth0"
|
||||
},
|
||||
"uniqueidentifier": "106",
|
||||
"usesdhcp": "False",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"nictype": [
|
||||
"eth",
|
||||
"eth"
|
||||
],
|
||||
"nicname": "eth1",
|
||||
"myid": {
|
||||
"hostid": "104",
|
||||
"nicid": "107",
|
||||
"hostname": "router1",
|
||||
"nicname": "eth1"
|
||||
},
|
||||
"uniqueidentifier": "107",
|
||||
"usesdhcp": "False",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"link": [
|
||||
{
|
||||
"SrcNic": {
|
||||
"hostid": "100",
|
||||
"nicid": "102",
|
||||
"hostname": "router0",
|
||||
"nicname": "eth0"
|
||||
},
|
||||
"DstNic": {
|
||||
"hostid": "104",
|
||||
"nicid": "106",
|
||||
"hostname": "router1",
|
||||
"nicname": "eth0"
|
||||
},
|
||||
"hostname": "router0_link_router1",
|
||||
"linktype": "normal",
|
||||
"uniqueidentifier": "108"
|
||||
},
|
||||
{
|
||||
"SrcNic": {
|
||||
"hostid": "100",
|
||||
"nicid": "103",
|
||||
"hostname": "router0",
|
||||
"nicname": "eth1"
|
||||
},
|
||||
"DstNic": {
|
||||
"hostid": "109",
|
||||
"nicid": "112",
|
||||
"hostname": "net_switch0",
|
||||
"nicname": "port1"
|
||||
},
|
||||
"hostname": "router0_link_net_switch0",
|
||||
"linktype": "normal",
|
||||
"uniqueidentifier": "119"
|
||||
},
|
||||
{
|
||||
"SrcNic": {
|
||||
"hostid": "109",
|
||||
"nicid": "113",
|
||||
"hostname": "net_switch0",
|
||||
"nicname": "port2"
|
||||
},
|
||||
"DstNic": {
|
||||
"hostid": "104",
|
||||
"nicid": "107",
|
||||
"hostname": "router1",
|
||||
"nicname": "eth1"
|
||||
},
|
||||
"hostname": "net_switch0_link_router1",
|
||||
"linktype": "normal",
|
||||
"uniqueidentifier": "120"
|
||||
},
|
||||
{
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"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": [
|
||||
"Ping",
|
||||
"Router"
|
||||
],
|
||||
"VLANName": {
|
||||
"@ID": "1",
|
||||
"@Color": "Blue",
|
||||
"#text": "Default"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user