Hi,
So I just purchased a Dedicated server from this one company and I have a
/24 IPv4 block that I bought from a company on WebHostingTalk, but I am
clueless on how to setup the /24 IPv4 block using the BGP Session. I want
to set it up to run through their network as if it was one of their IPs,
etc. I keep seeing things like iBGP (which I think means like a inner
routing BGP) and eBGP (what I'm talking about??) but I have no idea how to
set those up or which one I would need.
Wow -- be careful playing with public eBGP sessions unless you know
what you're doing. It can affect the entire Internet.
Since you're just connecting to a single upstream ISP, you wont
qualify for a public AS number. So, you'll have to work with your
upstream ISP to agree on a private AS number you can use.
You will be setting up an eBGP session (which is a session between two
different AS numbers, as opposed to iBGP, wherein the AS numbers are
the same).
It may be a *lot* easier for you to just have your upstream ISP
announce your IP space, and route it to your dedicated server, unless
you need the ability to turn it off and on over time.
Hi,
Yeah, I need to turn on and off overtime, but I'm getting my own ASN very
soon so that shouldn't be a problem soon!
but how would I go about turning off a location at a certain time?
I believe you'll find that all of this gets a lot easier if you try to understand how layer 3 routing itself works instead of asking sparodic questions one at a time.
I recommend picking up a layer 3 routing book for the platform of your choice and going through the basics.
Unless you have (1) a real router available, not a just a server and
(2) an expert available to help you with your first BGP configuration
I strongly recommend you simply ask your service provider to announce
the /24 to the Internet on your behalf.
Server-based BGP software like Quagga for Linux is reasonably good but
it should absolutely not be involved in your _first_ attempt to
connect with the Internet's default-free zone. Simple mistakes with
eBGP can cause tremendous damage to other folks on the Internet. Trial
and error is simply not OK. If it isn't worth it to you to buy a
BGP-capable router then you also aren't prepared to make the
investment in learning it takes to use BGP without causing harm.
I'm confused on when doing this, would I need to state like
First go to AS13335 then go to TATA then go to my server or would it just
automatically do that or would my provider do that? I'm confused on that.
how would I state multiple peers.....?
Assuming this isn't some silly troll, you need to either hire someone with a bit more clue or see if your provider is willing to configure your router. It sounds like you have no idea how IP routing works.
I'm confused on when doing this, would I need to state like
First go to AS13335 then go to TATA then go to my server or would it just
automatically do that or would my provider do that? I'm confused on that.
how would I state multiple peers.....?
AS13335 is Cloudflare.
How does TATA relate? You have a deicated server connected to TATA and
Cloudflare? I'm skeptical.
You really ought to do some more reading, learning, and practicing
before running public BGP.
I would recommend reading this book cover-to-cover: http://www.bgpexpert.com/‘BGP’-by-Iljitsch-van-Beijnum/
It's only ~250 small pages.
To practice and experiment, emulate some example configurations with
GNS3 and Dynamips, or some Linux VMs with Quagga or BIRD.
Fundamental routing training would greatly help you here. I would suggest
looking for that.
If you are not peering with TATA, then your routes would not go to TATA
first. (unless the next-hop is indirect and that brings up other
fundamental routing things that you should learn about)
AS13335 is not TATA. So if this is what your provider gave you, one first
assumes you¹d be directly connected to them (that¹s one of the rules in
BGP¹s RFC for external connections).. If you have multiple providers, you
may have multiple peers. Each one would give you information.
But like others have stated, I would strongly suggest you stop your
testing for the moment and either hire someone to help or take some time
to learn the basics on there. Otherwise, successful or not, your testing
will really have no meaning to you.
Yeah, that's probably the best idea in this situation. I've been really
interested in BGP but didn't know where to start, I'll read all the books
that you guys put up above and start reading them.
Also, referring to what you said
"If you are not peering with TATA, then your routes would not go to TATA
first. (unless the next-hop is indirect and that brings up other
fundamental routing things that you should learn about)"
Yeah, I meant that if I was getting a Transit service from them. Like, if
using a DC like Equinix, you have access to countless amounts of
opportunities to use Transits from virtually any provider, if I were to
contact TATA and ask for a transit, I'd set that up in BGP, but I'm
confused on how. I'll look into Fundamental routing.