Questions tagged [bgp]

BGP (Border Gateway Protocol) is a routing protocol that is primarily used to make routing decisions on today's internet. Questions must be about scripting BGP only. General BGP questions may be asked on https://serverfault.com or https://networkengineering.stackexchange.com

Border Gateway Protocol(BGP) is how the Internet routes traffic between routers. BGP advertises routes for a given IP and selects the best one for the traffic. The current version of the Border Gateway Protocol (BGP) which is BGP-4 is described in RFC4271 (https://tools.ietf.org/html/rfc4271).

Questions about the various BGP scripting languages are on-topic. Questions about BGP (routing, hardware, etc.) in general are not. Sites where you can ask broader BGP questions include


130 questions
10
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
  • 113
  • 1
  • 1
  • 5
6
votes
4 answers

Where to get full list of registered ASN (autonomous system number)?

I need to maintain actual list of AS (autonomus system) include ASN and AS owner name. There's some resource like ftp.arin.net/info/asn.txt or https://peeringdb.com/ But none of them contain full list of ASN. For example arin.net doesn't contain…
user3742227
  • 375
  • 5
  • 12
4
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
  • 860
  • 3
  • 9
  • 27
4
votes
3 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
  • 75
  • 1
  • 1
  • 9
4
votes
4 answers

What's the meaning of BGP prefix?

Through this website IP to ASN lookup,I can get a series of results about the ASN,but I can't find the meaning of BGP prefix.Maybe I know what it is,however,how it works? Is there anyone who can tell me the role BGP prefix plays in the ASN system?
duye
  • 155
  • 1
  • 3
  • 9
4
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
  • 41
  • 1
3
votes
3 answers

How to get all ip ranges from asn?

I want to get all IP address ranges/blocks from as number. I can search throw google but need to write them manually. I want to get them all at once? Is this possible to get only ip address ranges from websites at once?
3
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…
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
  • 7
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,373
  • 2
  • 15
  • 21
2
votes
5 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
  • 93
  • 1
  • 1
  • 9
2
votes
1 answer

Can one IP address correspond to multiple ASNs

Can one IP address correspond to multiple ASNs? If so, what were the circumstances? Is it related to anycast ip address? thanks!
Liu Yao
  • 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
  • 8,041
  • 2
  • 22
  • 18
1
2 3
8 9