Adding Puzzle for Level5

This commit is contained in:
Tim Young 2015-10-31 17:01:54 -04:00
parent ebff42b88c
commit 0e71fbdca7
5 changed files with 726 additions and 7 deletions

View File

@ -254,6 +254,7 @@
<None Include="Resources\Level4_RouterReplacement.enbx" />
<None Include="Resources\Level4_SinglesLife.enbx" />
<None Include="Resources\Level4_SmallSubnets.enbx" />
<None Include="Resources\Level5_WirelessDevices.enbx" />
<None Include="Resources\OneNet.enbx" />
<None Include="Resources\Puzzle-BadDHCP.enbx" />
<None Include="Resources\Puzzle-BadIP.enbx" />

View File

@ -64,7 +64,8 @@ namespace EduNetworkBuilder
Level3_NowhereToGo, Level3_GrandCentralStation, Level3_Dead, Level0_NetworkLoop2, Level0_BrokenLink,
Level3_TwoDHCPServers,
Level4_DualWans, Level4_SinglesLife, Level4_SmallSubnets, Level4_OneRoute, Level4_RouterReplacement,
Level4_InternalSubnetting, Level4_Internalhemorrhage
Level4_InternalSubnetting, Level4_Internalhemorrhage,
Level5_WirelessDevices
}
public enum DebugPausePoint { none=0, packet_create=1, packet_kill=2,
packet_in=4, packet_out=8, packet_duplicate=16, all=63,

View File

@ -668,6 +668,16 @@ namespace EduNetworkBuilder.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] Level5_WirelessDevices {
get {
object obj = ResourceManager.GetObject("Level5_WirelessDevices", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -731,12 +741,11 @@ namespace EduNetworkBuilder.Properties {
/// <summary>
/// Looks up a localized string similar to {\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
///{\*\generator Riched20 10.0.10240}\viewkind4\uc1
///\pard\sa200\sl276\slmult1\b\f0\fs22\lang9 Version 1.0.22\b0\par
///* Added ssid and keys for wireless links\par
///* Wireless will auto-disconnect if link is too long\par
///* Wireless will auto-connect if ssid and key match, if link is short enough\par
///* Packets will drop on wireless links if distance is too great\par
///* wport has no interface (cannot edit IP address)\p [rest of string was truncated]&quot;;.
///\pard\sa200\sl276\slmult1\b\f0\fs22\lang9 Version 1.0.23 09/20/2015\par
///\b0 * Fixed issues with broadcast packets\par
///* Fixed a network loop issue\par
///* Fixed issue with multiple interfaces and being able to go out a different interface than we came in on\par
///* Fixed many small bugs that crept in when fixing other bugs. Now all puzzles seem to play correctly\ [rest of string was truncated]&quot;;.
/// </summary>
internal static string ReleaseNotes {
get {

View File

@ -355,4 +355,7 @@
<data name="Level3_TwoDHCPServers" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Level3_TwoDHCPServers.enbx;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="Level5_WirelessDevices" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Level5_WirelessDevices.enbx;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>

View File

@ -0,0 +1,705 @@
<?xml version="1.0" encoding="utf-8"?>
<EduNetworkBuilder>
<!--This is a network file for EduNetworkBuilder.-->
<Network>
<en_message>Start by adding a cellphone, tablet, and laptop all to the network. When you add them, you need to configure the wireless SSID and Key of the device. You can do this two ways. You can drag a link from the device to the wireless access point, or you can edit the wireless nic and manually configure the ssid and key.
You also want to give all three devices IP addresses (via DHCP or static).</en_message>
<en_title>Wireless Devices</en_title>
<height>1024</height>
<width>1024</width>
<itemsize>100</itemsize>
<showlabels>False</showlabels>
<level>5</level>
<sortorder>1</sortorder>
<uniqueidentifier>132</uniqueidentifier>
<startinghelplevel>full</startinghelplevel>
<device>
<hostname>pc0</hostname>
<size>100</size>
<uniqueidentifier>123</uniqueidentifier>
<location>630,180</location>
<mytype>pc</mytype>
<isdns>False</isdns>
<isdhcp>False</isdhcp>
<gateway>
<ip>192.168.7.1</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>gw</type>
</gateway>
<nic>
<nictype>lo</nictype>
<nicname>lo0</nicname>
<myid>
<hostid>123</hostid>
<nicid>124</nicid>
<hostname>pc0</hostname>
<nicname>lo0</nicname>
</myid>
<nictype>lo</nictype>
<uniqueidentifier>124</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>lo0</nicname>
<myip>
<ip>127.0.0.1</ip>
<mask>255.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>eth</nictype>
<nicname>eth0</nicname>
<myid>
<hostid>123</hostid>
<nicid>125</nicid>
<hostname>pc0</hostname>
<nicname>eth0</nicname>
</myid>
<nictype>eth</nictype>
<uniqueidentifier>125</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>eth0</nicname>
<myip>
<ip>192.168.7.2</ip>
<mask>255.255.255.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
</device>
<device>
<hostname>pc1</hostname>
<size>100</size>
<uniqueidentifier>128</uniqueidentifier>
<location>430,560</location>
<mytype>pc</mytype>
<isdns>False</isdns>
<isdhcp>False</isdhcp>
<gateway>
<ip>192.168.1.1</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>gw</type>
</gateway>
<nic>
<nictype>lo</nictype>
<nicname>lo0</nicname>
<myid>
<hostid>128</hostid>
<nicid>129</nicid>
<hostname>pc1</hostname>
<nicname>lo0</nicname>
</myid>
<nictype>lo</nictype>
<uniqueidentifier>129</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>lo0</nicname>
<myip>
<ip>127.0.0.1</ip>
<mask>255.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>eth</nictype>
<nicname>eth0</nicname>
<myid>
<hostid>128</hostid>
<nicid>130</nicid>
<hostname>pc1</hostname>
<nicname>eth0</nicname>
</myid>
<nictype>eth</nictype>
<uniqueidentifier>130</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>eth0</nicname>
<myip>
<ip>192.168.1.2</ip>
<mask>255.255.255.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
</device>
<device>
<hostname>router0</hostname>
<size>100</size>
<uniqueidentifier>119</uniqueidentifier>
<location>430,180</location>
<mytype>router</mytype>
<isdns>False</isdns>
<isdhcp>False</isdhcp>
<gateway>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>gw</type>
</gateway>
<nic>
<nictype>lo</nictype>
<nicname>lo0</nicname>
<myid>
<hostid>119</hostid>
<nicid>120</nicid>
<hostname>router0</hostname>
<nicname>lo0</nicname>
</myid>
<nictype>lo</nictype>
<uniqueidentifier>120</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>lo0</nicname>
<myip>
<ip>127.0.0.1</ip>
<mask>255.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>eth</nictype>
<nicname>eth0</nicname>
<myid>
<hostid>119</hostid>
<nicid>121</nicid>
<hostname>router0</hostname>
<nicname>eth0</nicname>
</myid>
<nictype>eth</nictype>
<uniqueidentifier>121</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>eth0</nicname>
<myip>
<ip>192.168.6.1</ip>
<mask>255.255.255.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>eth</nictype>
<nicname>eth1</nicname>
<myid>
<hostid>119</hostid>
<nicid>122</nicid>
<hostname>router0</hostname>
<nicname>eth1</nicname>
</myid>
<nictype>eth</nictype>
<uniqueidentifier>122</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>eth1</nicname>
<myip>
<ip>192.168.7.1</ip>
<mask>255.255.255.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<route>
<ip>192.168.1.1</ip>
<mask>255.255.255.0</mask>
<gateway>192.168.6.2</gateway>
<type>route</type>
</route>
</device>
<device>
<hostname>wrouter0</hostname>
<size>100</size>
<uniqueidentifier>100</uniqueidentifier>
<location>430,390</location>
<mytype>wrouter</mytype>
<isdns>False</isdns>
<isdhcp>True</isdhcp>
<gateway>
<ip>192.168.6.1</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>gw</type>
</gateway>
<nic>
<nictype>lo</nictype>
<nicname>lo0</nicname>
<myid>
<hostid>100</hostid>
<nicid>103</nicid>
<hostname>wrouter0</hostname>
<nicname>lo0</nicname>
</myid>
<nictype>lo</nictype>
<uniqueidentifier>103</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>lo0</nicname>
<myip>
<ip>127.0.0.1</ip>
<mask>255.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>wan</nictype>
<nicname>wan0</nicname>
<myid>
<hostid>100</hostid>
<nicid>118</nicid>
<hostname>wrouter0</hostname>
<nicname>wan0</nicname>
</myid>
<nictype>wan</nictype>
<uniqueidentifier>118</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>wan0</nicname>
<myip>
<ip>192.168.6.2</ip>
<mask>255.255.255.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>vpn</nictype>
<nicname>vpn0</nicname>
<myid>
<hostid>100</hostid>
<nicid>117</nicid>
<hostname>wrouter0</hostname>
<nicname>vpn0</nicname>
</myid>
<nictype>vpn</nictype>
<uniqueidentifier>117</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>vpn0</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>management_interface</nictype>
<nicname>management_interface0</nicname>
<myid>
<hostid>100</hostid>
<nicid>104</nicid>
<hostname>wrouter0</hostname>
<nicname>management_interface0</nicname>
</myid>
<nictype>management_interface</nictype>
<uniqueidentifier>104</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>management_interface0</nicname>
<myip>
<ip>192.168.1.1</ip>
<mask>255.255.255.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>port</nictype>
<nicname>port2</nicname>
<myid>
<hostid>100</hostid>
<nicid>105</nicid>
<hostname>wrouter0</hostname>
<nicname>port2</nicname>
</myid>
<nictype>port</nictype>
<uniqueidentifier>105</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>port2</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>port</nictype>
<nicname>port3</nicname>
<myid>
<hostid>100</hostid>
<nicid>106</nicid>
<hostname>wrouter0</hostname>
<nicname>port3</nicname>
</myid>
<nictype>port</nictype>
<uniqueidentifier>106</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>port3</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>port</nictype>
<nicname>port4</nicname>
<myid>
<hostid>100</hostid>
<nicid>107</nicid>
<hostname>wrouter0</hostname>
<nicname>port4</nicname>
</myid>
<nictype>port</nictype>
<uniqueidentifier>107</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>port4</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>port</nictype>
<nicname>port5</nicname>
<myid>
<hostid>100</hostid>
<nicid>108</nicid>
<hostname>wrouter0</hostname>
<nicname>port5</nicname>
</myid>
<nictype>port</nictype>
<uniqueidentifier>108</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<interface>
<nicname>port5</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>wport</nictype>
<nicname>wport6</nicname>
<myid>
<hostid>100</hostid>
<nicid>109</nicid>
<hostname>wrouter0</hostname>
<nicname>wport6</nicname>
</myid>
<nictype>wport</nictype>
<uniqueidentifier>109</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<encryptionkey>TheKey</encryptionkey>
<ssid>my_ssid</ssid>
<interface>
<nicname>wport6</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>wport</nictype>
<nicname>wport7</nicname>
<myid>
<hostid>100</hostid>
<nicid>110</nicid>
<hostname>wrouter0</hostname>
<nicname>wport7</nicname>
</myid>
<nictype>wport</nictype>
<uniqueidentifier>110</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<encryptionkey>TheKey</encryptionkey>
<ssid>my_ssid</ssid>
<interface>
<nicname>wport7</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>wport</nictype>
<nicname>wport8</nicname>
<myid>
<hostid>100</hostid>
<nicid>111</nicid>
<hostname>wrouter0</hostname>
<nicname>wport8</nicname>
</myid>
<nictype>wport</nictype>
<uniqueidentifier>111</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<encryptionkey>TheKey</encryptionkey>
<ssid>my_ssid</ssid>
<interface>
<nicname>wport8</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>wport</nictype>
<nicname>wport9</nicname>
<myid>
<hostid>100</hostid>
<nicid>112</nicid>
<hostname>wrouter0</hostname>
<nicname>wport9</nicname>
</myid>
<nictype>wport</nictype>
<uniqueidentifier>112</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<encryptionkey>TheKey</encryptionkey>
<ssid>my_ssid</ssid>
<interface>
<nicname>wport9</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>wport</nictype>
<nicname>wport10</nicname>
<myid>
<hostid>100</hostid>
<nicid>113</nicid>
<hostname>wrouter0</hostname>
<nicname>wport10</nicname>
</myid>
<nictype>wport</nictype>
<uniqueidentifier>113</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<encryptionkey>TheKey</encryptionkey>
<ssid>my_ssid</ssid>
<interface>
<nicname>wport10</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>wport</nictype>
<nicname>wport11</nicname>
<myid>
<hostid>100</hostid>
<nicid>114</nicid>
<hostname>wrouter0</hostname>
<nicname>wport11</nicname>
</myid>
<nictype>wport</nictype>
<uniqueidentifier>114</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<encryptionkey>TheKey</encryptionkey>
<ssid>my_ssid</ssid>
<interface>
<nicname>wport11</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>wport</nictype>
<nicname>wport12</nicname>
<myid>
<hostid>100</hostid>
<nicid>115</nicid>
<hostname>wrouter0</hostname>
<nicname>wport12</nicname>
</myid>
<nictype>wport</nictype>
<uniqueidentifier>115</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<encryptionkey>TheKey</encryptionkey>
<ssid>my_ssid</ssid>
<interface>
<nicname>wport12</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<nic>
<nictype>wport</nictype>
<nicname>wport13</nicname>
<myid>
<hostid>100</hostid>
<nicid>116</nicid>
<hostname>wrouter0</hostname>
<nicname>wport13</nicname>
</myid>
<nictype>wport</nictype>
<uniqueidentifier>116</uniqueidentifier>
<usesdhcp>False</usesdhcp>
<encryptionkey>TheKey</encryptionkey>
<ssid>my_ssid</ssid>
<interface>
<nicname>wport13</nicname>
<myip>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>ip</type>
</myip>
</interface>
</nic>
<dhcprange>
<ip>127.0.0.1</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>route</type>
</dhcprange>
<dhcprange>
<ip>0.0.0.0</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>route</type>
</dhcprange>
<dhcprange>
<ip>192.168.6.2</ip>
<mask>0.0.0.0</mask>
<gateway>0.0.0.0</gateway>
<type>route</type>
</dhcprange>
<dhcprange>
<ip>192.168.1.1</ip>
<mask>192.168.1.5</mask>
<gateway>192.168.1.10</gateway>
<type>route</type>
</dhcprange>
</device>
<link>
<SrcNic>
<hostid>100</hostid>
<nicid>118</nicid>
<hostname>wrouter0</hostname>
<nicname>wan0</nicname>
</SrcNic>
<DstNic>
<hostid>119</hostid>
<nicid>121</nicid>
<hostname>router0</hostname>
<nicname>eth0</nicname>
</DstNic>
<hostname />
<linktype>normal</linktype>
<uniqueidentifier>126</uniqueidentifier>
</link>
<link>
<SrcNic>
<hostid>119</hostid>
<nicid>122</nicid>
<hostname>router0</hostname>
<nicname>eth1</nicname>
</SrcNic>
<DstNic>
<hostid>123</hostid>
<nicid>125</nicid>
<hostname>pc0</hostname>
<nicname>eth0</nicname>
</DstNic>
<hostname />
<linktype>normal</linktype>
<uniqueidentifier>127</uniqueidentifier>
</link>
<link>
<SrcNic>
<hostid>128</hostid>
<nicid>130</nicid>
<hostname>pc1</hostname>
<nicname>eth0</nicname>
</SrcNic>
<DstNic>
<hostid>100</hostid>
<nicid>105</nicid>
<hostname>wrouter0</hostname>
<nicname>port2</nicname>
</DstNic>
<hostname />
<linktype>normal</linktype>
<uniqueidentifier>131</uniqueidentifier>
</link>
<nettest>
<shost>tablet0</shost>
<dhost>wrouter0</dhost>
<thetest>NeedsLinkToDevice</thetest>
</nettest>
<nettest>
<shost>laptop0</shost>
<dhost>wrouter0</dhost>
<thetest>NeedsLinkToDevice</thetest>
</nettest>
<nettest>
<shost>cellphone0</shost>
<dhost>wrouter0</dhost>
<thetest>NeedsLinkToDevice</thetest>
</nettest>
<nettest>
<shost>cellphone0</shost>
<dhost>tablet0</dhost>
<thetest>SuccessfullyPings</thetest>
</nettest>
<nettest>
<shost>cellphone0</shost>
<dhost>laptop0</dhost>
<thetest>SuccessfullyPings</thetest>
</nettest>
</Network>
</EduNetworkBuilder>