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
0
votes
1 answer

why are there several times repeated AS number appearing in certain AS path?

I try to use the bgpdump shared library to read routeview's MRT format file. In the output, I found the following AS path: 1299 9318 38091 38091 38091 38091 38091 18313 The are many of them and this is only one example. My question is why the ASN…
0
votes
1 answer

Quagga bgp_accept code

I am trying to understand what the following (code below) is doing, and am struggling to understand the concept of sockunions. Can anyone help me out? What has this got to do with threads and thread file descriptors? Appreciate your help in…
Sarah
  • 1
  • 1
-1
votes
1 answer

What does BGP Path Attribute Type 18 refer to?

Does anyone know what Path Attribute Type 18 refers to and how to parse it? The best I can understand is that it is a new AGGREGATOR (type 7) and I'm assuming that it's reading the new AS32 format, but that's not cutting it because I can't parse…
Noah Campbell
  • 1,042
  • 9
  • 13
-1
votes
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,515
  • 8
  • 46
  • 75
-1
votes
1 answer

bgp Neighbor some times lost connection

unstable BGP connection I notice that bdp lost Neighbhor connection Neighbhor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd NeighborName ----------- --- ----- --------- --------- -------- ----- …
-1
votes
1 answer

BGP Multipath in Cisco and Juniper from different ASes

I recently started to look into BGP load balancing, explicitly, I was wondering if it there is a way in BGP to perform load balancing on two paths whose advertisement came from two external BGP speakers from to distinct ASes. When looking into the…
-1
votes
1 answer

For FRR BGP config, do I need add route to null0 for my network like Cisco require?

I used to see Cisco's approach when configure BGP: router bgp 64511 network 101.10.0.0 mask 255.255.255.0 ... ip route 101.10.0.0 255.255.255.0 null0 that is, I need to add the network to routing table so I can advertise it. Now I need to…
Alexander
  • 464
  • 1
  • 5
  • 17
-1
votes
1 answer

BGP Neighbor both Initiating connection

I'm new to this forum and this is my first question in this forum, Not sure if this is the right forum to ask for . I applied for a networking job and i got my first call today.. The interviewer was asking a question which i could not answer.…
Sai
  • 77
  • 8
-1
votes
2 answers

java Api for BGP Ranking

i am trying to hit bgp ranking url but am getting html page as output , i want to get the json data in that hmtl page. how can we get the json data. This is the controller and below that i have given the service implementation. can any body find out…
-1
votes
2 answers

The ip addresses of all eBGP routers on the Internet

I need to measure the latency from a specific location of the Internet to all of the other ISPs on the Internet. My plan is to measure the ping delay from a server to all of eBGP routers on the Internet. The problem I do not know what is the Ip…
-1
votes
2 answers

Best way to store stream of small binary files (BGP updates)

This question may look like this. I am trying to gather ideas on how to implement a BGP pipeline. I am receiving 100-1000 messages (BGP updates) per second, a few kilobytes per update, over Kafka. I need to archive them in a binary format with some…
-1
votes
1 answer

Making another server network hop

Basically, I'm trying to configure my server as "filter point". If I do traceroute to my server lets say I will get: Hop #1 Hop #2 Hop #3 Back-end (my server IP) I want to put my own server before my back-end, is it possible to do without…
dnleiman
  • 5
  • 1
-1
votes
1 answer

How to filter out or stop getting data field within Opendaylight(Oxygen) BGP-LS data change event

Following is the example of topology i have for BGP-LS updates: { "topology": [ { "topology-id": "bgp-example-linkstate-topology", "link": [ { "link-id": "bgpls://IsisLevel2:0/type=link&local-as=65038&local- …
-1
votes
1 answer

BGP Valley Free Routing, when do you consider shortest path over local preference in routing

AS Network Diagram. Hi, I am stuck on some networking BGP Valley Free Routing homework, so more explanation focused answers would be greatly appreciated! In this assignment I am trying to construct the FIB table from the given Network Diagram…
user4493284
  • 21
  • 1
  • 5
-1
votes
2 answers

Use of Route-Reflector in ISP's BGP core

Why ISP's deploy RR in BGP core design and what can be done to ensure traffic patterns never traverse the RR router?
1 2 3
8
9