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
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
  • 4,396
  • 7
  • 35
  • 51
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,788
  • 2
  • 18
  • 24
1
vote
1 answer

Can't specify AS_PATH attribute in BGP packet [Scapy]

When using Scapy, I am unable to set the AS_PATH attribute. I have tried following the answer provided in this StackOverflow page How to use AS_PATH attribute in scapy for BGP?, but it did not work. I have also tried inputting the following…
1
vote
0 answers

Go: How to read in MRT (.bz2) file as byte and parse data

I am trying to read in an mrt (with .bz2 file extension) from archive.routeviews.org namely file - http://archive.routeviews.org/route-views.chile/bgpdata/2022.05/UPDATES/updates.20220501.0000.bz2. I have found some code online that parses it using…
e110
  • 23
  • 1
  • 5
1
vote
0 answers

Can't seem to establish BGP connection with peer using bird v1 on DN42 network

I'm trying to learn more about BGP routing so I'm diving into DN42. I'm using Kioubit as a peer and set up a wiregaurd tunnel successfully but I cant seem to get bird (v1) to initialize that protocol. When I run show protocols inside of birdc the…
Max Campbell
  • 595
  • 9
  • 22
1
vote
0 answers

Does Net::BGP lib support ipv6?

I'm new to the network domain and perl world. I am trying to do router anouncement over BGP ipv6. There is a script that uses Net::BGP library for the anouncement made in ipv4, and I want to convert it to support ipv6. I looked through this library…
kudra
  • 134
  • 1
  • 15
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,995
  • 5
  • 22
  • 26
1
vote
1 answer

Why cant Routing Information Protocol RIP (distance-vector routing protocol) use Dijkstra instead of bellman ford?

Hello I am learning networking and am confused about why both the interior routing protocols (RIP and OSPF) use the same algorithm to calculate the shortest path? I think I understand how they differ (RIP and OSPF) but am not clear on using a…
1
vote
1 answer

org.json.JSONException) org.json.JSONException: JSONObject["routes"] not found

I have 7 protocols, and I want to be shown on the site. But the site shows only 4 protocols, although there are 7 protocols in the JSON file. I decided to check with a debugger, it passes 4 protocols without errors. But starting with the fifth…
1
vote
0 answers

ImportError upon executing exabgp command

I am currently using Centos 7 and Python 2.7.5. I installed exabgp 4.0 and python2-exabgp rpms. but as soon as I execute exabgp command I get ImportError: [root@~]# exabgp -version Traceback (most recent call last): File "/sbin/exabgp",…
Rewa Kale
  • 41
  • 1
  • 3
1
vote
1 answer

Quagga not propagating prefix to other eBGP neighbour

I am trying to get Quagga do something as simple as advertising a eBGP learned prefix to another eBGP connected neighbour. Simple enough right? BGPd config snippet ! router bgp 64620 bgp router-id 172.29.253.80 bgp log-neighbor-changes network…
Ossar
  • 23
  • 5
1
vote
2 answers

linkdown script kills netplugd

I have a transparent firewall (running VyOS) that passes BGP traffic between the routers on each side. When the link on one side of the bridge goes down, I want to bring down the link on the other side so the router will clear its BGP information…
yakatz
  • 2,142
  • 1
  • 18
  • 47
1
vote
1 answer

Why bgp open and notification packets is only flowing in ODL

I need to establish a bgp session with route reflector running with odl and my router and so far i have done the following. Installed opendaylight karaf ,nitrogen version . Installed bgp features (feature:install odl-restconf…
sudeep
  • 81
  • 7
1
vote
2 answers

how can i establish bgp connection using opendaylight nitrogen version (karaf-0.7.1) and my router

I need to establish bgp session between my router and odl. I have installed nitrogen version (karaf-0.7.1) and installed bgp feature using command feature:install odl-bgpcep-bgp. After googling i found that in order to establish setup i need to edit…
sudeep
  • 81
  • 7
1
vote
1 answer

Why some ip belongs to more than one AS number?

I am now committed to the study of large network security, and I will meet many kinds of IP Address. What make me puzzled is some IP belongs to more than one AS system and AS numbers, and the BGP prefix of this numbers has more than one too. For…
tianjianbo
  • 17
  • 3
1
2
3
8 9