diff --git a/EduNetworkBuilder/NB.cs b/EduNetworkBuilder/NB.cs index cd2323a..e70c4f3 100644 --- a/EduNetworkBuilder/NB.cs +++ b/EduNetworkBuilder/NB.cs @@ -90,7 +90,7 @@ namespace EduNetworkBuilder packet_in=4, packet_out=8, packet_duplicate=16, all=63, dump=256, pause=512} public enum TraversalTechnology { gateway, static_route, vlan, ethernet, wireless, firewall, - vpn, vpn_encryption, vpn_decryption, ip_address, masquerade} + vpn, vpn_encryption, vpn_decryption, ip_address, masquerade, forward} [Serializable] public struct HostNicID //This holds a unique identifier for a network card. Links use this to know what it is connected to diff --git a/EduNetworkBuilder/NetworkDevice.cs b/EduNetworkBuilder/NetworkDevice.cs index c7a7f43..a3814e1 100644 --- a/EduNetworkBuilder/NetworkDevice.cs +++ b/EduNetworkBuilder/NetworkDevice.cs @@ -1636,6 +1636,7 @@ namespace EduNetworkBuilder //But if we do not know a dnic, send it out all of them (except the sNic) if (sNic != nic && (tdNic == null || (tdNic != null && tdNic.ConnectedLink == -1) || tdNic == nic)) { + tPacket.TraversalInformation.AddPath(hostname, TraversalTechnology.forward); if (nic.SendPacketOutNIC(tPacket)) { count++;