diff --git a/EduNetworkBuilder/EduNetworkBuilder.csproj b/EduNetworkBuilder/EduNetworkBuilder.csproj index 1c50262..95127f6 100644 --- a/EduNetworkBuilder/EduNetworkBuilder.csproj +++ b/EduNetworkBuilder/EduNetworkBuilder.csproj @@ -280,6 +280,7 @@ + diff --git a/EduNetworkBuilder/NB.cs b/EduNetworkBuilder/NB.cs index d5cf7ee..e2b66c3 100644 --- a/EduNetworkBuilder/NB.cs +++ b/EduNetworkBuilder/NB.cs @@ -72,6 +72,7 @@ namespace EduNetworkBuilder Level4_InternalSubnetting, Level4_Internalhemorrhage, Level5_WirelessRouters, Level5_WirelessDevices, Level5_WirelessBridge, Level5_WirelessRepeater, Level5_WirelessRepeater2, Level5_WirelessAccessPoint, Level5_WirelessCorruption, Level5_Failed, Level5_LostPacket, Level5_HereComesTrouble, + Level5_APProblems, Level6_VLAN_Intro, Level6_VLAN_Intro2, Level6_Intro3_LockedOut, Level6_ForbiddenVLAN, Level6_TaggedBetweenSwitches, Level6_VLANRouting, Level6_VLANRouting2, level6_UntaggedAndDHCP, Level6_SorryBoss, Level6_VLANFrustrations, Level6_TwoAccessPoints, Level6_VlanRouting3, Level6_ConnectTheLaptop, Level6_CleanSlate, Level6_WhereFrom, diff --git a/EduNetworkBuilder/NetworkLink.cs b/EduNetworkBuilder/NetworkLink.cs index 797130e..4f21eea 100644 --- a/EduNetworkBuilder/NetworkLink.cs +++ b/EduNetworkBuilder/NetworkLink.cs @@ -203,6 +203,10 @@ namespace EduNetworkBuilder deleteme = true; if (LinkDistance() > NB.WirelessMaxUnsuccessfulLink) deleteme = true; + if (sDev.PowerOff) + deleteme = true; + if (dDev.PowerOff) + deleteme = true; } } if (sNic.isWireless() != dNic.isWireless()) diff --git a/EduNetworkBuilder/Properties/Resources.Designer.cs b/EduNetworkBuilder/Properties/Resources.Designer.cs index 2541bfa..810d982 100644 --- a/EduNetworkBuilder/Properties/Resources.Designer.cs +++ b/EduNetworkBuilder/Properties/Resources.Designer.cs @@ -721,6 +721,16 @@ namespace EduNetworkBuilder.Properties { } } + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] Level5_APProblems { + get { + object obj = ResourceManager.GetObject("Level5_APProblems", 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 40f346b..486fa99 100644 --- a/EduNetworkBuilder/Properties/Resources.resx +++ b/EduNetworkBuilder/Properties/Resources.resx @@ -457,4 +457,7 @@ ..\Resources\Level2_CannotConnect.enbx;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\Level5_APProblems.enbx;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/EduNetworkBuilder/Resources/Level5_APProblems.enbx b/EduNetworkBuilder/Resources/Level5_APProblems.enbx new file mode 100644 index 0000000..e6622dd --- /dev/null +++ b/EduNetworkBuilder/Resources/Level5_APProblems.enbx @@ -0,0 +1,1812 @@ + + + + + You are getting complaints that people cannot connect via wireless. There seems to be something wrong. + AP Problems + 1024 + 1024 + 100 + False + 5 + 5.7 + 224 + hints + True + False + + cellphone0 + 100 + 204 + 840,600 + cellphone + False + False + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 204 + 207 + cellphone0 + lo0 + + lo + 207 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wlan + wlan0 + + 204 + 208 + cellphone0 + wlan0 + + wlan + 208 + True + MyKey + MySSID + + wlan0 + + 192.168.2.10 + 255.255.255.0 + 192.168.2.1 + route + + Untagged + + + + + firewall0 + 100 + 100 + 180,510 + firewall + False + False + + 192.168.5.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 100 + 101 + firewall0 + lo0 + + lo + 101 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wan + wan0 + + 100 + 104 + firewall0 + wan0 + + wan + 104 + False + + wan0 + + 192.168.5.2 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 100 + 102 + firewall0 + eth0 + + eth + 102 + False + + eth0 + + 192.168.1.1 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth1 + + 100 + 103 + firewall0 + eth1 + + eth + 103 + False + + eth1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + vpn + vpn0 + + 100 + 157 + firewall0 + vpn0 + + vpn + 157 + False + Test + + 192.168.6.2 + 255.255.255.0 + 0.0.0.0 + ip_only + + + vpn0 + + 192.168.50.1 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + vpn + vpn1 + + 100 + 184 + firewall0 + vpn1 + + vpn + 184 + False + Secondary + + 192.168.7.2 + 255.255.255.0 + 0.0.0.0 + ip_only + + + vpn1 + + 192.168.51.1 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + 192.168.2.1 + 255.255.255.0 + 192.168.50.2 + route + + + 192.168.3.1 + 255.255.255.0 + 192.168.51.2 + route + + + + firewall1 + 100 + 105 + 510,260 + firewall + False + True + + 192.168.6.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 105 + 106 + firewall1 + lo0 + + lo + 106 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wan + wan0 + + 105 + 109 + firewall1 + wan0 + + wan + 109 + False + + wan0 + + 192.168.6.2 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 105 + 107 + firewall1 + eth0 + + eth + 107 + False + + eth0 + + 192.168.2.1 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth1 + + 105 + 108 + firewall1 + eth1 + + eth + 108 + False + + eth1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + vpn + vpn0 + + 105 + 156 + firewall1 + vpn0 + + vpn + 156 + False + Test + + 192.168.5.2 + 255.255.255.0 + 0.0.0.0 + ip_only + + + vpn0 + + 192.168.50.2 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + 192.168.1.1 + 255.255.255.0 + 192.168.50.1 + route + + + 192.168.3.1 + 255.255.255.0 + 192.168.50.1 + route + + + 127.0.0.1 + 0.0.0.0 + 0.0.0.0 + route + + + 192.168.6.2 + 0.0.0.0 + 0.0.0.0 + route + + + 192.168.2.1 + 192.168.2.10 + 192.168.2.20 + route + + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + route + + + 192.168.50.2 + 0.0.0.0 + 0.0.0.0 + route + + + + laptop0 + 100 + 140 + 280,830 + laptop + False + False + + 192.168.1.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 140 + 141 + laptop0 + lo0 + + lo + 141 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 140 + 142 + laptop0 + eth0 + + eth + 142 + False + + eth0 + + 192.168.1.3 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + laptop1 + 100 + 143 + 610,70 + laptop + False + False + + 192.168.2.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 143 + 144 + laptop1 + lo0 + + lo + 144 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 143 + 145 + laptop1 + eth0 + + eth + 145 + False + + eth0 + + 192.168.2.3 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + laptop2 + 100 + 210 + 600,590 + laptop + False + False + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 210 + 211 + laptop2 + lo0 + + lo + 211 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 210 + 212 + laptop2 + eth0 + + eth + 212 + False + + eth0 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wlan + wlan2 + + 210 + 213 + laptop2 + wlan2 + + wlan + 213 + True + MyKey + MySSID + + wlan2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + + net_switch0 + 100 + 114 + 180,670 + net_switch + False + False + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 114 + 115 + net_switch0 + lo0 + + lo + 115 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + management_interface + management_interface0 + + 114 + 116 + net_switch0 + management_interface0 + + management_interface + 116 + False + + management_interface0 + + 192.168.1.4 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + port + port1 + + 114 + 117 + net_switch0 + port1 + + port + 117 + False + + port1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port2 + + 114 + 118 + net_switch0 + port2 + + port + 118 + False + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port3 + + 114 + 119 + net_switch0 + port3 + + port + 119 + False + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port4 + + 114 + 120 + net_switch0 + port4 + + port + 120 + False + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port5 + + 114 + 121 + net_switch0 + port5 + + port + 121 + False + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port6 + + 114 + 122 + net_switch0 + port6 + + port + 122 + False + + port6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port7 + + 114 + 123 + net_switch0 + port7 + + port + 123 + False + + port7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + + net_switch1 + 100 + 124 + 680,260 + net_switch + False + False + + 192.168.2.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 124 + 125 + net_switch1 + lo0 + + lo + 125 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + management_interface + management_interface0 + + 124 + 126 + net_switch1 + management_interface0 + + management_interface + 126 + False + + management_interface0 + + 192.168.2.4 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + port + port1 + + 124 + 127 + net_switch1 + port1 + + port + 127 + False + + port1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port2 + + 124 + 128 + net_switch1 + port2 + + port + 128 + False + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port3 + + 124 + 129 + net_switch1 + port3 + + port + 129 + False + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port4 + + 124 + 130 + net_switch1 + port4 + + port + 130 + False + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port5 + + 124 + 131 + net_switch1 + port5 + + port + 131 + False + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port6 + + 124 + 132 + net_switch1 + port6 + + port + 132 + False + + port6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + port + port7 + + 124 + 133 + net_switch1 + port7 + + port + 133 + False + + port7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + + pc0 + 100 + 134 + 90,830 + pc + False + False + + 192.168.1.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 134 + 135 + pc0 + lo0 + + lo + 135 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 134 + 136 + pc0 + eth0 + + eth + 136 + False + + eth0 + + 192.168.1.2 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + pc1 + 100 + 137 + 780,80 + pc + False + False + + 192.168.2.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 137 + 138 + pc1 + lo0 + + lo + 138 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 137 + 139 + pc1 + eth0 + + eth + 139 + False + + eth0 + + 192.168.2.2 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + router0 + 100 + 110 + 340,260 + router + False + False + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 110 + 111 + router0 + lo0 + + lo + 111 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth0 + + 110 + 112 + router0 + eth0 + + eth + 112 + False + + eth0 + + 192.168.6.1 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth1 + + 110 + 113 + router0 + eth1 + + eth + 113 + False + + eth1 + + 192.168.5.1 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth2 + + 110 + 182 + router0 + eth2 + + eth + 182 + False + + eth2 + + 192.168.7.1 + 255.255.255.0 + 0.0.0.0 + ip + + Untagged + + + + + tablet0 + 100 + 198 + 720,600 + tablet + False + False + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 198 + 201 + tablet0 + lo0 + + lo + 201 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wlan + wlan0 + + 198 + 202 + tablet0 + wlan0 + + wlan + 202 + True + MyKey + MySSID + + wlan0 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + + wap0 + 100 + 186 + 790,390 + wap + False + False + True + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 186 + 189 + wap0 + lo0 + + lo + 189 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + eth + eth1 + + 186 + 190 + wap0 + eth1 + + eth + 190 + False + + eth1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wport + wport2 + + 186 + 191 + wap0 + wport2 + + wport + 191 + False + MyKey + MySSID + + wport2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wport + wport3 + + 186 + 192 + wap0 + wport3 + + wport + 192 + False + MyKey + MySSID + + wport3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wport + wport4 + + 186 + 193 + wap0 + wport4 + + wport + 193 + False + MyKey + MySSID + + wport4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wport + wport5 + + 186 + 194 + wap0 + wport5 + + wport + 194 + False + MyKey + MySSID + + wport5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wport + wport6 + + 186 + 195 + wap0 + wport6 + + wport + 195 + False + MyKey + MySSID + + wport6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + wport + wport7 + + 186 + 196 + wap0 + wport7 + + wport + 196 + False + MyKey + MySSID + + wport7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + Untagged + + + + + + 186 + 190 + wap0 + eth1 + + + 124 + 130 + net_switch1 + port4 + + + normal + 197 + + + + 134 + 136 + pc0 + eth0 + + + 114 + 117 + net_switch0 + port1 + + + normal + 146 + + + + 114 + 119 + net_switch0 + port3 + + + 100 + 102 + firewall0 + eth0 + + + normal + 154 + + + + 105 + 109 + firewall1 + wan0 + + + 110 + 112 + router0 + eth0 + + + normal + 153 + + + + 137 + 139 + pc1 + eth0 + + + 124 + 127 + net_switch1 + port1 + + + normal + 149 + + + + 140 + 142 + laptop0 + eth0 + + + 114 + 118 + net_switch0 + port2 + + + normal + 147 + + + + 143 + 145 + laptop1 + eth0 + + + 124 + 128 + net_switch1 + port2 + + + normal + 150 + + + + 124 + 129 + net_switch1 + port3 + + + 105 + 107 + firewall1 + eth0 + + + normal + 152 + + + + 100 + 104 + firewall0 + wan0 + + + 110 + 113 + router0 + eth1 + + + normal + 155 + + + cellphone0 + pc0 + SuccessfullyPings + + Default + + \ No newline at end of file