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

Not able to communicate ping through scapy using global address while using multiple network cards

I am using 3 network cards on my ubuntu 14.04 machine. I am trying to simultaneously communicate to 3 different networks using three different network cards. I want to use IPv6 Global addresses. Below is the network structure. Interface_A (8003::2)…
MSS
  • 101
  • 3
  • 8
0
votes
1 answer

Calico advertising all Kubernetes node subnets from all nodes

Diagram of Nodes I have Calico Node2Node Mesh running. And successfully setup peering with my upstream switches. What Looks strange, is it appears that every node is advertising all the node networks. I would think that each node should…
Roogles
  • 41
  • 4
0
votes
1 answer

Error during BGP Sesson Establish (Open confirm state)

I am trying to establish bgp session to HP-MSR Router using scapy with python. I am successful in creating a tcp socket. After this, Router is sending me one BGP Open message. In reply, I am sending BGP Open message, and acknowledging the Router's…
MSS
  • 101
  • 3
  • 8
0
votes
1 answer

BGP MRT format parsing

I'm trying to parse the BGP trace downloaded here. It is said that the BGP packet traces are stored in the files with prefix updates and these MRT format files can be read by PyBGPdump. I downloaded one file and followed the instruction (or this…
zzy
  • 751
  • 1
  • 13
  • 25
0
votes
1 answer

How to get prefix-set working in Openbgpd config

I have pfSense (FreeBSD 11.2-p6) in use and I want to be able to use the prefix-set config feature (https://man.openbsd.org/bgpd.conf#prefix-set) I add a simple prefix-set bogons { 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7 } in my…
Yif Swery
  • 179
  • 1
  • 12
0
votes
1 answer

Connecting eBGP and iBGP routers in Quagga

I am trying to announce a prefix from AS7 and I like AS6 receive it and send it to AS2(as shown in the attached topology). I have OSPF running on all routers of AS6. I have assigned 10.x.x.x for each loop back interface of my routers in AS6. for…
0
votes
1 answer

How to look at BGP's LOC-RIB using Quagga library

While reading the documentation, I saw that, "You can use Quagga library as your program’s client user interface". Basically, I want to look at BGP's LOC-RIB (RIB = Routing Information Base) that Quagga constructs, with my C program (in Ubuntu/…
user676987
  • 73
  • 1
  • 2
  • 9
0
votes
0 answers

Not getting BGP Notification with Optional Attribute Error

i am working with BGP implementation with Ubuntu, for the testing purpose i want to get 'notification message' indicating 'optional attribbute error'. #!/usr/bin/env python3 import socket import time BGP_IP = '20.0.0.20' MSG1 =…
0
votes
1 answer

Changing BGP packet size less than 19 and greater than 4096

I am working with bgp implementation on ubuntu. I want to do some malformation in bgp packets , bgp restrict us on size between 19 to 4096 , however for testing purpose I am changing the size less than 19 and greater than 4096. After this when I…
0
votes
1 answer

How to find equivalent command in bash Azure CLI for powershell command?

What would be the bash equivalent of powershell Get-AzureRmBgpServiceCommunity ? Azure documentation does not give any bash options. Am I looking at the wrong place ?
Andy
  • 2,706
  • 3
  • 13
  • 22
0
votes
2 answers

BGP Filtering on google cloud routers

When using a BGP cloud router on GCP, is there a way to filter incoming routes? Otherwise this can cause problems if the other end sends more routes than you expect.
Vitaly Babiy
  • 6,114
  • 4
  • 26
  • 24
0
votes
1 answer

Can I use Cloud Router to reach a private GKE master endpoint from on-premises?

GKE supports private clusters with private masters and Cloud Router can be used to exchange routes with an on-premises network using BGP. Can I use Cloud Router to share the routes necessary to allow me to connect to a private master endpoint from…
0
votes
1 answer

Geolocation of BGP Automous Systems

Hi friends I've been looking around for the past few days on a way to find the geolocation of the BGP AS's, preferably through the use of some API. I've been using the ripestat API for the majority of my work on this, but it comes up inconclusive on…
0
votes
1 answer

how-to configure a bgp-ls peer

I have brought up an Opendaylight instance in order to establish a BGP-LS session with our network and get topology information. So, the objective is to configure 1 peering with a router and get node, link,network information. I have concluded that…
nskalis
  • 2,232
  • 8
  • 30
  • 49
0
votes
2 answers

Parse Logs and store Dict

BGP LOGs File: bgplog.log Host local.domain.net [11.130.55.2] with interface to BGP peer 11.130.44.65: the number of BGP UPDATE messages received changed from '110376' to '110393' Host local.domain.net [11.130.55.2] with interface to BGP peer…
netkool
  • 45
  • 1
  • 11
1 2 3
8 9