From b1eb2f1ec38517502aea64406d25a79f62ee17bf Mon Sep 17 00:00:00 2001 From: Tim Young Date: Wed, 21 Feb 2018 08:11:32 -0600 Subject: [PATCH] Add a frozen device puzzle --- EduNetworkBuilder/EduNetworkBuilder.csproj | 1 + EduNetworkBuilder/NB.cs | 2 +- .../Properties/Resources.Designer.cs | 10 + EduNetworkBuilder/Properties/Resources.resx | 3 + .../Resources/Level0_Frozen.enbx | 611 ++++++++++++++++++ 5 files changed, 626 insertions(+), 1 deletion(-) create mode 100644 EduNetworkBuilder/Resources/Level0_Frozen.enbx diff --git a/EduNetworkBuilder/EduNetworkBuilder.csproj b/EduNetworkBuilder/EduNetworkBuilder.csproj index 38ed65a..a93d282 100644 --- a/EduNetworkBuilder/EduNetworkBuilder.csproj +++ b/EduNetworkBuilder/EduNetworkBuilder.csproj @@ -272,6 +272,7 @@ + diff --git a/EduNetworkBuilder/NB.cs b/EduNetworkBuilder/NB.cs index 366bd6d..ea45e37 100644 --- a/EduNetworkBuilder/NB.cs +++ b/EduNetworkBuilder/NB.cs @@ -67,7 +67,7 @@ namespace EduNetworkBuilder { Level0_IP, Level1_NoGateway, Level0_NeedsLink, Level0_NoSwitch, Level1_BadDHCP, Level1_BadGateway, Level0_SimpleDHCP, Level1_BadIP, Level0_Help, Level0_Ping, Level0_HubVsSwitch, Level0_Power, - Level0_NetworkLoop2, Level0_BrokenLink, Level0_HiddenSwitch, + Level0_NetworkLoop2, Level0_BrokenLink, Level0_HiddenSwitch, Level0_Frozen, Level0_PacketCorruption1, Level0_PacketCorruption2, Level0_Traceroute, Level1_AddingDevices, Level1_MidDHCP, Level1_OneNetTwoSubnets, Level1_DuplicateIPs, Level0_NetworkLoop, Level1_DuplicateMAC, Level1_BadNetmask, Level1_VPNTraceroute, diff --git a/EduNetworkBuilder/Properties/Resources.Designer.cs b/EduNetworkBuilder/Properties/Resources.Designer.cs index 858c075..d5dc6c5 100644 --- a/EduNetworkBuilder/Properties/Resources.Designer.cs +++ b/EduNetworkBuilder/Properties/Resources.Designer.cs @@ -251,6 +251,16 @@ namespace EduNetworkBuilder.Properties { } } + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] Level0_Frozen { + get { + object obj = ResourceManager.GetObject("Level0_Frozen", resourceCulture); + return ((byte[])(obj)); + } + } + /// /// Looks up a localized resource of type System.Byte[]. /// diff --git a/EduNetworkBuilder/Properties/Resources.resx b/EduNetworkBuilder/Properties/Resources.resx index 58e6552..a4f44d7 100644 --- a/EduNetworkBuilder/Properties/Resources.resx +++ b/EduNetworkBuilder/Properties/Resources.resx @@ -496,4 +496,7 @@ ..\Resources\BurnMark.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\Level0_Frozen.enbx;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/EduNetworkBuilder/Resources/Level0_Frozen.enbx b/EduNetworkBuilder/Resources/Level0_Frozen.enbx new file mode 100644 index 0000000..9948f84 --- /dev/null +++ b/EduNetworkBuilder/Resources/Level0_Frozen.enbx @@ -0,0 +1,611 @@ + + + + + Every once in a while a piece of hardware will freeze up and needs to be rebooted. + +Try pinging laptop1 from PC0 and see how the packet fails. It does not get past the switch. + +Right-click the switch and power it off, then power it back on. Now try pinging laptop1. + Frozen! + + 1024 + 1024 + 100 + host + 0 + 3.5 + 130 + full + True + False + + laptop0 + 100 + 103 + 559,560 + laptop + False + False + + 192.168.1.1 + 255.255.255.0 + 0.0.0.0 + gw + + + lo + lo0 + + 103 + 104 + laptop0 + lo0 + + lo + 104 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 103 + 105 + laptop0 + eth0 + + eth + 105 + False + + eth0 + + 192.168.1.3 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + laptop1 + 100 + 123 + 680,160 + laptop + False + False + + 192.168.2.1 + 255.255.255.0 + 0.0.0.0 + gw + + + lo + lo0 + + 123 + 124 + laptop1 + lo0 + + lo + 124 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 123 + 125 + laptop1 + eth0 + + eth + 125 + False + + eth0 + + 192.168.2.2 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + net_switch0 + 100 + 109 + 400,320 + net_switch + False + False + + 192.168.1.1 + 255.255.255.0 + 0.0.0.0 + gw + + + lo + lo0 + + 109 + 110 + net_switch0 + lo0 + + lo + 110 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + management_interface + management_interface0 + + 109 + 111 + net_switch0 + management_interface0 + + management_interface + 111 + False + + management_interface0 + + 192.168.1.4 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + port + port1 + + 109 + 112 + net_switch0 + port1 + + port + 112 + False + + port1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port2 + + 109 + 113 + net_switch0 + port2 + + port + 113 + False + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port3 + + 109 + 114 + net_switch0 + port3 + + port + 114 + False + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port4 + + 109 + 115 + net_switch0 + port4 + + port + 115 + False + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port5 + + 109 + 116 + net_switch0 + port5 + + port + 116 + False + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port6 + + 109 + 117 + net_switch0 + port6 + + port + 117 + False + + port6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port7 + + 109 + 118 + net_switch0 + port7 + + port + 118 + False + + port7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + + pc0 + 100 + 100 + 246,560 + pc + False + False + + 192.168.1.1 + 255.255.255.0 + 0.0.0.0 + gw + + + lo + lo0 + + 100 + 101 + pc0 + lo0 + + lo + 101 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 100 + 102 + pc0 + eth0 + + eth + 102 + False + + eth0 + + 192.168.1.2 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + router0 + 100 + 119 + 400,160 + router + False + False + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 119 + 120 + router0 + lo0 + + lo + 120 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 119 + 121 + router0 + eth0 + + eth + 121 + False + + eth0 + + 192.168.1.1 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth1 + + 119 + 122 + router0 + eth1 + + eth + 122 + False + + eth1 + + 192.168.2.1 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + + 100 + 102 + pc0 + eth0 + + + 109 + 112 + net_switch0 + port1 + + pc0_link_net_switch0 + normal + 126 + + + + 103 + 105 + laptop0 + eth0 + + + 109 + 113 + net_switch0 + port2 + + laptop0_link_net_switch0 + normal + 127 + + + + 109 + 114 + net_switch0 + port3 + + + 119 + 121 + router0 + eth0 + + net_switch0_link_router0 + normal + 128 + + + + 119 + 122 + router0 + eth1 + + + 123 + 125 + laptop1 + eth0 + + router0_link_laptop1 + normal + 129 + + + net_switch0 + net_switch0 + DeviceIsFrozen + + + pc0 + laptop1 + SuccessfullyPings + + Default + + \ No newline at end of file