Questions tagged [bgp]

BGP (Border Gateway Protocol) is one of the core routing protocols of the internet.

Filter by
Sorted by
Tagged with
17 votes
4 answers
10k views

How are IP addresses actually assigned?

I'm having a hard time understanding how a governing body assigns IP addresses, companies use BGP to advertise those IPs, and how the internet works. Then, where the hell does DNS come in? Can ...
Vegim's user avatar
  • 217
14 votes
6 answers
95k views

What is the difference between BGP and OSPF?

I want to setup a dynamic routing network, I want to know, What is the difference between BGP and OSPF ? Does both two need to be used together commonly ?
larry's user avatar
  • 4,067
11 votes
3 answers
2k views

If public IPs are pinned to a single AS, how does BGP anycast work?

It is my understanding that public IP blocks are assigned from IANA, which assigns sub-blocks to RIRs, which assigns sub-blocks to ISPs, which assigns sub-blocks to individual ASs as outlined in this ...
turtlemonvh's user avatar
11 votes
5 answers
10k views

Freebsd or Linux? as BGP router over 100mbps

I am building a server to act as a BGP border router for my 100mbps uplink in ISP. I needs these feature: 1) Dual stack BGP peering/routing (at least 100Mbps, maybe more). 2) Potential full internet ...
user avatar
10 votes
3 answers
4k views

Experiences with BIRD for BGP?

We're currently using Quagga with Debian Linux to run a full table BGP router. The set-up has been dead simple up to now, but we've come to a point where I have to reconfigure the router quite a bit, ...
Shtééf's user avatar
  • 1,235
9 votes
1 answer
3k views

What happens in the real world Internet - BGP and OSPF?

I have never worked on the customer premises, but my assumption is that one service provider runs IGP services internally - For example - OSPF or IS-IS. Now, when one service provider has to reach ...
dexterous's user avatar
  • 215
9 votes
3 answers
1k views

Global high availability setup question

