diff --git a/EduNetworkBuilder/EduNetworkBuilder.csproj b/EduNetworkBuilder/EduNetworkBuilder.csproj index 6c3f7f3e..0f79ea2 100644 --- a/EduNetworkBuilder/EduNetworkBuilder.csproj +++ b/EduNetworkBuilder/EduNetworkBuilder.csproj @@ -255,6 +255,7 @@ + diff --git a/EduNetworkBuilder/NB.cs b/EduNetworkBuilder/NB.cs index 6c17eec..38b72cd 100644 --- a/EduNetworkBuilder/NB.cs +++ b/EduNetworkBuilder/NB.cs @@ -65,7 +65,7 @@ namespace EduNetworkBuilder Level3_TwoDHCPServers, Level4_DualWans, Level4_SinglesLife, Level4_SmallSubnets, Level4_OneRoute, Level4_RouterReplacement, Level4_InternalSubnetting, Level4_Internalhemorrhage, - Level5_WirelessDevices + Level5_WirelesRouters, Level5_WirelessDevices } public enum DebugPausePoint { none=0, packet_create=1, packet_kill=2, packet_in=4, packet_out=8, packet_duplicate=16, all=63, diff --git a/EduNetworkBuilder/Properties/Resources.Designer.cs b/EduNetworkBuilder/Properties/Resources.Designer.cs index 0c4540f..b55a9bf 100644 --- a/EduNetworkBuilder/Properties/Resources.Designer.cs +++ b/EduNetworkBuilder/Properties/Resources.Designer.cs @@ -678,6 +678,16 @@ namespace EduNetworkBuilder.Properties { } } + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] Level5_WirelessRouters { + get { + object obj = ResourceManager.GetObject("Level5_WirelessRouters", resourceCulture); + return ((byte[])(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/EduNetworkBuilder/Properties/Resources.resx b/EduNetworkBuilder/Properties/Resources.resx index 7382fcb..f7a151e 100644 --- a/EduNetworkBuilder/Properties/Resources.resx +++ b/EduNetworkBuilder/Properties/Resources.resx @@ -358,4 +358,7 @@ ..\Resources\Level5_WirelessDevices.enbx;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\Level5_WirelessRouters.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_WirelessDevices.enbx b/EduNetworkBuilder/Resources/Level5_WirelessDevices.enbx index 9996977..9db21cf 100644 --- a/EduNetworkBuilder/Resources/Level5_WirelessDevices.enbx +++ b/EduNetworkBuilder/Resources/Level5_WirelessDevices.enbx @@ -10,7 +10,7 @@ You also want to give all three devices IP addresses (via DHCP or static).100 False 5 - 1 + 2 132 full diff --git a/EduNetworkBuilder/Resources/Level5_WirelessRouters.enbx b/EduNetworkBuilder/Resources/Level5_WirelessRouters.enbx new file mode 100644 index 0000000..00bf1b2 --- /dev/null +++ b/EduNetworkBuilder/Resources/Level5_WirelessRouters.enbx @@ -0,0 +1,1871 @@ + + + + + Wireless Routers are both firewalls and routers. They are also wireless access points, but we do not care about that for this exercise. From PC0, ping pc1 and pc2. From pc2, try (and fail) to ping pc0. + Wireless Router + 1024 + 1024 + 100 + True + 5 + 1 + 232 + full + + 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 + + + + + eth + eth0 + + 140 + 142 + laptop0 + eth0 + + eth + 142 + False + + + + eth0 + + 192.168.1.3 + 255.255.255.0 + 0.0.0.0 + ip + + + + + + laptop1 + 100 + 143 + 800,850 + 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 + + + + + eth + eth0 + + 143 + 145 + laptop1 + eth0 + + eth + 145 + False + + + + eth0 + + 192.168.2.3 + 255.255.255.0 + 0.0.0.0 + ip + + + + + + 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 + + + + + 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 + + + + + port + port1 + + 114 + 117 + net_switch0 + port1 + + port + 117 + False + + + + port1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port2 + + 114 + 118 + net_switch0 + port2 + + port + 118 + False + + + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port3 + + 114 + 119 + net_switch0 + port3 + + port + 119 + False + + + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port4 + + 114 + 120 + net_switch0 + port4 + + port + 120 + False + + + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port5 + + 114 + 121 + net_switch0 + port5 + + port + 121 + False + + + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port6 + + 114 + 122 + net_switch0 + port6 + + port + 122 + False + + + + port6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port7 + + 114 + 123 + net_switch0 + port7 + + port + 123 + False + + + + port7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + + net_switch1 + 100 + 124 + 700,690 + 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 + + + + + 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 + + + + + port + port1 + + 124 + 127 + net_switch1 + port1 + + port + 127 + False + + + + port1 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port2 + + 124 + 128 + net_switch1 + port2 + + port + 128 + False + + + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port3 + + 124 + 129 + net_switch1 + port3 + + port + 129 + False + + + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port4 + + 124 + 130 + net_switch1 + port4 + + port + 130 + False + + + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port5 + + 124 + 131 + net_switch1 + port5 + + port + 131 + False + + + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port6 + + 124 + 132 + net_switch1 + port6 + + port + 132 + False + + + + port6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port7 + + 124 + 133 + net_switch1 + port7 + + port + 133 + False + + + + port7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + + 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 + + + + + eth + eth0 + + 134 + 136 + pc0 + eth0 + + eth + 136 + False + + + + eth0 + + 192.168.1.2 + 255.255.255.0 + 0.0.0.0 + ip + + + + + + pc1 + 100 + 137 + 600,850 + 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 + + + + + eth + eth0 + + 137 + 139 + pc1 + eth0 + + eth + 139 + False + + + + eth0 + + 192.168.2.2 + 255.255.255.0 + 0.0.0.0 + ip + + + + + + pc2 + 100 + 228 + 430,100 + pc + False + False + + 192.168.7.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 228 + 229 + pc2 + lo0 + + lo + 229 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + eth + eth0 + + 228 + 230 + pc2 + eth0 + + eth + 230 + False + + eth0 + + 192.168.7.2 + 255.255.255.0 + 0.0.0.0 + ip + + + + + + router0 + 100 + 110 + 430,330 + 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 + + + + + eth + eth0 + + 110 + 112 + router0 + eth0 + + eth + 112 + False + + + + eth0 + + 192.168.6.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + eth + eth1 + + 110 + 113 + router0 + eth1 + + eth + 113 + False + + + + eth1 + + 192.168.5.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + eth + eth2 + + 110 + 182 + router0 + eth2 + + eth + 182 + False + + + + eth2 + + 192.168.7.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + 192.168.1.1 + 255.255.255.0 + 192.168.5.2 + route + + + 192.168.2.1 + 255.255.255.0 + 192.168.6.2 + route + + + + wrouter0 + 100 + 186 + 180,480 + wrouter + False + False + + 192.168.5.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 186 + 189 + wrouter0 + lo0 + + lo + 189 + False + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + wan + wan0 + + 186 + 204 + wrouter0 + wan0 + + wan + 204 + False + + wan0 + + 192.168.5.2 + 255.255.255.0 + 0.0.0.0 + ip + + + + + vpn + vpn0 + + 186 + 203 + wrouter0 + vpn0 + + vpn + 203 + 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 + + + + + management_interface + management_interface0 + + 186 + 190 + wrouter0 + management_interface0 + + management_interface + 190 + False + + management_interface0 + + 192.168.1.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + port + port2 + + 186 + 191 + wrouter0 + port2 + + port + 191 + False + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port3 + + 186 + 192 + wrouter0 + port3 + + port + 192 + False + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port4 + + 186 + 193 + wrouter0 + port4 + + port + 193 + False + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port5 + + 186 + 194 + wrouter0 + port5 + + port + 194 + False + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport6 + + 186 + 195 + wrouter0 + wport6 + + wport + 195 + False + + wport6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport7 + + 186 + 196 + wrouter0 + wport7 + + wport + 196 + False + + wport7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport8 + + 186 + 197 + wrouter0 + wport8 + + wport + 197 + False + + wport8 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport9 + + 186 + 198 + wrouter0 + wport9 + + wport + 198 + False + + wport9 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport10 + + 186 + 199 + wrouter0 + wport10 + + wport + 199 + False + + wport10 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport11 + + 186 + 200 + wrouter0 + wport11 + + wport + 200 + False + + wport11 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport12 + + 186 + 201 + wrouter0 + wport12 + + wport + 201 + False + + wport12 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport13 + + 186 + 202 + wrouter0 + wport13 + + wport + 202 + False + + wport13 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + 192.168.2.0 + 255.255.255.0 + 192.168.50.2 + route + + + + wrouter1 + 100 + 207 + 700,470 + wrouter + False + False + + 192.168.6.1 + 0.0.0.0 + 0.0.0.0 + gw + + + lo + lo0 + + 207 + 210 + wrouter1 + lo0 + + lo + 210 + False + + + + lo0 + + 127.0.0.1 + 255.0.0.0 + 0.0.0.0 + ip + + + + + wan + wan0 + + 207 + 225 + wrouter1 + wan0 + + wan + 225 + False + + + + wan0 + + 192.168.6.2 + 255.255.255.0 + 0.0.0.0 + ip + + + + + vpn + vpn0 + + 207 + 224 + wrouter1 + vpn0 + + vpn + 224 + 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 + + + + + management_interface + management_interface0 + + 207 + 211 + wrouter1 + management_interface0 + + management_interface + 211 + False + + + + management_interface0 + + 192.168.2.1 + 255.255.255.0 + 0.0.0.0 + ip + + + + + port + port2 + + 207 + 212 + wrouter1 + port2 + + port + 212 + False + + + + port2 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port3 + + 207 + 213 + wrouter1 + port3 + + port + 213 + False + + + + port3 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port4 + + 207 + 214 + wrouter1 + port4 + + port + 214 + False + + + + port4 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + port + port5 + + 207 + 215 + wrouter1 + port5 + + port + 215 + False + + + + port5 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport6 + + 207 + 216 + wrouter1 + wport6 + + wport + 216 + False + + + + wport6 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport7 + + 207 + 217 + wrouter1 + wport7 + + wport + 217 + False + + + + wport7 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport8 + + 207 + 218 + wrouter1 + wport8 + + wport + 218 + False + + + + wport8 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport9 + + 207 + 219 + wrouter1 + wport9 + + wport + 219 + False + + + + wport9 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport10 + + 207 + 220 + wrouter1 + wport10 + + wport + 220 + False + + + + wport10 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport11 + + 207 + 221 + wrouter1 + wport11 + + wport + 221 + False + + + + wport11 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport12 + + 207 + 222 + wrouter1 + wport12 + + wport + 222 + False + + + + wport12 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + wport + wport13 + + 207 + 223 + wrouter1 + wport13 + + wport + 223 + False + + + + wport13 + + 0.0.0.0 + 0.0.0.0 + 0.0.0.0 + ip + + + + + 192.168.1.0 + 255.255.255.0 + 192.168.50.1 + route + + + + + 124 + 129 + net_switch1 + port3 + + + 207 + 212 + wrouter1 + port2 + + + normal + 226 + + + + 186 + 204 + wrouter0 + wan0 + + + 110 + 113 + router0 + eth1 + + + normal + 206 + + + + 207 + 225 + wrouter1 + wan0 + + + 110 + 112 + router0 + eth0 + + + normal + 227 + + + + 140 + 142 + laptop0 + eth0 + + + 114 + 118 + net_switch0 + port2 + + + normal + 147 + + + + 134 + 136 + pc0 + eth0 + + + 114 + 117 + net_switch0 + port1 + + + normal + 146 + + + + 137 + 139 + pc1 + eth0 + + + 124 + 127 + net_switch1 + port1 + + + normal + 149 + + + + 143 + 145 + laptop1 + eth0 + + + 124 + 128 + net_switch1 + port2 + + + normal + 150 + + + + 114 + 119 + net_switch0 + port3 + + + 186 + 191 + wrouter0 + port2 + + + normal + 205 + + + + 228 + 230 + pc2 + eth0 + + + 110 + 182 + router0 + eth2 + + + normal + 231 + + + pc0 + pc1 + SuccessfullyPings + + + pc0 + pc2 + SuccessfullyPings + + + pc2 + pc0 + FailedPing + + + \ No newline at end of file