Professional Documents
Culture Documents
New Metrics To Modify BGP Routes Based On SDN
New Metrics To Modify BGP Routes Based On SDN
https://doi.org/10.1007/s11276-019-02025-3 (0123456789().,-volV)(0123456789().
,- volV)
Abstract
Through Software Defined Network, routes obtained through Border Gateway Protocol can be modified to improve latency
or select a shorter path. With the same tool that perform the above actions, you can modify routes, for example, to avoid
autonomous systems in certain countries or some other policy that may help, for example, security.
123
5624 Wireless Networks (2020) 26:5623–5630
123
Wireless Networks (2020) 26:5623–5630 5625
optimize. This usually happens when some ISP, does not Table 3 shows eight segments of the IPv4 network that
announce all segments to all their neighbors, so the routes its routes, apparently correct, are not, if it is considered that
that are formed from the neighbor that does not have the AS6503 is a direct neighbor of the provider from where
information of all the segments, can generate routes in those routes were obtained so that they can be optimized
BGP, which appear shorter than what they would really be altering the Next-Hop by the gateway address of the
if all the information were taken into account. AS6503 and trimming the path from number 6503.
Experimentally it has been found, for example in Mexico, Table 4 shows seven IPv6 network segments. Likewise,
it is common for some ISP not to announce all its segments to if we consider that the AS3549 is a direct neighbor of the
other Mexican ISPs, but to ISP in the USA. This means that provider from where those routes were obtained, so they
for some network segments, it is necessary to go to the USA can be optimized by altering the Next-Hop by the gateway
and return to Mexico between 2 domestic ISPs.
123
5626 Wireless Networks (2020) 26:5623–5630
123
Wireless Networks (2020) 26:5623–5630 5627
address of the AS3549 and leaving as path only the number the range of 2-byte autonomous systems and from
3549 4200,000,000 to 4294,967,294, in 4-byte AS
All the segments are not optimized, since there are AS The Table 5 shows 9 paths, both IPv4 and IPv6 that
that are direct neighbors, so the best route is through these contain private numbers.
ISPs and not the one that is shown as the best option.
5.2 Based on the registration country
of the autonomous system
5 Non-standard metrics
Each autonomous system is registered with the name of the
In the previous section examples were shown, of parame- ISP that administers it and this, in turn, belongs to a
ters that are recommended to consider, but taking advan- country. This record corresponds to each of the five
tage of the SDN capacity, other types of routes can be Regional Internet Registries (RIR).
analyzed and corrected. This is possible due to the use of The following examples (Table 6) show routes that
high-level languages such as Java in the construction of the change and return to a country. (15 routes of more than
SDN module, which allows analyzing all the obtained 4,000 found!)
routes quickly. The information shown in Tables 7 and 8 is only a
possibility of the reports that can be obtained. These
5.1 Numbers of invalid autonomous systems examples show summaries of the routes that pass through
Chinese Internet providers, and it is destiny is a provider of
You can search the routes that BGP provides with wrong another country. China was selected because of the dis-
numbers, which due to some configuration error or typo- tance to Mexico, where the tests were carried out.
graphical error, include numbers of autonomous systems With tools like this development for SDN, it is possible
that are not valid. to obtain statistics, which directly in a router cannot be, as
The most common problem is that numbers of private the following examples Tables 7 and 8):
autonomous systems are included in the announcement of
Internet routes. The numbers of private AS are clearly
defined in RFC6996 [10] and are: from 64,512 to 65,534 in
123
5628 Wireless Networks (2020) 26:5623–5630
123
Wireless Networks (2020) 26:5623–5630 5629
123
5630 Wireless Networks (2020) 26:5623–5630
13. Zhang, B., Massey, D., & Zhang, L. (2004). Destination reach- School of Universidad Panamericana at Mexico City, as a Full-Time
ability and BGP convergence time [border gateway routing pro- Professor. From 1998 to 2009, he heads the Computer Science
tocol]. In: Global telecommunications conference 2004 Engineering Program. From July 2009 to 2016 he was a Dean of
(GLOBECOM’04) (vol. 3, pp. 1383–1389). IEEE. Engineering School. He teaches undergraduate and postgraduate
subjects such as Artificial Intelligence, Mobile Robotics, Scientific
Computing, Theory of Compilers and Object Oriented Programming.
Lorenzo M. Elguea is an engi- He is the Faculty Advisor for the Aerodesign international competi-
neer from the Universidad tion organized by the Society of Automotive Engineers, USA. His
Panamericana and a candidate current research interests include artificial intelligence, optimization
doctor from the same university. algorithms, data science, mobile robotics and the internet of things.
His research interests are mainly He is a member of the Steering Committee of the International
in latencies, WAN (BGP) net- Conference on Computer Science and Computational Intelligence and
works, wireless networks, IPv6, General Chair of the International Conference on Computer Science
Cloud Computing and IoT. and Engineering and Health Services.
Also, he is CIO of the Univer-
sidad Panamericana campus of
Publisher’s Note Springer Nature remains neutral with regard to
Mexico City.
jurisdictional claims in published maps and institutional affiliations.
123
Reproduced with permission of copyright owner. Further reproduction
prohibited without permission.