Full text
Risk Management of Resilient WiFi Networks 0 Risk Management of Resilient WiFi Networks Name: Josep Altisent Granados Tutor: Piotr Cholda Kraków, academic year 2015
Risk Management of Resilient WiFi Networks 1 Index Index of Figures ........................................................................................................................... 2 Index of Tables ............................................................................................................................ 3 2.1 . Recovery methods ....................................................................................................... 6 No recovery ........................................................................................................................... 7 Non-dynamic general recovery ............................................................................................. 7 Non-dynamic local recovery ................................................................................................. 7 Non-dynamic general recovery with dedicated paths after failures ...................................... 7 Non-dynamic local recovery with dedicated paths after failures .......................................... 7 Dynamic general recovery .................................................................................................... 7 Dynamic local recovery ........................................................................................................ 7 2.2. Business and expenditure in network reliability ................................................................ 8 2.3. Failure statics ..................................................................................................................... 9 2.4. Some definitions related to network recovery[1] ............................................................. 10 2.5. Wi-Fi ................................................................................................................................ 11 2.6. Propagation Models.......................................................................................................... 13 Free Space ........................................................................................................................... 14 Two Ray Ground ................................................................................................................. 14 Okumura .............................................................................................................................. 14 Hata Propagation ................................................................................................................. 14 Walfisch and Bertoni ........................................................................................................... 15 Cost 231 .............................................................................................................................. 15 2.7. Access method (CSMA/CA) ............................................................................................ 15 2.8. Simulator .......................................................................................................................... 16 2.9. Radio-Links ...................................................................................................................... 17 3.- Modifying the Simulator ........................................................................................................ 19 4.- Time Failing ............................................................................................................................ 20 4.1. DFN Bwin Network ......................................................................................................... 21 Aleatory distributions .......................................................................................................... 22 Exponential distributions ..................................................................................................... 24 Pareto distributions .............................................................................................................. 26 Weibull distributions ........................................................................................................... 28 Comparison between distributions ...................................................................................... 30 4.2. Polska Network ................................................................................................................ 31
Risk Management of Resilient WiFi Networks 2 Exponential distributions ..................................................................................................... 32 Pareto distributions .............................................................................................................. 33 Weibull distributions ........................................................................................................... 34 Aleatory distributions .......................................................................................................... 35 Comparison between distributions ...................................................................................... 36 5.- Time of no connection ........................................................................................................... 37 5.1. DFN Bwin Network ......................................................................................................... 38 Aleatory distributions .......................................................................................................... 38 Exponential distributions......................................................................................................... 40 Pareto distributions .................................................................................................................. 41 Weibull distributions ............................................................................................................... 43 5.2. Polska Network ................................................................................................................ 46 Exponential distributions ..................................................................................................... 46 Pareto distributions .............................................................................................................. 47 Weibull distributions ........................................................................................................... 48 Aleatory distributions .......................................................................................................... 49 Comparison between distributions ...................................................................................... 51 5.3. Study between networks................................................................................................... 53 6.- Conclusions ............................................................................................................................ 54 7.- Acknowledgements ................................................................................................................ 55 8.- Bibliography ........................................................................................................................... 56 9.- Appendix ................................................................................................................................ 57 Index of Figures Figure 1: Example network ........................................................................................................... 6 Figure 2: Risk management techniques ........................................................................................ 8 Figure 3: Risk-Aware Networking Summary ............................................................................... 9 Figure 4: Exponential, Pareto & Weibull distributions ................................................................. 9 Figure 5: Standards IEEE 802.11 ................................................................................................ 11 Figure 6: Schema of propagation model ..................................................................................... 13 Figure 7: Two ray ground............................................................................................................ 14 Figure 8: Comparison of models of propagation......................................................................... 15 Figure 9: CSMA/CA working ..................................................................................................... 16 Figure 11: Communication System ............................................................................................. 17
Risk Management of Resilient WiFi Networks 3 Figure 12: MTBF & MTTR ........................................................................................................ 18 Figure 13: DFN Bwin Network ................................................................................................... 21 Figure 14: Histogram, aleatory distribution, DFN Bwin network............................................... 23 Figure 15: Histogram, Exponential distribution, DFN Bwin network ........................................ 25 Figure 16: Histogram, Pareto distribution, DFN Bwin network ................................................. 27 Figure 17: Histogram, Weibull distribution, DFN Bwin network............................................... 29 Figure 18: Comparison between distributions............................................................................. 30 Figure 19: Polska network........................................................................................................... 31 Figure 20: Histogram, Exponential distribution, Polska network ............................................... 32 Figure 21: Histogram, Pareto distribution, Polska network ........................................................ 33 Figure 22: Histogram, Weibull distribution, Polska network ..................................................... 34 Figure 23: Histogram, Aleatory distribution, Polska network .................................................... 35 Figure 24: Comparison between distributions............................................................................. 36 Figure 25: Comparision between distributions ........................................................................... 44 Figure 26: Restoration Methods .................................................................................................. 45 Figure 27: Comparison between distributions............................................................................. 51 Figure 28: Restoration methods comparison ............................................................................... 51 Figure 29: Recovery method of both networks ........................................................................... 53 Figure 10: Modules of the simulator ........................................................................................... 57 Index of Tables Table 1: Theoretical Average ...................................................................................................... 20 Table 2: Parameters of the distributions ...................................................................................... 22 Table 3: Failures by Hops, Aleatory distribution, DFN Bwin network ...................................... 22 Table 4: Changing parameters, aleatory distribution, DFN Bwin network ................................. 24 Table 5: Failures by Hops, Exponential distribution, DFN Bwin network ................................. 24 Table 6: Failures by Hops, Pareto distribution, DFN Bwin network .......................................... 26 Table 7: Changing Parameters, Pareto distribution, DFN Bwin network ................................... 28 Table 8: Failures by Hops, Weibull distribution, DFN Bwin network ....................................... 28 Table 9: Comparison between distributions ................................................................................ 30 Table 10: Changing parameters, Pareto distribution, Polska network ........................................ 34 Table 11: Changing parameters, Aleatory distribution, Polska network ..................................... 36 Table 12: Comparison between distributions .............................................................................. 36 Table 13: Downtime protection technique, Aleatory distribution, DFN Bwin Network ............ 38 Table 14: Downtime restauration technique, Aleatory distribution, DFN Bwin Network .......... 38 Table 15:Finit parameters, Aleatory distribution, DFN Bwin Network ...................................... 39 Table 16: Infinite variance, Aleatory distribution, DFN Bwin Network .................................... 39 Table 17: Infinit average, Aleatory distribution, DFN Bwin Network ....................................... 39 Table 18: Downtime protection technique, Exponential distribution, DFN Bwin Network ....... 40 Table 19: Downtime restauration technique, Exponential distribution, DFN Bwin Network .... 40 Table 20: Downtime protection technique, Pareto distribution, DFN Bwin Network ................ 41 Table 21: Downtime restauration technique, Pareto distribution, DFN Bwin Network ............. 41 Table 22: Finit parameters, Pareto distribution, DFN Bwin Network ........................................ 41 Table 23: Infinite variance, Pareto distribution, DFN Bwin Network ........................................ 42 Table 24: Infinite average, Pareto distribution, DFN Bwin Network ......................................... 42 Table 25: Downtime protection technique, Weibull distribution, DFN Bwin Network ............. 43 Table 26: Downtime restauration technique, Weibull distribution, DFN Bwin Network ........... 43
Risk Management of Resilient WiFi Networks 4 Table 27: Downtime protection technique, Exponential distribution, Polska Network .............. 46 Table 28: Downtime restoration technique, Exponential distribution, Polska Network ............. 46 Table 29: Downtime protection technique, Pareto distribution, Polska Network ....................... 47 Table 30: Downtime restoration technique, Pareto distribution, Polska Network ...................... 47 Table 31: Infinite variance, Pareto distribution, Polska Network ............................................... 47 Table 32: Infinite average, Pareto distribution, Polska Network ................................................ 48 Table 33: Downtime protection technique, Weibull distribution, Polska Network .................... 48 Table 34: Downtime restoration technique, Weibull distribution, Polska Network ................... 49 Table 35: Downtime protection technique, Aleatory distribution, Polska Network ................... 49 Table 36: Downtime restoration technique, Aleatory distribution, Polska Network .................. 49 Table 37: Infinite variance, Aleatory distribution, Polska Network ........................................... 50 Table 38: Infinite average, Aleatory distribution, Polska Network ............................................. 50 Table 39: Recovery method of both networks ............................................................................ 53
Risk Management of Resilient WiFi Networks 5 1.- Introducció en Català Des de sempre la fiabilitat de les xarxes de comunicacions sempre ha estat una preocupació important per als proveïdors de serveis de comunicacions. En aquest treball es tracta de comparar diferents mètodes de recuperació de les fallades en els elements de xarxes de comunicacions, des del punt de vista del cost-risc, o com la despesa en recursos per millorar la fiabilitat i funcionalitat de les xarxes de comunicacions redueix el risc de afers indesitjables en la xarxa de comunicacions, com interrupcions o desconnexions durant el servei. Tot això serà dut a terme amb un simulador preparat per al programari de computació MATLAB, per obtenir resultats de temps de desconnexió entre els nodes origen i destí, introduïnt com a paràmetres les xarxes a estudiar, i seguint un algoritme basat en l'algoritme de Dijkstra. Per al modelatge de les fallades en cadascuna de les xarxes, s'utilitzen diverses distribucions estadístiques (Aleatòria, Exponencial, Pareto i Weibull) que, utilitzant generadors aleatoris en el simulador, definiran el temps de fallades i reparacions en cada un dels elements de la xarxa sota estudi. Com a introducció es parlarà de conceptes de xarxes que serviran més endavant per entendre què s’està fent. Es farà una breu descripció del simulador a utilitzar i les seves pertinents modificacions per tal que simuli xarxes sense fils, ja que de primeres aquest simulador estava dissenyat per a xarxes de fibra òptica. Més endavant s’estudiaran dos conceptes en les simulacions de tal xarxes (Time Failing i Time of no Connection) els quals són els encarregats de aportar riscos en aquest tipus de sistemes. Entre això i els mètodes de recuperació de xarxes, s’acabarà fent un estudi global de com afecten els diferents canvis de paràmetres en una xarxa sense fils i com impacta en el món de les comunicacions.
Risk Management of Resilient WiFi Networks 6 2.- Theoretical concepts Nowadays, the worst problem that concerns the communication enterprises is the network reliability and how it impacts in their business. In network field, the reliability is concerned with the ability of a network to perform a communication successfully. In other words, network element reliability is defined as the probability of a network element (e.g., a node or a link) to be fully operational during a certain time frame. That is an important economical matter for enterprises because an upgraded network reliability means more profit and better customer support. We are going to focus on connection failures (nodes and links), what are the solutions and recovery methods for to make the network is fixed and it works well, quickly and efficiently and the risks that it takes. 2.1. Recovery methods The recovery methods used can be classified by two criteria: - Protection and restoration techniques - Global or local recovery Local recovery's objective is to protect against neighbour’s failures, while global recovery methods try to protect the whole path. The difference between protection and restoration techniques is that the first have a fixed alternative protection path if the principal path fails, while restoration techniques find the best alternative path if the main path fails. A link is the connection between 2 different nodes. One example of network is in Figure 1. The path is the set of nodes and links used in a connection from source to destination. The primary path is the predetermined path when there are no failures The recovery path is the path followed when some recovery method needs to be used. We are going to use the next recovery methods: 1. No recovery. 2. Non-dynamic global recovery. (General, protection) Figure 1: Example network
Risk Management of Resilient WiFi Networks 7 3. Non-dynamic local recovery. (Local, protection) 4. Non-dynamic global recovery with dedicated paths after failure. (General, protection) 5. Non-dynamic local recovery with dedicated paths after failure. (Local, protection) 6. Dynamic global recovery. (General, restoration) 7. Dynamic local recovery. (General, restoration) No recovery There is no recovery method for the network has. If it fails, it will try always to restart the same connection. So if one node or link fails, the connection also fails. Non-dynamic general recovery In this case, the recovery method consists in searching an alternate path with a higher computational cost or the same, with the particularity that this path has to use different links and nodes, never the same. It fails only when the principal and alternate path fails at the same time. Non-dynamic local recovery This recovery method searches one path for each link, and, at least, one or more for each node failing, except in the origin or destination nodes. Non-dynamic general recovery with dedicated paths after failures It has a behaviour similar to the non-dynamic general recovery, when a link fails, another path is reserved for each of the connections, so if any of the recovery connections use a path, this path is reserved and cannot be used by other connection affected by a different link failure. Non-dynamic local recovery with dedicated paths after failures In this case, if a node or link fails, it uses its recovery path and “reserves” these links for itself, so no other links or nodes failing can use this links for their recovery paths. The recovery paths for the links are between the two extremes of the link, while the recovery paths for the nodes are between the neighbour nodes of the node failing. Dynamic general recovery This method, when a link or node used by a certain connection fails, searches for the available path with the minimum computational cost. Dynamic local recovery This method also searches for the lowest available computational cost path, but instead of searching for it between the origin and the destiny of the connection, it searches for it between the extreme nodes of a link or between the neighbour nodes of a certain node (for a certain path followed).
Risk Management of Resilient WiFi Networks 8 2.2. Business and expenditure in network reliability Even the networks are a means of information, they are also business platforms so, enterprises have become risk adverse to network downtime with a high cost in industries (financial, media, maintenance…), Risk refers to the possibility of organization’s objectives not being met (i.e., due to discontinuity of business processes) and Risk analysis is a technique for a quantitative assessment of the value of the protection measures taken. Risk assessment techniques in networking must answer mainly two questions: - How much it is spent in risk security - Where should this expenditure be made The expected risk has a dependence on the quantity of the expenditures in risk prevention, and on the effectiveness of the resources acquired with a certain level of expenditure. It is also assumed that no combination of expenditure and resources will be able to eliminate completely the risks taken, so there will be always a residual risk. We are going to consider three possible strategies to combat this - Risk minimization: risk minimizers are the most averse to risk, and the ones that incur in higher costs associated to risk minimization, avoiding risks if possible or minimizing their impact if they happen. For them, risk minimization is the priority, but they will take the lowest budget such that dR/dB=0 (where R and B are the risk assumed and the budget). The point in the Figure for risk minimization would be Bm. - Total benefit coverage: this strategy tries to find the point where the money spent in security has the same value as the risk avoided; that is, where the costrisk graphic and the line B=R intersect (point B1 in Figure). - Profit maximization: profit maximizers try to obtain the maximum profit available; in order to make it, they try to minimize B+R, so they are willing to take a higher risk if it translates into higher revenues (within some limits). For Figure 2: Risk management techniques[6]
Risk Management of Resilient WiFi Networks 15 In a normal city, we have: a(hr) = (1,1 log fc − 0,7)hr − (1,56 log fc − 0,8) In a big city, we have: a(hr) = 8,29(log 1,54hr )2 − 1,1dB fc ≤ 300MHz a(hr) = 3,2(log 11,75hr )2 − 4,97dB fc > 300MHz Walfisch and Bertoni This model considers the impact of rooftops and building heights by using diffraction to predict average signal strength at street level. The model considers the path loss, S, to be the product of three factors: 𝑺=𝑷𝟎·𝑸𝟐·𝑷𝟏 Where Po is the free space path loss between isotropic antennas the factor Q2 reflects the signal power reduction due to buildings that block the receiver at street level and P1 term is based on diffraction and determines the signal loss from the rooftop to the street. Cost 231 The last model is a combination the previous two with the next expression: Lrts + Lmsd if Lrts + Lmsd > 0 Lcost = Lfree + 0 if Lrts + Lmsd < 0 Where Lrts are the Ikegami losses and Lmsd are the Waltisch losses As an interesting thing, we can see in the Figure 8 a comparison between 3 models: Figure 8: Comparison of models of propagation[16]
Risk Management of Resilient WiFi Networks 16 2.7. Access method (CSMA/CA) This Standard uses CSMA/CA (Carrier sense multiple access with collision avoidance, Figure 9) is a network control protocol used to prevent collisions between data packets. Each device indicates you want to convey before doing so, this prevents other devices send information and collision. If the channel is free, wait a while and if it is free continues transmitting. If the channel is busy, expect to be free. This protocol has two main problems: - A station thinks that the channel is free, but it is actually occupied by another node which does not feel. - A station thinks that the channel is busy, but is actually free because the listener node does not interfere with the transmission. 2.8. Simulator The simulator was implemented using the computation software MATLAB. All of the modules used were developed by Francisco Miguel Ocaña Roldán, only using three of them obtained from external sources (dijkstra.m[6], sparse_to_csr.m[7] and xml2struct.m[8]). There is also another module of the program that will be used to calculate the cost, measured in reserved capacity needed, called capacityCalculator.m, it uses also some of the modules listed here. My work consists in to change the action of the simulator because it is oriented to Optical Networks and I’m going to focus in Wireless Networks. The main difference falls in the connections between nodes, I’m going to use radio-links which may change and in certain time 2 nodes can be connected or not. The different modules are listed, in alphabetical order, explaining the main function of each of them, and putting the relationships between them in a figure in the appendix of the work. Figure 9: CSMA/CA working
Risk Management of Resilient WiFi Networks 17 2.9. Radio-Links For to change the working of the simulator of links to radio-links, first we are going to explain thoroughly what consists this kind of connexion between two points. A radio-link is a connexion between different telecommunications equipment using electromagnetic waves. It consists of a small radio transmitter (TX) sending the signal from the studies to a receiver (RX) located on the ground, both with their respective antennas. Figure 10: Communication System Radio links establish a communication of duplex type, from which it must transmit two modulated carriers, one for transmission and one for reception. The assigned frequency pair for transmission and reception of signals is called radio channel. Links are basically made between visible points, i.e. high points of the topography. Whatever the magnitude of the microwave system for proper operation is necessary for the routes between links have adequate headroom for propagation in all seasons, taking into account changes in the atmospheric conditions of the region. With this technology, we can see different the next advantages and disadvantages: Advantages: - The separation between repeaters called vain fundamentally depends on the frequency. - They are generally much cheaper than cable systems. - They can overcome the uneven ground as rivers, mountains, etc. Disadvantages: - Preparation of access for installation and maintenance of equipment, as well as having energy for feeding repeaters. - Segregation is not as simple as cable systems.
Risk Management of Resilient WiFi Networks 18 - Weather conditions may cause blackouts and deviations of the beam so that it is necessary to use auxiliary systems diversity and switching equipment. In this work, the most important things to consider are the length of the radio-link (which has an important impact in the losses of the signal as we have seen in the propagation models) and the probability of failure of the link. The last one can be modelled like: 𝑃𝑒(%)=𝑀𝑇𝑇𝑅 𝑀𝑇𝐵𝐹+𝑀𝑇𝑇𝑅∗100≈𝑀𝑇𝑇𝑅 𝑀𝑇𝐵𝐹∗100 Figure 11: MTBF & MTTR After that, we can modify the simulator in order to simulate radio-links instead optical-links.
Risk Management of Resilient WiFi Networks 19 3.- Modifying the Simulator In order to change the functionality of this simulator, I focused in the propagation model of Free Space and I tried to find a connection between losses and the error probability. I chose this model because at time of calculations it is the most simple and with the others models I should assume a lot of parameters that I disown, like the height of the antennas, the geography, etc. Coming back to this propagation model, we remember its losses formula: 𝑷𝒕 𝑷𝒓=𝑳(𝒅𝒃)=𝟑𝟐.𝟐𝟒+𝟐𝟎𝒍𝒐𝒈(𝒅[𝒌𝒎])+𝟐𝟎𝒍𝒐𝒈(𝑭[𝑴𝒉𝒛]) Using a wireless technology, if I use a frequency between 2 and 6Ghz, the supply of this antennas will be between 30km and 50km.With this information, I chose F = 5.8Ghz and the new formula was: 𝑳(𝒅𝒃)=𝟏𝟎𝟕.𝟓+𝟐𝟎𝒍𝒐𝒈(𝒅[𝒌𝒎]) Assuming that the distance between two nodes is bigger than 50km, I introduced a small change in this formula. If every 40km I use an amplifier, I just have to apply the module 40 to the distance and after that, I came to the conclusion that the interval of losses is: 𝟕𝟓.𝟓≤𝑳(𝒅𝒃)≤𝟏𝟎𝟕.𝟓 With this and assuming that the minimum losses correspond to a Pe (Error Probability) of 0.05% and the maximum to a Pe of 1.05%, I arrived to the next relation: 𝑷𝒆=𝟏 𝟑𝟐∗𝑳(𝒅𝒃)−𝟐.𝟑 Finally, with this scheme I could change the simulator introducing this new parameter, the Pe which changes the link failures and it converts the optical-links to radio-links.
Risk Management of Resilient WiFi Networks 20 4.- Time Failing The concept of time failing refers to the time that at least one element of the main path (shortest path calculated by Dijkstra) is failing. Therefore, in the network, the used path is a recovery path if it is possible. The theoretical time can be estimated if we know the number of hops needed by a certain connection. The MTBF in the DFN-Bwin network is approximated 0.3 years for the nodes and 0.15 years for the links. If these failures are independent, this percentage of time would be: 𝟏𝟎𝟎∗(𝑴𝑻𝑻𝑹 𝟎.𝟑 ∗(𝒏+𝟏)+𝑴𝑻𝑻𝑹 𝟎.𝟏𝟓 ∗ 𝒏) 𝒊𝒇 𝑴𝑻𝑻𝑹≪𝑴𝑻𝑩𝑭 The n refers to the number of hops in the path (origindestiny). The average MTTR is 0.0005 years (all the distributions are equal). The recovery distributions for each link or node, as we said before, are exponential, uniform, lognormal or normal distributions. So now the percentage follows the next expression: Table 1: Theoretical Average 𝟏 𝟔∗(𝒏+𝟏)+𝟏 𝟑∗𝒏 These theoretical results will not be exactly ones we will get in the simulations because of the discretization of time used in MATLAB. The other network, the Polska, depends on their length, so it will be some different at time to calculate this parameter. In summary: from the risk point of view, the time failing is the risk expected when we do not use a recovery method and it is the highest risk assumed in the networks when there are no risk preventions. # Hops Percentage (%) 1 0.67 2 1.17 … …
Risk Management of Resilient WiFi Networks 21 4.1. DFN Bwin Network The other network to simulate was the DFN Bwin Network. It is a network from Germany very dense about demands. It is formed by 10 nodes and 45 links, so its ratio links/node is 45 10 = 4.5 and the ratio links/connections is 45 90 = 0.5. This means that most of the connections will be shorter than in the previous network and also we can say that the 50% of the connections only need one step. All the links have the same routing cost so the path followed depends on the number of hops between the origin to the destiny. The scheme that represents this scenario is the Figure 13: Figure 12: DFN Bwin Network[7]
Risk Management of Resilient WiFi Networks 22 The number maximum of hops for this network is usually 4 because there are a lot of links. All the simulations were run 50 repetitions, and 6 hour period between samples. With all this parameters and calculating we are going to use the expression 0.271∗(n+1)+0.523∗n for to calculate the expected average time of failing. Aleatory distributions This simulation chooses the distribution in an aleatory system between Exponential (probability of 0.5), Pareto (0.25) and Weibull (0.25) with the next parameters: Table 2: Parameters of the distributions Exponential Pareto Weibull Nodes Links Nodes Links Nodes Links MTBF (years) 0.3 0.15 0.3 0.15 0.3 0.15 Variance 90*10-3 22.5*10-3 Infinite 7.5*10-3 24.7*10-3 6.1*10-3 Shape N/A N/A 1.5 3 0.339 0.169 Scale N/A N/A 0.1 0.1 2 2 Average percentage of time failing The results are showed in the next Table 3 and for each connection we calculated the average time failing in order to compare it with the theoretical. Table 3: Failures by Hops, Aleatory distribution, DFN Bwin network One Hop Theoretical average: 1.065% Achieved average: 1.051% Percentage of Time Failing Number of connections 0.8%-0.9% 1 0.9%1.0% 9 1.0%-1.1% 8 1.1%-1.2% 4 Two Hop Theoretical average: 1.859% Achieved average: 1.915% Percentage of Time Failing Number of connections 1.7%-1.8% 7 1.8%1.9% 11 1.9%-2.0% 8 2.0%-2.1% 4 2.1%-2.2% 3 Three Hop Theoretical average: 2.653% Achieved average: 2.599% Percentage of Time Failing Number of connections 2.3%-2.4% 12 2.4%-2.5% 10 2.5%-2.6% 3 2.6%-2.7% 3 2.7%-2.8% 1
Risk Management of Resilient WiFi Networks 23 Four Hop Theoretical average: 3.447% Achieved average: 3.439% Percentage of Time Failing Number of connections 3.3%-3.4% 4 3.5%-3.6% 2 The results are quite similar to the theoretical. We know the least failing links are the ones that involve more normal or lognormal distributions, while the links that fail more are the ones that have more links with exponential or uniform distributions. In the Figure 13 are showed the results of this simulation with intervals of 0.1%: Figure 13: Histogram, aleatory distribution, DFN Bwin network Changes in parameters Finally, we calculated the failure time for different parameters again. The alterations consisted in to change the average and variance values of the Pareto distribution to infinite or finite values. Finite average and variance The results showed a difference between the averages of 0.043%. So it is an insignificant value for to analyse. It means that the number of failures is lower than
Risk Management of Resilient WiFi Networks 24 before. The expected value of the average time of failure is lower than before, so the changes were correctly made. Infinite variance in nodes and links Now the results showed a difference lower of the -0.037%. It means that the number of failures is higher than before and it is because the span time is finite and there should be some times between failures without count. Infinite average in nodes and links Finally, we obtained a difference of 0.11%. It is difficult to regulate this situation because the average in all the distributions is not equal. In the Table 4 are represented the results: Table 4: Changing parameters, aleatory distribution, DFN Bwin network Type of distribution Finite average & variance Infinite variance Infinite average |Difference| 0.04% 0.84% 0.1% Difference 0.043% -0.037% 0.11% Connections failing more 10 49 12 Connections failing less 80 41 78 Exponential distributions Both, links and nodes, now follow an exponential distribution with the parameters that we said before. Average percentage of time failing Table 5: Failures by Hops, Exponential distribution, DFN Bwin network One Hop Theoretical average: 1.065% Achieved average: 1.069% Percentage of Time Failing Number of connections 0.9%1.0% 2 1.0%-1.1% 12 1.1%-1.2% 8 Two Hop Theoretical average: 1.859% Achieved average: 1.861% Percentage of Time Failing Number of connections 1.6%-1.7% 8 1.7%1.8% 15 1.8%-1.9% 4 1.9%-2.0% 10 2.0%2.1% 1
Risk Management of Resilient WiFi Networks 31 4.2. Polska Network The first network to simulate was the Polska Network. It is formed by 12 nodes and 18 links, so its ratio links/node is 𝟏𝟖 𝟏𝟐 = 1.5 and the ratio links/connections is 𝟏𝟖 𝟔𝟔 = 0.27. The scheme that represents this scenario is the Figure 18: Figure 18: Polska network[7] The principal nodes are the principal cities of Polska and I chose this scenario to compare an optical-link simulation with a radio-link simulation plus the principal aspects of this project. As we said, this network follows a different expression for the MTBF for each link because it depends on the length of the link and on the MTBF of the nodes: 𝑭∗(𝟏+𝟒∗ 𝑳𝒊 𝑳𝒎𝒂𝒙) Where F is the MTBF for one node, Li is the length of the link under study and Lmax is the longest link in the network. For this aspect (the length), a general analysis of the time failing depending on each distribution is more important.
Risk Management of Resilient WiFi Networks 32 If we took a look to the parameters of the network, we can find an MTBF of 0.169 years for the links and 0.5 years for the nodes and an average distance between nodes of 190.4 km, where the shortest link is the Kraków-Katowice (69Km) and the longest link is the Bialystok-Rzeszow (353Km). This kind of network is different from the other when we speak about the recovery distributions. In this case, they have similar means of 5.67*10-4 and a variance nearby 1.3 samplesaffected/failure for 12 hour periods and simulations with 50 repetitions. Exponential distributions In this case I used an average for the nodes of 0.5, and for the links between 0.1 and 0.28, following the expression mentioned before. Average percentage of time failing The least failing connection is, in average the connection 47. This is the Bialystok Poznan, failing a 0.069% of the time. The most failing connection, in this simulation, is the connection 45. This is the Krakow Wroclaw, failing a 2.94% of the time. It is obvious that one hop connection has less fails than multiple hop connections because a path with the highest number of nodes and the expression of link failures. After the simulation, the average percentage of time failing is 1.54%. In the Figure 19 are showed the results of this simulation with intervals of 0.05%: Figure 19: Histogram, Exponential distribution, Polska network
Risk Management of Resilient WiFi Networks 33 Pareto distributions The MTBF remains the same. We set mean and finite variance; the parameters are to form both links and nodes 3, 0.333 for the scale parameter for the nodes and the links varies between 0.067 and 0.187. Average percentage of time failing In this network, the Pareto distribution has the following feature: the variance of nodes is finite and then we will change the parameters of infinite variance in nodes and links and infinite mean in both again. Obviously, one step connections are failing (normally) a lower amount of time than longer connections. After the simulation, the average percentage of time failing is 1.44%, lower than in the exponential case. In the Figure 20 are showed the results, again, of this simulation with intervals of 0.05%: Figure 20: Histogram, Pareto distribution, Polska network Changes in parameters Just how we expected, if we make changes in the parameters we have changes in the behaviour of the network studied. Now, we check these new results for the cases mentioned before: infinite variance and infinite average. The results are shown in the Table 10.
Risk Management of Resilient WiFi Networks 34 Table 10: Changing parameters, Pareto distribution, Polska network Type of distribution Infinite variance Infinite average |Difference| 0.401% 0.178% Difference -0.401% 0.178% Connections failing more 66 63 Connections failing less 0 3 Infinite variance The main obtained, like we hoped, is bigger than the previous situation with a value of 1.84%. Infinite mean In this situation is the opposite. Now, the main value is 1.26%, obviously lower because of the changes in the parameters and because infinite mean distributions fail a lower total of time. Weibull distributions The MTBF remains the same in each link and node. We set mean and finite variance; the parameters are for the scale both links and nodes 2, 0.564 for the form parameter for the nodes and in the links varies between 0.113 and 0.316 Average percentage of time failing In this network, the Weibull distribution obtains an average percentage of time failing of 1.47%. It is bigger than in the previously studied situation (Pareto’s) and lower than the Exponential situation. In the Figure 21 are showed the results of this simulation with intervals of 0.05%: Figure 21: Histogram, Weibull distribution, Polska network
Risk Management of Resilient WiFi Networks 35 Aleatory distributions In this case, the parameters used are the same that we established with the others (Exponential, Pareto and Weibull). Average percentage of time failing In all the simulations, the path used is very important with the results of the time failing (longer path implies longer time failing in general) but here it changes. The results show that the average percentage of time failing is 1.46%, lower than Exponential and Weibull situation and higher than Pareto distribution. In the Figure 22 are showed the results, again, of this simulation with intervals of 0.05%: Figure 22: Histogram, Aleatory distribution, Polska network Changes in parameters How we expected, if we make changes in the distributions we have changes in the behaviour of the network studied. The results are shown in the Table 11:
Risk Management of Resilient WiFi Networks 36 Table 11: Changing parameters, Aleatory distribution, Polska network Type of distribution Infinite variance Infinite average |Difference| 0.145% 0.075% Difference -0.145% 0.021% Connections failing more 65 21 Connections failing less 1 45 Infinite variance After the simulations, we obtained a mean of 1.61%, higher than the previous situation because of the time span. In the other hand, if we compare this with Pareto distribution is lower (Pareto has a mean of 1.84%) Infinite mean In this case, the mean is 1.44%, higher again than Pareto distribution and lower than the others. Comparison between distributions All the results are showed in the Table 12 as a summary: Table 12: Comparison between distributions Exponential Pareto Aleatory Weibull Average 1.54% 1.44% 1.46% 1.47% As we can see, the results are quite similar and this is because the theoretical average for the three distributions is the same. The most failing is the Exponential and the least failing is the Pareto. It is because of the parameters of the network and the parameters given to the distributions. As summary, we can say that this network is pretty safe because the results are really low and, therefore, this makes the network assumes lower risks for when we talk about time failing. For more schematic detail, see the Figure 23: Figure 23: Comparison between distributions
Risk Management of Resilient WiFi Networks 37 5.- Time of no connection This concept is the total time in which the source and destination of a certain connection are not connected together .This happens when the recovery method used is not able to fix the failure in a network element (node or link) and therefore it is causing some connection fails. The best recovery method has lower times of no connection times, it is trivial, but also need greater economic cost in terms of network infrastructure for implementation. Previously to all the simulations, we assumed an infinite capacity in all the links of the network except for dedicated protection methods in order to interpret the results obtained. It is obvious that general and local recovery behave in the same way for one hop connections: the time failing for general recovery is exactly the same as the time failing for local in one hop connections. There are exceptions, but is not usual. Like when the simulator chooses other recovery paths for local and general recovery; or where different connections can use both links and nodes that the restoration paths would need (dedicated paths). The minimum times failing are the same for local and general connections a lot of times because of we said before but, if there are two or more steps connections, the times of no connection can be different. Finally, we have to know that the most efficient recovery is the general dynamic, which finds a new path even if there are more than one (or one) components failing and there is a path available and that one hop connections will not be the less failing always.
Risk Management of Resilient WiFi Networks 38 5.1. DFN Bwin Network Aleatory distributions Protection techniques Table 13: Downtime protection technique, Aleatory distribution, DFN Bwin Network Protection technique Time of no connection General nondedicated Local nondedicated General dedicated Local dedicated Average 0.7639% 0.7352% 0.8264% 0.8413% Variance 4.39*10-7 4.21*10-7 7.2*10-7 8.02*10-7 Minimum 0.6111% 0.598% 0.6004% 0.5718% Maximum 0.8195% 0.8481% 0.9267% 1.005% Damage prevented (%) 62.3% 62.63% 58.39% 57.81% The principal difference of average between dedicated or non-dedicated technique is only the 0.0843%, a small value. There are not too many differences between the techniques, but we can say that non-dedicated methods are better than the dedicated speaking about damage prevented. Restoration techniques Table 14: Downtime restauration technique, Aleatory distribution, DFN Bwin Network Restoration technique Time of no connection General Local Average 0.7121% 0.7349% Variance 4.18*10-7 3.6*10-7 Minimum 0.4817% 0.4932% Maximum 0.6639% 0.6651% Damage prevented (%) 65.47% 65.11% The two techniques have similar results, the only difference is the variance, where in the local case is lower than the general case.
Risk Management of Resilient WiFi Networks 39 Changes in parameters Finite average and variance in links and nodes Table 15:Finite parameters, Aleatory distribution, DFN Bwin Network Method of recovery General nondedicated Local nondedicated General dedicated Local dedicated General restoration Local restoration Difference in average 0.15% 0.146% 0.139% 0.163% 0.095% 0.109% Connections failing more 3 2 1 3 3 3 Connections failing less 87 88 89 87 87 87 It is obvious that the connections fail less than in the previous case. Infinite variance in links and nodes Table 16: Infinite variance, Aleatory distribution, DFN Bwin Network Method of recovery General nondedicated Local nondedicated General dedicated Local dedicated General restoration Local restoration Difference in average 0.045% 0.062% 0.05% 0.057% 0.048% 0.042% Connections failing more 11 13 14 19 20 14 Connections failing less 79 77 76 71 70 76 The network connections fail more than before, and in this case, the method with best results is the general non-dedicated. Infinite average in links and nodes Table 17: Infinite average, Aleatory distribution, DFN Bwin Network Method of recovery General nondedicated Local nondedicated General dedicated Local dedicated General restoration Local restoration Difference in average 0.125% 0.142% 0.135% 0.156% 0.144% 0.141% Connections failing more 2 4 2 4 1 0 Connections failing less 88 86 88 86 89 90
Risk Management of Resilient WiFi Networks 40 The network connections fail less than the other two cases, and in this case, the method with best results is the general local restoration. Exponential distributions Protection techniques Table 18: Downtime protection technique, Exponential distribution, DFN Bwin Network Protection technique Time of no connection General nondedicated Local nondedicated General dedicated Local dedicated Average 0.6381% 0.648% 0.6498% 0.6521% Variance 1.44*10-8 1.21*10-8 3.87*10-8 5.3*10-8 Minimum 0.5319% 0.5342% 0.5386% 0.559% Maximum 0.7323% 0.7352% 0.8512% 0.901% Damage prevented (%) 63.21% 63.51% 60.4% 59.88% The principal difference of average between dedicated or non-dedicated technique is only the 0.0079%, a very small value and lowers than before. There are not too many differences between the techniques, and both techniques are similar. Restoration techniques Table 19: Downtime restauration technique, Exponential distribution, DFN Bwin Network Restoration technique Time of no connection General Local Average 0.643% 0.659% Variance 1.15*10-7 1.17*10-7 Minimum 0.4732% 0.5121% Maximum 0.6293% 0.712% Damage prevented (%) 64.59% 63.11% The results are very similar between them, and the variances are bigger than the last case. The damage prevented is slightly lower.
Risk Management of Resilient WiFi Networks 47 Pareto distributions Protection techniques Table 29: Downtime protection technique, Pareto distribution, Polska Network Protection technique Time of no connection General nondedicated Local nondedicated General dedicated Local dedicated Average 0.3571% 0.3521% 0.3973% 0.3741% Variance 6.51*10-7 5.2*10-7 1.23*10-7 7.35*10-7 Minimum 0.2854% 0.2806% 0.3228% 0.2917% Maximum 0.3878% 0.3552% 0.4275% 0.3849% Damage prevented (%) 76.33% 77.4% 72.78% 74.6% Like in the last distribution, the principal difference of average between dedicated or non-dedicated technique is a small value. We have a different variance in General Dedicated if we compare it with the others. Finally, de damage prevention differences are insignificant between them and all good. Restoration techniques Table 30: Downtime restoration technique, Pareto distribution, Polska Network Restoration technique Time of no connection General Local Average 0.3342% 0.3311% Variance 4.77*10-8 4.79*10-8 Minimum 0.2481% 0.2481% Maximum 0.3712% 0.3713% Damage prevented (%) 78.22% 78.29% As we can see, the variance is really small, we can say the smallest in the simulations and the damage prevent is also really high and good. Changes in parameters Infinite variance in links and nodes Table 31: Infinite variance, Pareto distribution, Polska Network Method of recovery General nondedicated Local nondedicated General dedicated Local dedicated General restoration Local restoration Difference in average -0.112% -0.101% -0.132% -0.118% -0.101% -0.109% Connections failing more 66 66 66 66 66 66 Connections failing less 0 0 0 0 0 0
Risk Management of Resilient WiFi Networks 48 All the difference in average is negative, so the connections fail more than in the finite average case. Infinite average in links and nodes Table 32: Infinite average, Pareto distribution, Polska Network Method of recovery General nondedicated Local nondedicated General dedicated Local dedicated General restoration Local restoration Difference in average -0.043% -0.044% -0.037% -0.023% -0.031% -0.032% Connections failing more 54 56 50 43 48 48 Connections failing less 12 10 16 23 18 18 With the infinite average, we obtain less fails than the principal simulation, but more fails than the infinite variance. Weibull distributions Protection techniques Table 33: Downtime protection technique, Weibull distribution, Polska Network Protection technique Time of no connection General nondedicated Local nondedicated General dedicated Local dedicated Average 0.3878% 0.3811% 0.4221% 0.4107% Variance 1.11*10-7 1.15*10-7 1.88*10-7 1.36*10-7 Minimum 0.3156% 0.3201% 0.3395% 0.3459% Maximum 0.483% 0.482% 0.5173% 0.4898% Damage prevented (%) 74.54% 74.61% 72.3% 72.96% The results show a difference between dedicated and non-dedicated of 0.032%, really small. We can see that it fails more than Pareto distribution and the variances are low, as we hoped.
Risk Management of Resilient WiFi Networks 49 Restoration techniques Table 34: Downtime restoration technique, Weibull distribution, Polska Network Restoration technique Time of no connection General Local Average 0.3497% 0.3503% Variance 8.98*10-8 8.91*10-8 Minimum 0.3064% 0.3064% Maximum 0.4571% 0.4571% Damage prevented (%) 75.13% 75.11% The differences are minim between general and local techniques. Comparing with the other distributions, for example with the exponential, the variance is lower and the damage prevent is higher. Aleatory distributions Protection techniques Table 35: Downtime protection technique, Aleatory distribution, Polska Network Protection technique Time of no connection General nondedicated Local nondedicated General dedicated Local dedicated Average 0.3383% 0.3176% 0.3965% 0.3831% Variance 7.97*10-8 1.5*10-7 2.11*10-7 1.45*10-7 Minimum 0.3141% 0.3143% 0.3381% 0.3326% Maximum 0.4457% 0.4384% 0.5505% 0.4851% Damage prevented (%) 76.11% 76.87% 71.49% 74.43% The results show a difference between dedicated and non-dedicated of 0.061%, very small like all the distributions. There is one variance really small and all in general are also low. The damage prevented is higher than Weibull and Exponential distribution and quite similar than Pareto distribution. Restoration techniques Table 36: Downtime restoration technique, Aleatory distribution, Polska Network Restoration technique Time of no connection General Local Average 0.3132% 0.3129% Variance 6.98*10-8 6.99*10-8 Minimum 0.3101% 0.3103% Maximum 0.4317% 0.4316% Damage prevented (%) 76.24% 76.22%
Risk Management of Resilient WiFi Networks 50 As we can see, the differences are almost nulls. The variances are very low and the damage prevented is lower than the Pareto distribution (about 78%). Changes in parameters Infinite variance in links and nodes Table 37: Infinite variance, Aleatory distribution, Polska Network Method of recovery General nondedicated Local nondedicated General dedicated Local dedicated General restoration Local restoration Difference in average -0.035% -0.031% -0.039% -0.034% -0.024% -0.023% Connections failing more 46 47 53 47 45 45 Connections failing less 19 19 13 19 20 21 We have not too much for evaluate because the differences are very small. Infinite average in links and nodes Table 38: Infinite average, Aleatory distribution, Polska Network Method of recovery General nondedicated Local nondedicated General dedicated Local dedicated General restoration Local restoration Difference in average -0.025% -0.024% -0.019% -0.018% -0.026% -0.026% Connections failing more 46 45 47 41 50 50 Connections failing less 20 20 19 25 16 16 We have not too much for evaluate because the differences are very small but there are less differences than the infinite variance.
Risk Management of Resilient WiFi Networks 51 Comparison between distributions Protection methods Figure 26: Comparison between distributions As we can see clearly, the method with more risk and a downtime higher is the general dedicated. In the other hand we have the local non-dedicated that is the opposite. Finally, for non-dedicated methods the aleatory distribution is the least failing while in dedicated methods is the Pareto distribution. Restoration methods Figure 27: Restoration methods comparison
Risk Management of Resilient WiFi Networks 52 In this case (Figure 27), in Weibull and Aleatory distributions the differences between restorations are quite similar and the others have a little bit more of difference, but it is very small (about 0.005%).
Risk Management of Resilient WiFi Networks 53 5.3. Study between networks In this part we will compare the two networks in different aspects like which of them present higher levels of failures, and which is the difference between methods of recovery (protection and restoration). The Table 39 and Figure 28 compare all the recovery methods of the networks with an average of the results obtained before: Table 39: Recovery method of both networks Method of recovery Polska DFN Bwin General non-dedicated 0,3649% 0,6659% Local non-dedicated 0,3557% 0,6871% General dedicated 0,4048% 0,7217% Local dedicated 0,3903% 0,7494% General restoration 0,3389% 0,6718% Local restoration 0,3371% 0,6944% As inference, for a network like Polska, small and depending on the length of the paths, the best recovery method is the General non-dedicated. In contrast with the DFN Bwin network the more convenient is the Local dedicated. Figure 28: Recovery method of both networks
Risk Management of Resilient WiFi Networks 54 6.- Conclusions In this work we have seen the behaviour of each network, Polska and DFN Bwin, when they are simulated by some different ways. We have to know that these simulations have a lot of influences, like the parameters applied, the simulating time, the aleatory of the computer and of the Matlab… So the final results can be affected (barely) in any case that we did. I had some problems with modifying the simulator in order to use wireless networks, but at the end and with some effort, it could be possible. I will come to the point. These two networks are very different because of their topology, size, connections, etc. So the results for one are quite different from the other. The recovery methods change their efficiency in each network. In Polska network, the length of the links is important, and as a conclusion, the average time of failing is very similar in each distribution, having a better result with Pareto distribution but in general, is a low value (between 1.4%-1.5%) so the risk assumed is very low. In the other hand, with DFN Bwin network the best distribution is the Exponential, getting a values of average time of failing very close to the theoreticals. When we studied the behaviour with the different recovery methods and techniques of restoration, we arrived to the next conclusion: In Polska network, the best choice for the protection method is the local non-dedicated with an aleatory distribution obtaining the best results with risks and with the restoration method the same distribution and Local recovery. With the other network, in protection techniques it answered better with the Pareto distribution and general non-dedicated technique and for the restoration, the same distribution and a general recovery. Finally, we could make other kinds of studies in a future projects, as an example, to use different distributions, or even change the scenarios to study and use this same simulator and this concepts for to simulate and study local networks (LAN’s) or any other.
Risk Management of Resilient WiFi Networks 55 7.- Acknowledgements I want to start giving thanks to my family for support me and allowing me the opportunity to go to Polska for to do this work. I would also like to thank Piotr Cholda and Francisco Ocaña for all the help they gave me during the development of this project, and the patience and time that they had. Finally, I want to thank my friends for the support they have always given to me, which have made this experience possible, because without their spirits I’d never finish this. Thanks all for to do this possible.
Risk Management of Resilient WiFi Networks 56 8.- Bibliography [1]. F. Ocaña. Design of Services in Commercial Reliable Networks Based on Risk Management. Jul 2014 [2]. P. Cholda. Risk-Aware Design and Management of Resilient Networks. 2014 [3]. P. Cholda, P. Guzik, K. Rusek, A. Jajszczyk. Risk-Aware Resilient Network Design. March 2014 [4]. P. Cholda, E. L. Folstad, B. E. Helvik, P. Kuusela, M. Naldi, I. Norros. Towards risk-aware communications networking. Reliability Engineering and System Safety vol. 109 pp. 160-174 Jan 2013 [5]. Calculadora de distancia: http://es.distance.to/ [6]. E. E. Anderson. Firm Objectives, IT alignment, and information security. IBM J. Research and Development, vol. 54 no.3 Paper 5 May/June 2010 [7]. SNDlib Library: http://sndlib.zib.de/ [8]. Dijkstra Function Matlab: http://www.mathworks.com/matlabcentral/fileexchange/35819- openstreetmapfunctions/content/openstreetmap/dependencies/gaimc/dijkstra.m [9]. Sparse to CSR Function Matlab: http://www.mathworks.com/matlabcentral/fileexchange/35819- openstreetmapfunctions/content/openstreetmap/dependencies/gaimc/sparse_to_csr.m [10]. XML to Struct Function Matlab: http://www.mathworks.com/matlabcentral/fileexchange/44325-freehand- prostateannotation/content/annotation/xml2struct.m [11] Network Security Audit: http://www.altiusit.com/ [12]. José Roberto . Redes Inalámbricas. 2008 [13]. N. García. Modelo de cobertura en redes inalámbricas basado en radiosidad por refinamiento progresivo. March 2006 [14]. A. Engels. Dimensioning, Cell Site Planning, and Self-Organization of 4G Radio Networks. September 2013 [15]. WiGig: http://www.slideshare.net/asertseminar/wigig [16]. A.Wagemakers, B. Ibarz. Modelos de Propagación electromagnética. October 2007.