Get network loop tracking working.

This commit is contained in:
Tim Young 2018-04-09 17:17:40 +03:00
parent a96634faef
commit c609571f39
6 changed files with 111 additions and 65 deletions

View File

@ -46,7 +46,7 @@ namespace EduNetworkBuilder
public enum NetTestType { NeedsLocalIPTo, NeedsDefaultGW, NeedsLinkToDevice, NeedsRouteToNet, public enum NetTestType { NeedsLocalIPTo, NeedsDefaultGW, NeedsLinkToDevice, NeedsRouteToNet,
NeedsUntaggedVLAN, NeedsTaggedVLAN, NeedsForbiddenVLAN, NeedsUntaggedVLAN, NeedsTaggedVLAN, NeedsForbiddenVLAN,
SuccessfullyPings, SuccessfullyPingsAgain, SuccessfullyArps, SuccessfullyDHCPs, HelpRequest, ReadContextHelp, FailedPing, SuccessfullyPings, SuccessfullyPingsAgain, SuccessfullyArps, SuccessfullyDHCPs, HelpRequest, ReadContextHelp, FailedPing,
DHCPServerEnabled, SuccessfullyTraceroutes, DHCPServerEnabled, SuccessfullyTraceroutes, SuccessfullyPingsWithoutLoop,
LockAll, LockIP, LockRoute, LockNic, LockDHCP, LockGateway, LockLocation, LockAll, LockIP, LockRoute, LockNic, LockDHCP, LockGateway, LockLocation,
LockVLANsOnHost, LockNicVLAN, LockInterfaceVLAN, LockVLANNames, LockVLANsOnHost, LockNicVLAN, LockInterfaceVLAN, LockVLANNames,
DeviceIsFrozen, DeviceBlowsUpWithPower, DeviceNeedsUPS, DeviceNICSprays, DeviceIsFrozen, DeviceBlowsUpWithPower, DeviceNeedsUPS, DeviceNICSprays,
@ -457,6 +457,12 @@ namespace EduNetworkBuilder
return Type.GetType("Mono.Runtime") != null; return Type.GetType("Mono.Runtime") != null;
} }
public static void NoteLoopHappened()
{
Network myNet = GetNetwork();
if (myNet != null) myNet.HadLoop = true;
}
public static Point GetSnapped(Point Location) public static Point GetSnapped(Point Location)
{ {
int x = (Location.X / NB.GridSize) * NB.GridSize; int x = (Location.X / NB.GridSize) * NB.GridSize;

View File

@ -169,6 +169,7 @@ namespace EduNetworkBuilder
break; break;
case NetTestType.SuccessfullyPings: case NetTestType.SuccessfullyPings:
case NetTestType.SuccessfullyPingsAgain: case NetTestType.SuccessfullyPingsAgain:
case NetTestType.SuccessfullyPingsWithoutLoop:
toreturn = NB.Translate("NT_TstDiscriptPing"); toreturn = NB.Translate("NT_TstDiscriptPing");
break; break;
case NetTestType.HelpRequest: case NetTestType.HelpRequest:
@ -267,6 +268,7 @@ namespace EduNetworkBuilder
toreturn = NB.Translate("NT_TstDiscriptTraceroute2"); toreturn = NB.Translate("NT_TstDiscriptTraceroute2");
break; break;
case NetTestType.SuccessfullyPings: case NetTestType.SuccessfullyPings:
case NetTestType.SuccessfullyPingsWithoutLoop:
case NetTestType.SuccessfullyPingsAgain: case NetTestType.SuccessfullyPingsAgain:
toreturn = NB.Translate("NT_TstDiscriptPing2"); toreturn = NB.Translate("NT_TstDiscriptPing2");
break; break;
@ -444,7 +446,8 @@ namespace EduNetworkBuilder
{ {
if (TheTest == NetTestType.FailedPing || TheTest == NetTestType.SuccessfullyArps if (TheTest == NetTestType.FailedPing || TheTest == NetTestType.SuccessfullyArps
|| TheTest == NetTestType.SuccessfullyDHCPs || TheTest == NetTestType.SuccessfullyPings || TheTest == NetTestType.SuccessfullyDHCPs || TheTest == NetTestType.SuccessfullyPings
|| TheTest == NetTestType.SuccessfullyPingsAgain || TheTest == NetTestType.SuccessfullyTraceroutes) || TheTest == NetTestType.SuccessfullyPingsAgain || TheTest == NetTestType.SuccessfullyTraceroutes
|| TheTest == NetTestType.SuccessfullyPingsWithoutLoop)
PacketNumber = PacketID; //Track the packetID of the first packet to complete the task PacketNumber = PacketID; //Track the packetID of the first packet to complete the task
NB.PlaySound(NBSoundType.success); NB.PlaySound(NBSoundType.success);
NB.MarkToUpdate(); NB.MarkToUpdate();
@ -535,6 +538,7 @@ namespace EduNetworkBuilder
case NetTestType.SuccessfullyArps: case NetTestType.SuccessfullyArps:
case NetTestType.SuccessfullyDHCPs: case NetTestType.SuccessfullyDHCPs:
case NetTestType.SuccessfullyPings: case NetTestType.SuccessfullyPings:
case NetTestType.SuccessfullyPingsWithoutLoop:
case NetTestType.SuccessfullyPingsAgain: case NetTestType.SuccessfullyPingsAgain:
case NetTestType.SuccessfullyTraceroutes: case NetTestType.SuccessfullyTraceroutes:
case NetTestType.HelpRequest: case NetTestType.HelpRequest:

View File

@ -338,7 +338,8 @@ namespace EduNetworkBuilder
cbDest.Items.Add(host); cbDest.Items.Add(host);
} }
if (ToEdit.TheTest == NetTestType.SuccessfullyPings) if (ToEdit.TheTest == NetTestType.SuccessfullyPings ||
ToEdit.TheTest == NetTestType.SuccessfullyPingsWithoutLoop)
{ //List all the network broadcasts { //List all the network broadcasts
foreach (string subnet in Broadcasts) foreach (string subnet in Broadcasts)
{ {
@ -442,6 +443,7 @@ namespace EduNetworkBuilder
else else
{ {
if (ntt == NetTestType.SuccessfullyPings) return true; if (ntt == NetTestType.SuccessfullyPings) return true;
if (ntt == NetTestType.SuccessfullyPingsWithoutLoop) return true;
if (ntt == NetTestType.SuccessfullyTraceroutes) return true; if (ntt == NetTestType.SuccessfullyTraceroutes) return true;
if (theNet.GetDeviceFromName(cbDest.SelectedItem.ToString()) == null) if (theNet.GetDeviceFromName(cbDest.SelectedItem.ToString()) == null)
return false; //This should never happen with a drop-down list, but just in case... return false; //This should never happen with a drop-down list, but just in case...

View File

@ -77,6 +77,7 @@ namespace EduNetworkBuilder
public List<NetShape> Shapes = new List<NetShape>(); //For storing simple shapes which are drawn on the network public List<NetShape> Shapes = new List<NetShape>(); //For storing simple shapes which are drawn on the network
public bool IsRandomNetwork = false; public bool IsRandomNetwork = false;
public bool InShapeEditMode = false; public bool InShapeEditMode = false;
public bool HadLoop = false;
private List<AnimationClass> Animations = new List<AnimationClass>(); private List<AnimationClass> Animations = new List<AnimationClass>();
@ -837,7 +838,9 @@ namespace EduNetworkBuilder
{ {
if (nt.sHost == Source && !nt.TestComplete()) if (nt.sHost == Source && !nt.TestComplete())
{ {
if (WhatFor == ContextTest.ping && (nt.TheTest == NetTestType.FailedPing || nt.TheTest == NetTestType.SuccessfullyPings if (WhatFor == ContextTest.ping && (nt.TheTest == NetTestType.FailedPing
|| nt.TheTest == NetTestType.SuccessfullyPings
|| nt.TheTest == NetTestType.SuccessfullyPingsWithoutLoop
|| nt.TheTest == NetTestType.SuccessfullyPingsAgain)) || nt.TheTest == NetTestType.SuccessfullyPingsAgain))
tDests.Add(nt.dHost); tDests.Add(nt.dHost);
if (WhatFor == ContextTest.arp && nt.TheTest == NetTestType.SuccessfullyArps) if (WhatFor == ContextTest.arp && nt.TheTest == NetTestType.SuccessfullyArps)
@ -1341,6 +1344,10 @@ namespace EduNetworkBuilder
nt.SetDone(PacketID); nt.SetDone(PacketID);
if (nt.TheTest == NetTestType.SuccessfullyPings && packet_type == PacketType.ping_answer && sHost == nt.sHost && dHost == null && dIP != null && dIP.BroadcastAddress == dIP.GetIP && dIP.GetIPString == nt.dHost) if (nt.TheTest == NetTestType.SuccessfullyPings && packet_type == PacketType.ping_answer && sHost == nt.sHost && dHost == null && dIP != null && dIP.BroadcastAddress == dIP.GetIP && dIP.GetIPString == nt.dHost)
nt.SetDone(PacketID); nt.SetDone(PacketID);
if (nt.TheTest == NetTestType.SuccessfullyPingsWithoutLoop && !HadLoop && packet_type == PacketType.ping_answer && sHost == nt.sHost && dHost == nt.dHost)
nt.SetDone(PacketID);
if (nt.TheTest == NetTestType.SuccessfullyPingsWithoutLoop && !HadLoop && packet_type == PacketType.ping_answer && sHost == nt.sHost && dHost == null && dIP != null && dIP.BroadcastAddress == dIP.GetIP && dIP.GetIPString == nt.dHost)
nt.SetDone(PacketID);
if (nt.TheTest == NetTestType.SuccessfullyTraceroutes && packet_type == PacketType.tracert_reply && sHost == nt.sHost && dHost == nt.dHost) if (nt.TheTest == NetTestType.SuccessfullyTraceroutes && packet_type == PacketType.tracert_reply && sHost == nt.sHost && dHost == nt.dHost)
nt.SetDone(PacketID); nt.SetDone(PacketID);
if (nt.TheTest == NetTestType.SuccessfullyTraceroutes && packet_type == PacketType.tracert_reply && sHost == nt.sHost && dHost == null && dIP != null && dIP.BroadcastAddress == dIP.GetIP && dIP.GetIPString == nt.dHost) if (nt.TheTest == NetTestType.SuccessfullyTraceroutes && packet_type == PacketType.tracert_reply && sHost == nt.sHost && dHost == null && dIP != null && dIP.BroadcastAddress == dIP.GetIP && dIP.GetIPString == nt.dHost)
@ -1348,6 +1355,7 @@ namespace EduNetworkBuilder
} }
} }
public bool HasCompletedPingTest(PacketType packet_type, NetworkDevice source, NB_IPAddress sIP, NB_IPAddress dIP, int PacketID) public bool HasCompletedPingTest(PacketType packet_type, NetworkDevice source, NB_IPAddress sIP, NB_IPAddress dIP, int PacketID)
{ {
if (packet_type != PacketType.ping_answer) return false; //This only works with pings. if (packet_type != PacketType.ping_answer) return false; //This only works with pings.
@ -1628,6 +1636,7 @@ namespace EduNetworkBuilder
AlreadyChosenTimeout = false; //we do this at the beginning of processing AlreadyChosenTimeout = false; //we do this at the beginning of processing
NumberOfSecondsForTimeout = DefaultTimeout; NumberOfSecondsForTimeout = DefaultTimeout;
NetworkStartTime = DateTime.Now; NetworkStartTime = DateTime.Now;
ClearPacketCounters();
} }
ProcessPacketsOnce(); ProcessPacketsOnce();
if(!ProcessingShouldContinue()) if(!ProcessingShouldContinue())
@ -1674,6 +1683,7 @@ namespace EduNetworkBuilder
NB.SetProgress(0, NumberOfSecondsForTimeout); NB.SetProgress(0, NumberOfSecondsForTimeout);
NB.UpdateMessages(); NB.UpdateMessages();
NB.MarkToUpdate(); NB.MarkToUpdate();
ClearPacketCounters();
} }
previously_had_packets = false; previously_had_packets = false;
} }
@ -1687,6 +1697,19 @@ namespace EduNetworkBuilder
} }
} }
public void ClearPacketCounters()
{
HadLoop = false;
foreach(NetworkComponent NC in NetComponents)
{
if(NC is NetworkDevice)
{
NetworkDevice ND = (NetworkDevice)NC;
ND.PacketIDsPassedThrough.Clear();
}
}
}
public void AddAnimation(AnimationName What, Rectangle Where) public void AddAnimation(AnimationName What, Rectangle Where)
{ {
Animations.Add(new AnimationClass(What, Where)); Animations.Add(new AnimationClass(What, Where));

View File

@ -39,6 +39,7 @@ namespace EduNetworkBuilder
public bool PowerOff = false; public bool PowerOff = false;
private List<string> tracertmessages = new List<string>(); private List<string> tracertmessages = new List<string>();
public int BadSprayCount = 0; public int BadSprayCount = 0;
public List<int> PacketIDsPassedThrough = new List<int>();
public NetworkDevice(NetworkComponentType what, string tHostname, Point tLocation, NicType firstNic = NicType.eth) public NetworkDevice(NetworkComponentType what, string tHostname, Point tLocation, NicType firstNic = NicType.eth)
{ {
@ -1797,6 +1798,15 @@ namespace EduNetworkBuilder
bool BroadcastMatch = HasBroadcastAddress(tPacket.destIP); bool BroadcastMatch = HasBroadcastAddress(tPacket.destIP);
bool NeedsRouting = MacAddressMatch && (!ExactMatch && !BroadcastMatch); bool NeedsRouting = MacAddressMatch && (!ExactMatch && !BroadcastMatch);
int tID = tPacket.packetID;
if (!tPacket.MyType.ToString().EndsWith("request"))
tID = tID * -1;
if(PacketIDsPassedThrough.Contains(tID))
{
NB.NoteLoopHappened(); //Note that we found a loop
}
else PacketIDsPassedThrough.Add(tID);
if(ExactMatch || BroadcastMatch || LocalMatch) if(ExactMatch || BroadcastMatch || LocalMatch)
{ {
//Change this. Need a new ProcessArrival //Change this. Need a new ProcessArrival

View File

@ -2,9 +2,10 @@
<EduNetworkBuilder> <EduNetworkBuilder>
<!--This is a network file for EduNetworkBuilder.--> <!--This is a network file for EduNetworkBuilder.-->
<Network> <Network>
<en_message>Managed Switches can use Spanning Tree, which intelligently figures out the least distance path to a point. It is made so you can have network loops and survive. Try pinging pc1 twice from pc0. The first time, some packets are lost. But the second time the packet goes where it should.</en_message>
<fr_message>Les commutateurs gérés peuvent utiliser algorithme de l'arbre (STP), qui détermine intelligemment le chemin le moins éloigné d'un point. Il est fait pour que vous puissiez avoir des boucles réseau et survivre. Essayez de pinger pc1 deux fois à partir de pc0. La première fois, certains paquets sont perdus. Mais à la deuxième fois le paquet ira là où il devrait.</fr_message> <fr_message>Les commutateurs gérés peuvent utiliser algorithme de l'arbre (STP), qui détermine intelligemment le chemin le moins éloigné d'un point. Il est fait pour que vous puissiez avoir des boucles réseau et survivre. Essayez de pinger pc1 deux fois à partir de pc0. La première fois, certains paquets sont perdus. Mais à la deuxième fois le paquet ira là où il devrait.</fr_message>
<en_message>Managed Switches can use Spanning Tree, which intelligently figures out the least distance path to a point. It is made so you can have network loops and survive. Try pinging pc1 twice from pc0. The first time, some packets are lost. But the second time the packet goes where it should.</en_message>
<en_title>Network Loop2</en_title> <en_title>Network Loop2</en_title>
<en_url />
<height>1024</height> <height>1024</height>
<width>1024</width> <width>1024</width>
<itemsize>100</itemsize> <itemsize>100</itemsize>
@ -13,7 +14,7 @@
<sortorder>3.5</sortorder> <sortorder>3.5</sortorder>
<uniqueidentifier>214</uniqueidentifier> <uniqueidentifier>214</uniqueidentifier>
<startinghelplevel>full</startinghelplevel> <startinghelplevel>full</startinghelplevel>
<vlansenabled>False</vlansenabled> <vlansenabled>True</vlansenabled>
<VLANPacketColors>False</VLANPacketColors> <VLANPacketColors>False</VLANPacketColors>
<device> <device>
<hostname>net_switch0</hostname> <hostname>net_switch0</hostname>
@ -41,7 +42,7 @@
<nictype>lo</nictype> <nictype>lo</nictype>
<uniqueidentifier>101</uniqueidentifier> <uniqueidentifier>101</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>lo0</nicname> <nicname>lo0</nicname>
<myip> <myip>
@ -66,7 +67,7 @@
<nictype>management_interface</nictype> <nictype>management_interface</nictype>
<uniqueidentifier>102</uniqueidentifier> <uniqueidentifier>102</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>management_interface0</nicname> <nicname>management_interface0</nicname>
<myip> <myip>
@ -91,7 +92,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>103</uniqueidentifier> <uniqueidentifier>103</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port1</nicname> <nicname>port1</nicname>
<myip> <myip>
@ -116,7 +117,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>104</uniqueidentifier> <uniqueidentifier>104</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port2</nicname> <nicname>port2</nicname>
<myip> <myip>
@ -141,7 +142,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>105</uniqueidentifier> <uniqueidentifier>105</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port3</nicname> <nicname>port3</nicname>
<myip> <myip>
@ -166,7 +167,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>106</uniqueidentifier> <uniqueidentifier>106</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port4</nicname> <nicname>port4</nicname>
<myip> <myip>
@ -191,7 +192,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>107</uniqueidentifier> <uniqueidentifier>107</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port5</nicname> <nicname>port5</nicname>
<myip> <myip>
@ -216,7 +217,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>108</uniqueidentifier> <uniqueidentifier>108</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port6</nicname> <nicname>port6</nicname>
<myip> <myip>
@ -241,7 +242,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>109</uniqueidentifier> <uniqueidentifier>109</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port7</nicname> <nicname>port7</nicname>
<myip> <myip>
@ -281,7 +282,7 @@
<nictype>lo</nictype> <nictype>lo</nictype>
<uniqueidentifier>111</uniqueidentifier> <uniqueidentifier>111</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>lo0</nicname> <nicname>lo0</nicname>
<myip> <myip>
@ -306,7 +307,7 @@
<nictype>management_interface</nictype> <nictype>management_interface</nictype>
<uniqueidentifier>112</uniqueidentifier> <uniqueidentifier>112</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>management_interface0</nicname> <nicname>management_interface0</nicname>
<myip> <myip>
@ -331,7 +332,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>113</uniqueidentifier> <uniqueidentifier>113</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port1</nicname> <nicname>port1</nicname>
<myip> <myip>
@ -356,7 +357,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>114</uniqueidentifier> <uniqueidentifier>114</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port2</nicname> <nicname>port2</nicname>
<myip> <myip>
@ -381,7 +382,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>115</uniqueidentifier> <uniqueidentifier>115</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port3</nicname> <nicname>port3</nicname>
<myip> <myip>
@ -406,7 +407,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>116</uniqueidentifier> <uniqueidentifier>116</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port4</nicname> <nicname>port4</nicname>
<myip> <myip>
@ -431,7 +432,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>117</uniqueidentifier> <uniqueidentifier>117</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port5</nicname> <nicname>port5</nicname>
<myip> <myip>
@ -456,7 +457,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>118</uniqueidentifier> <uniqueidentifier>118</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port6</nicname> <nicname>port6</nicname>
<myip> <myip>
@ -481,7 +482,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>119</uniqueidentifier> <uniqueidentifier>119</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port7</nicname> <nicname>port7</nicname>
<myip> <myip>
@ -521,7 +522,7 @@
<nictype>lo</nictype> <nictype>lo</nictype>
<uniqueidentifier>121</uniqueidentifier> <uniqueidentifier>121</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>lo0</nicname> <nicname>lo0</nicname>
<myip> <myip>
@ -546,7 +547,7 @@
<nictype>management_interface</nictype> <nictype>management_interface</nictype>
<uniqueidentifier>122</uniqueidentifier> <uniqueidentifier>122</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>management_interface0</nicname> <nicname>management_interface0</nicname>
<myip> <myip>
@ -571,7 +572,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>123</uniqueidentifier> <uniqueidentifier>123</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port1</nicname> <nicname>port1</nicname>
<myip> <myip>
@ -596,7 +597,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>124</uniqueidentifier> <uniqueidentifier>124</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port2</nicname> <nicname>port2</nicname>
<myip> <myip>
@ -621,7 +622,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>125</uniqueidentifier> <uniqueidentifier>125</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port3</nicname> <nicname>port3</nicname>
<myip> <myip>
@ -646,7 +647,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>126</uniqueidentifier> <uniqueidentifier>126</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port4</nicname> <nicname>port4</nicname>
<myip> <myip>
@ -671,7 +672,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>127</uniqueidentifier> <uniqueidentifier>127</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port5</nicname> <nicname>port5</nicname>
<myip> <myip>
@ -696,7 +697,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>128</uniqueidentifier> <uniqueidentifier>128</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port6</nicname> <nicname>port6</nicname>
<myip> <myip>
@ -721,7 +722,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>129</uniqueidentifier> <uniqueidentifier>129</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port7</nicname> <nicname>port7</nicname>
<myip> <myip>
@ -761,7 +762,7 @@
<nictype>lo</nictype> <nictype>lo</nictype>
<uniqueidentifier>161</uniqueidentifier> <uniqueidentifier>161</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>lo0</nicname> <nicname>lo0</nicname>
<myip> <myip>
@ -786,7 +787,7 @@
<nictype>management_interface</nictype> <nictype>management_interface</nictype>
<uniqueidentifier>162</uniqueidentifier> <uniqueidentifier>162</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>management_interface0</nicname> <nicname>management_interface0</nicname>
<myip> <myip>
@ -811,7 +812,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>163</uniqueidentifier> <uniqueidentifier>163</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port1</nicname> <nicname>port1</nicname>
<myip> <myip>
@ -836,7 +837,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>164</uniqueidentifier> <uniqueidentifier>164</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port2</nicname> <nicname>port2</nicname>
<myip> <myip>
@ -861,7 +862,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>165</uniqueidentifier> <uniqueidentifier>165</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port3</nicname> <nicname>port3</nicname>
<myip> <myip>
@ -886,7 +887,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>166</uniqueidentifier> <uniqueidentifier>166</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port4</nicname> <nicname>port4</nicname>
<myip> <myip>
@ -911,7 +912,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>167</uniqueidentifier> <uniqueidentifier>167</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port5</nicname> <nicname>port5</nicname>
<myip> <myip>
@ -936,7 +937,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>168</uniqueidentifier> <uniqueidentifier>168</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port6</nicname> <nicname>port6</nicname>
<myip> <myip>
@ -961,7 +962,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>169</uniqueidentifier> <uniqueidentifier>169</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port7</nicname> <nicname>port7</nicname>
<myip> <myip>
@ -1001,7 +1002,7 @@
<nictype>lo</nictype> <nictype>lo</nictype>
<uniqueidentifier>171</uniqueidentifier> <uniqueidentifier>171</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>lo0</nicname> <nicname>lo0</nicname>
<myip> <myip>
@ -1026,7 +1027,7 @@
<nictype>management_interface</nictype> <nictype>management_interface</nictype>
<uniqueidentifier>172</uniqueidentifier> <uniqueidentifier>172</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>management_interface0</nicname> <nicname>management_interface0</nicname>
<myip> <myip>
@ -1051,7 +1052,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>173</uniqueidentifier> <uniqueidentifier>173</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port1</nicname> <nicname>port1</nicname>
<myip> <myip>
@ -1076,7 +1077,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>174</uniqueidentifier> <uniqueidentifier>174</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port2</nicname> <nicname>port2</nicname>
<myip> <myip>
@ -1101,7 +1102,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>175</uniqueidentifier> <uniqueidentifier>175</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port3</nicname> <nicname>port3</nicname>
<myip> <myip>
@ -1126,7 +1127,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>176</uniqueidentifier> <uniqueidentifier>176</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port4</nicname> <nicname>port4</nicname>
<myip> <myip>
@ -1151,7 +1152,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>177</uniqueidentifier> <uniqueidentifier>177</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port5</nicname> <nicname>port5</nicname>
<myip> <myip>
@ -1176,7 +1177,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>178</uniqueidentifier> <uniqueidentifier>178</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port6</nicname> <nicname>port6</nicname>
<myip> <myip>
@ -1201,7 +1202,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>179</uniqueidentifier> <uniqueidentifier>179</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port7</nicname> <nicname>port7</nicname>
<myip> <myip>
@ -1241,7 +1242,7 @@
<nictype>lo</nictype> <nictype>lo</nictype>
<uniqueidentifier>181</uniqueidentifier> <uniqueidentifier>181</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>lo0</nicname> <nicname>lo0</nicname>
<myip> <myip>
@ -1266,7 +1267,7 @@
<nictype>management_interface</nictype> <nictype>management_interface</nictype>
<uniqueidentifier>182</uniqueidentifier> <uniqueidentifier>182</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>management_interface0</nicname> <nicname>management_interface0</nicname>
<myip> <myip>
@ -1291,7 +1292,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>183</uniqueidentifier> <uniqueidentifier>183</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port1</nicname> <nicname>port1</nicname>
<myip> <myip>
@ -1316,7 +1317,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>184</uniqueidentifier> <uniqueidentifier>184</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port2</nicname> <nicname>port2</nicname>
<myip> <myip>
@ -1341,7 +1342,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>185</uniqueidentifier> <uniqueidentifier>185</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port3</nicname> <nicname>port3</nicname>
<myip> <myip>
@ -1366,7 +1367,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>186</uniqueidentifier> <uniqueidentifier>186</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port4</nicname> <nicname>port4</nicname>
<myip> <myip>
@ -1391,7 +1392,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>187</uniqueidentifier> <uniqueidentifier>187</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port5</nicname> <nicname>port5</nicname>
<myip> <myip>
@ -1416,7 +1417,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>188</uniqueidentifier> <uniqueidentifier>188</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port6</nicname> <nicname>port6</nicname>
<myip> <myip>
@ -1441,7 +1442,7 @@
<nictype>port</nictype> <nictype>port</nictype>
<uniqueidentifier>189</uniqueidentifier> <uniqueidentifier>189</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>port7</nicname> <nicname>port7</nicname>
<myip> <myip>
@ -1481,7 +1482,7 @@
<nictype>lo</nictype> <nictype>lo</nictype>
<uniqueidentifier>191</uniqueidentifier> <uniqueidentifier>191</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>lo0</nicname> <nicname>lo0</nicname>
<myip> <myip>
@ -1506,7 +1507,7 @@
<nictype>eth</nictype> <nictype>eth</nictype>
<uniqueidentifier>192</uniqueidentifier> <uniqueidentifier>192</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>eth0</nicname> <nicname>eth0</nicname>
<myip> <myip>
@ -1546,7 +1547,7 @@
<nictype>lo</nictype> <nictype>lo</nictype>
<uniqueidentifier>194</uniqueidentifier> <uniqueidentifier>194</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>lo0</nicname> <nicname>lo0</nicname>
<myip> <myip>
@ -1571,7 +1572,7 @@
<nictype>eth</nictype> <nictype>eth</nictype>
<uniqueidentifier>195</uniqueidentifier> <uniqueidentifier>195</uniqueidentifier>
<usesdhcp>False</usesdhcp> <usesdhcp>False</usesdhcp>
<ssid /> <encryptionkey />
<interface> <interface>
<nicname>eth0</nicname> <nicname>eth0</nicname>
<myip> <myip>
@ -1763,7 +1764,7 @@
<nettest> <nettest>
<shost>pc0</shost> <shost>pc0</shost>
<dhost>pc1</dhost> <dhost>pc1</dhost>
<thetest>SuccessfullyPingsAgain</thetest> <thetest>SuccessfullyPingsWithoutLoop</thetest>
</nettest> </nettest>
<tag>Ping</tag> <tag>Ping</tag>
<VLANName <VLANName