Questions tagged [bgp]

BGP (Border Gateway Protocol) is a routing protocol that is primarily used to make routing decisions on today's internet.

The current version of the Border Gateway Protocol (BGP) which is BGP-4 is described in RFC4271 (https://tools.ietf.org/html/rfc4271)

113 questions
9
votes
3 answers

IP to ASN mapping algorithm

Is there no easy way to map a given IP adress to the corresponding ASN number? For example: ping to find out the IP adress: $ ping www.switch.ch PING aslan.switch.ch (130.59.108.36) 56(84) bytes of data. whois lookup for the ASN number: $ whois -h…
Stephan Berger
  • 103
  • 1
  • 1
  • 4
3
votes
3 answers

BGP ASN Lookup with Python

Does anyone know of a Python module or a solution for how I could lookup company info (Name preferably) via the ASN (autonomous system number) number? There are lots of IP to ASN tools but that is not what I require. ASN needs to be the input -…
gamarga
  • 105
  • 2
  • 6
3
votes
1 answer

BGP announcements?

Can anyone explain how announcing in BGP works? I understand BGP finds the shortest/lowest-cost path to a destination network, but I also read somewhere that it announces these paths. Is that true, and how exactly does it announce a route?
K L
  • 1,343
  • 2
  • 14
  • 20
2
votes
1 answer

calico network connectivity failing between pods and services and pods in different hosts

I have implemented a multi master HA kubernetes cluster and wanted to implement the Calico the hardway as described in here. I was able complete all the steps and my connectivity is not there between the pods and services and pods and other pods in…
2
votes
1 answer

What exactly is "BGP poisoning"?

I found statements "BGP poisoning" and "poisoned AS" in several papers and sometimes it seems to refer to something that is done the achieve a certain thing sometimes it is considered something bad but it is never explained what exactly "BGP…
baxbear
  • 679
  • 2
  • 6
  • 24
2
votes
2 answers

Specify "privileged" container mode in dockerfile?

I am a little new to Docker technology, however, I would like to deploy a couple of BGP BIRD containers throughout my infrastructure. I would like to automate container creation with Dockerfile builds, however, I can not run BIRD in docker without…
A. Smith
  • 55
  • 1
  • 7
2
votes
0 answers

Extracting historical IP Addresses for a given ASN

I need to identify all IP addresses assigned to a specific ASN (Autonomous System Number) at specific points in time in the past. Is it standard practice to reasign IP addresses from one ASN to another? If so, how do I get historical data on these…
rizzy
  • 21
  • 1
2
votes
4 answers

Is it possible to implement load balancing using the Border Gateway Protocol (BGP)?

Can I implement load balancing in BGP?
user272947
  • 21
  • 1
  • 2
2
votes
2 answers

JunOS Regular Expressions for AS Path

I want to write a regex in Juniper MX960 router for BGP including 3 AS paths with first element is constant, second and third are wildcard. I found that we can put as numbers manually like this: 9121+ (one|two|three|...) (one|two|three|...) This…
h0m3r
  • 53
  • 1
  • 11
2
votes
1 answer

Is there any database of Autonomous Systems (AS) and IP address spaces an AS is allocated?

as IP address spaces are allocated to different ASes, there must be an API or database somewhere where I can find all addresses an AS can originate ?
hasanatkazmi
  • 5,963
  • 2
  • 19
  • 18
2
votes
2 answers

How are Route Targets assigned in overlapping MPLS-VPNs?

I am not sure if I should ask this question here or in ServerFault. But since the question is more about the concept of networking rather than it's implementation in a specific hardware, I decided to post it here. As per my understanding Route…
Hashken
  • 3,820
  • 7
  • 30
  • 46
1
vote
1 answer

Calculating a potential route of a packet offline

I'm trying to find a method for enumerating a few possible routes a packet may take on the internet, specifically counting ASes it might pass on the route. Is this possible at all, and will I be able to collect all the necessary information to…
cdecker
  • 4,042
  • 6
  • 41
  • 71
1
vote
4 answers

BGP vs OSPF and IsIs

Why hasn't BGP completely replaced OSPF and IsIs? What do the other two protocols handle that BGP does not already implement?
Goose3gg
  • 83
  • 1
  • 9
1
vote
2 answers

Compare Quagga to XORP

What do you think of Quagga compared to XORP as a dynamic software routing engine? What are the technical merits of each engine comparatively? Additionally, what do most people think of them from a programming view. Who has manipulated networks…
Sargun Dhillon
  • 1,688
  • 2
  • 18
  • 23
1
vote
0 answers

TCP Packet Encode/Decode

I'm learning c++ and coming from a Network Engineer background, and it is fun for me to program something that I'm familiar with it on the network side. I started creating a BGP speaker. Here is my…
amb1s1
  • 1,269
  • 4
  • 18
  • 25
1
2 3 4 5 6 7 8