I own and operate visualwebsiteoptimizer.com/. The app provides a code snippet which my customers insert in their websites to track certain metrics. Since the code snippet is external JavaScript (at ...
Paras Chopra's user avatar
9 votes
1 answer
1k views

Cisco BGP Unequal Cost Load Balancing

I'm trying to implement BGP Unequal Cost Load Balancing feature in my network. According to cisco manuals (long: http://www.cisco.com/c/en/us/td/docs/ios/12_2s/feature/guide/fsbgplb.html, short: https:...
Shamanu4's user avatar
  • 194
8 votes
4 answers
3k views

Loadbalancing outbound traffic while using openbgpd on freebsd

I am using openbgpd in freeBSD with 2 ISP connections. I have my own AS number and a /22 network. Currently I am advertising entire /22 to both networks. Inbound traffic comes in But my outbound ...
Rajkumar S's user avatar
8 votes
1 answer
481 views

Choosing Transit Providers

My organisation is in a position where we are paying quite excessive charges for single homed IP transit form our primary data centre provider. We're at the position now where we're ready to start ...
SimonJGreen's user avatar
  • 3,235
7 votes
2 answers
2k views

BGP Multi-Homed Cisco Routers Configure For Resilience But Separate Inbound Weight

I've got 2 Cisco routers, each with a single Internet feed, providing BGP with default route only, which allows us to advertise certain routes out each feed. We're not using the full DFZ because ...
furriephillips's user avatar
6 votes
3 answers
2k views

Need to find users of ASN in my country

Anyone knows where I can get list of Autonomous system number users by country ? If it is not possible to get it by country, any kind of list will suffice. thnx
Nevenka's user avatar
  • 63
6 votes
3 answers
17k views

How to prevent asymmetric routing with multiple eBGP routers?

I have 2 routers announcing a /22 subnet to different providers (one providers connects to each of the 2 routers). I have split the /22 in two /23 to announce one /23 on each of the routers plus the /...
Andy Shinn's user avatar
  • 4,231
6 votes
3 answers
2k views

How does a router on the Internet know where to send a packet to next to get it towards its destination IP address? [closed]

I've been doing small-time freelance IT work (among other things) for about the last decade now. I've set-up or rebuilt more local network arrangements than I can care to count, and more recently I've ...
mostlyinformed's user avatar
6 votes
3 answers
2k views

Amazon CloudFront and EC2: Global Load Balancing

We have an app that is going to store and serve up a decent amount of data in S3 to a global audience where latency should be minimized. So, we've been doing tests with Amazon CloudFront and have seen ...
Matt Rogish's user avatar
  • 1,512
6 votes
1 answer
3k views

Linux "traceroute -A" (AS path lookup) equivalent for Win XP?

Can anyone recommend a Win XP command-line traceroute implementation providing a function equivalent to the Linux "traceroute -A" option, which includes in its output the BGP AS number (Autonomous ...
user177934's user avatar
5 votes
6 answers
365 views

Making hosted applications resilient to BGP failures

My company builds various web sites for its customers with a dedicated hosting provider. This hosting provider accidentally shutdown the devices responsible for Border Gateway Protocol (BGP) ...
jabley's user avatar
  • 335
5 votes
3 answers
4k views

Practical Anycast

I've read How can I send visitors to the closest server using DNS? post, but there's still some thing, on a practical level that I don't understand. Say I have two servers. One in NY another in Paris....
Daniel's user avatar
  • 157
5 votes
4 answers
1k views

Best way to improve resilience?

One of the major projects I have lined up for 2010 is attempting to mitigate some of the Single Point of Failures (SPOFs) in a network I currently manage. We currently have a single datacentre rack ...
Tom O'Connor's user avatar
  • 27.5k
5 votes
5 answers
14k views

Simple Quagga BGP router

We are attempting to setup a Gentoo Linux box to run a Quagga BGP router for our internet connection. We've tried many things, but everything we've tried results in Quagga reporting that there is no ...
miquella's user avatar
  • 250
5 votes
1 answer
9k views

Quagga vs XORP vs BIRD - linux BGP router recommendation [closed]

For a small multihomed network (/21) I am researching possible bgp router software for linux. I found Quagga, XORP and BIRD and was wondering if I have missed other recommendable bgp software for ...
Isaac's user avatar
  • 1,215
5 votes
3 answers
3k views

Monitor BGP connections

Do you know any special software for monitoring BGP peers, prefixes, log their failures, prefixes amount and etc? (Cisco) ( Not zabbix, nagios and etc, i know that you can write plugins or work with ...
TiFFolk's user avatar
  • 1,077
5 votes
1 answer
2k views

DNS Round-robin failover and load balancing

Having read all of the questions and answers (1 2 3 and so on) on here relating to DNS load balancing, and Round-robin DNS, there's still a number of unanswered questions.. Large companies, and I'm ...
Tom O'Connor's user avatar
  • 27.5k
5 votes
1 answer
416 views

Overcome asymmetric routing while migrating between sets of ISPs

We are migrating from one set of addresses to another set, both /24, and trying to minimize any down time during the migration. Ideally we'd run both for a period of time as we shut down the old ...
fullstop's user avatar
5 votes
2 answers
19k views

How to find which routing protocol a router is using. And if found how to test it

I was recently asked a networking question in an interview which I did answer but the interviewer was not pleased. The question was : "Given an actively running router, how would you know what ...
pradaa's user avatar
  • 51
4 votes
3 answers
576 views

Is Internet routing (BGP) fully automated?

If all the routing tables on the Internet would be erased simultaneously, will the routers be able to rediscover them automatically? I'm having an argument with a colleague who says that the RIPE ...
Meh's user avatar
  • 373
4 votes
2 answers
5k views

When using traceroute -A, where does the ASN come from?

I haven't cracked open the source code yet, but I was curious which whois service the traceroute program uses to look up ASNs for a given IP.
Noah Campbell's user avatar
4 votes
2 answers
2k views

Can DDoS be stopped with BGP? [duplicate]

When I am experiencing DDoS @10Gbps, if I have BGP router with 10M table entries in it, can I perform search on the offensive network? I would do this the way, that first I would remove routing to me ...
Andrew Smith's user avatar
  • 1,143
4 votes
5 answers
12k views

ASA 5505, is BGP supported?

I need to configure BGP on an ASA 5505, according to certain sources it isn't supported, yet I can find resources on the internet giving information on how to configure BGP. I'd really like an ...
user avatar
4 votes
1 answer
2k views

Renting a IPv4 address block [closed]

I am building a lab network with about 10 virtual routers and 20 host machines (also virtualized) as a part of a school project. The aim is to demonstrate a wide range of IPv6 routing, deployment and ...
user avatar
4 votes
1 answer
3k views

BGP path prepended route not listed anywhere

We have a simple multi-homed setup with two routers that advertise our AS to two ISP. The second ISP (ISP B) is only used for backup when ISP A goes down, so we prepended our AS 3 times on this route. ...
Julien Vehent's user avatar
4 votes
1 answer
2k views

Quagga keeps announcing down routes

I have set up BGP on two routers using qugga. When I down the interface that holds the IP block that I am advertising zerba removes the route from its table but bgpd keeps advertising it. I can see ...
Kyle Brandt's user avatar
4 votes
2 answers
249 views

Transparent proxy cache on BGP multihome

Provider A have transparent caching with squid . In the situation which a client has multihome BGP with provider A and provider B then client does not send its outgoing traffic (upload) to provider ...
Omid Kosari's user avatar
4 votes
1 answer
1k views

How to prevent default route from propagating into iBGP?

I have 2 Foundry FESX448 switches which have external BGP connections. Each of them receive a default route. These 2 switches also have a BGP session configured between themselves and advertise routes ...
Andy Shinn's user avatar
  • 4,231
3 votes
2 answers
654 views

How any routing protocol packet reaches(flows of operations) from NIC card (physical layer) to any Routing (OSPF/RIP/BGP) daemon?

The problem is rearding the routing protocol packet flow in any linux/unix device where multiple routing protocol daemons are running. How any routing protocol packet reaches(flows of operations) ...
mav_2k's user avatar
  • 141
3 votes
2 answers
229 views

What happens if one BGP peer only gives me a default while the second peer gives me the full table

Summry question: If ISP A only gives a BGP Default and ISP B gives me the full table, can my router use the information it receives from ISB B to know what IP's are easier accessed through ISP A? ...
Cosmin Prund's user avatar
3 votes
3 answers
1k views

2 BGP Upstreams, One sending default route, another Full Table

We have 2 upstreams ISP A and ISP B. ISP A (10Mb/s) is our main upstream with good bandwidth. It sends us default route over bgp. ISP B (2Mb/s) is our backup upstream with a small bandwidth, but it ...
Alec T's user avatar
  • 463
3 votes
1 answer
529 views

32-bit AS number. Where can it be tricky?

Can 32-bit ASN be dangerous/tricky in any way? We are currently implanting BGP in our network. One of the uplinks has emphasized that their ASN is 32-bit. Ours is 32-bits as well. What is it I should ...
facha's user avatar
  • 1,378
3 votes
1 answer
3k views

How do I enforce preferential routes with BGP & Quagga?

I have two routers that I'm setting up currently and they will be feeding my network of servers with a private AS number provided by the datacentre. What I want to do is provide both a VRRP failover ...
hookenz's user avatar
  • 14.5k
3 votes
2 answers
5k views

Juniper EX BGP with Default Routes

I'm new to BGP - so this is certainly a learning exercise. I'm moving away from PA space provided on 2 routed uplinks to having my own IP space and multi-homing my transit. To begin with, there will ...
choco-loo's user avatar
  • 509
3 votes
1 answer
2k views

Dual Cisco Router Stateful Firewall

At my company we have a single Cisco 3925sec/k9 router running BGP with 2 ISPs. Now we want to purchase a redundant router of the same model to eliminate a single point of failure. I can set up BGP ...
Alec T's user avatar
  • 463
3 votes
2 answers
391 views

Is it just me or is my node down?

I find the www.doj.me very useful. I am looking for something like that but specifically for BGP Nodes. I want to write a script that tells the users if our Internet backbone is down, if if yes which ...
Craig's user avatar
  • 43
3 votes
1 answer
1k views

Where can I get fresh routing registry data for IP:ASN and AS lookups?

I'm interested in maintaining a copy of the type of data available at ftp://ftp.arin.net/pub/rr/arin.db however the arin.db file seems to be missing quite a few resources which are available via the ...
danlefree's user avatar
  • 2,943
3 votes
0 answers
1k views

ping between ipv6 and ipv4 networks

I have 2 networks (one ipv4 and one ipv6) , I used ospf as routing protocol for both networks. I activate bgp between this 2 networks(R6 and R1) and now R6 can ping the full ipv6 network and R1 can ...
sara's user avatar
  • 31
3 votes
0 answers
903 views

Solving an asymetric HA Firewall/router

I have an old Linux HA firewall/router setup that never quite worked. As it was never quite put into true production (just testing and demo's), I always had to have one firewall shutdown to make it ...
hookenz's user avatar
  • 14.5k
2 votes
3 answers
986 views

Peering with an internet exchange

Our organization is planning to peer with the local internet exchange, we are planning to obtain an AS number to allow us to do this. However I was unsure if we also need our own IP address space to ...
RayQuang's user avatar
  • 674
2 votes
2 answers
1k views

What routing protocol to use with MPLS?

My MPLS provider is giving us a choice to use static routes or BGP for our new MPLS setup. What are advantages/disadvantages of the 2 choices? What is more commonly used?
Alex's user avatar
  • 1,848
2 votes
2 answers
743 views

Benefits of peering with Transit Providers at exchange points

Whilst investigating choices of IXPs and browsing through member lists, I realised that Hurricane Electric publicly peered on AMS-IX and other popular IXs. I also came across their peering policy that ...
jduncanator's user avatar
2 votes
2 answers
638 views

Network outage - Mapping, Checking network, BGP, Traceroute, RIPE

At first, I'm not able to name my question properly, so this will be adjusted I recently experienced an international network gap. Mean when some part of world wide network is unavailable. I'm able ...
Marek Sebera's user avatar
2 votes
2 answers
856 views

How long BGP reconnect happens?

when the bgp peer is down or during initial startup if the bgp speaker is not able to reach the peer, how long will the reconnect tries happen? will the bgp speaker try reconnecting infinitely ?
Hemanth's user avatar
  • 149