Route Public IP with GRE Tunnel with BGP/BIRD from a VPS to my Cisco at HomeExperiences with BIRD for BGP?Cisco BGP clustering and route reflection configuration exampleHow can I move a service to a new server but keep the same IP and port?How to connect Network and GRE Tunnel Traffic and control and flow of TCP/UDP Packets?How to route outbound traffic for a particular destination IP address to GRE Tunnel in CentOS?Configuring PF to route between routing domainsProxmox NAT with GRE tunnel as outside interfaceRoute one or multiple Public IPs via VTI over IPSec site-to-site tunnelGet high availability with BGPGRE traffic not forwarded to local subnet
Why can't we feel the Earth's revolution?
Should I email my professor to clear up a (possibly very irrelevant) awkward misunderstanding?
Arcane Tradition and Cost Efficiency: Learn spells on level-up, or learn them from scrolls/spellbooks?
A Tale of Snake and Coffee
Can I appeal credit ding if ex-wife is responsible for paying mortgage?
Pen name, I don't know what to do
What is the difference between state-based effects and effects on the stack?
At zero velocity, is this object neither speeding up nor slowing down?
Does anyone recognize these rockets, and their location?
Do items with curse of vanishing disappear from shulker boxes?
Can an open source licence be revoked if it violates employer's IP?
When is the phrase "j'ai bon" used?
Interview was just a one hour panel. Got an offer the next day; do I accept or is this a red flag?
Does the use of English words weaken diceware passphrases
Threading data on TimeSeries
How can this shape perfectly cover a cube?
What is the context for Napoleon's quote "[the Austrians] did not know the value of five minutes"?
Reflecting Telescope Blind Spot?
Why doesn't Mathematica completely draw the fit?
Is it possible for underground bunkers on different continents to be connected?
What things do I only get a limited opportunity to take photos of?
Boss making me feel guilty for leaving the company at the end of my internship
Converting 3x7 to a 1x7. Is it possible with only existing parts?
Sakkāya-Ditthi and Self-View
Route Public IP with GRE Tunnel with BGP/BIRD from a VPS to my Cisco at Home
Experiences with BIRD for BGP?Cisco BGP clustering and route reflection configuration exampleHow can I move a service to a new server but keep the same IP and port?How to connect Network and GRE Tunnel Traffic and control and flow of TCP/UDP Packets?How to route outbound traffic for a particular destination IP address to GRE Tunnel in CentOS?Configuring PF to route between routing domainsProxmox NAT with GRE tunnel as outside interfaceRoute one or multiple Public IPs via VTI over IPSec site-to-site tunnelGet high availability with BGPGRE traffic not forwarded to local subnet
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I want to learn how to do this. I Will try to explain as better.
- First: I own a IP Block from RIPE
- Second: I have vultr.com VPS service and they are announcing my /24 and I can get the public IPs on the VPS with BIRD and dummy* interfaces.
- Third: I have a GRE tunnel stablished between one VPS and my home Cisco Router.
WHAT I WANT?
I want to set one the public IPs on my home, for come out to internet with one of my IPs. I think I need BGP over the GRE Tunnel, but I can't get it to work.
¿Is there any help with that?
Thanks in advance.
==============================================
SCHEMA
VULTR VPS ================== CISCO
GRE: 1.1.1.1/24 GRE: 1.1.1.2/24
Public: 2.2.2.1/24 Public: ¿?¿?¿?¿?¿
On VULTR VPS i have announced the 2.2.2.1 and 2.2.2.5 so 2.2.2.1 are reachable on dummy interface and 2.2.2.5 are not yet reachable but are announced to internet.
networking routing cisco linux-networking bgp
add a comment |
I want to learn how to do this. I Will try to explain as better.
- First: I own a IP Block from RIPE
- Second: I have vultr.com VPS service and they are announcing my /24 and I can get the public IPs on the VPS with BIRD and dummy* interfaces.
- Third: I have a GRE tunnel stablished between one VPS and my home Cisco Router.
WHAT I WANT?
I want to set one the public IPs on my home, for come out to internet with one of my IPs. I think I need BGP over the GRE Tunnel, but I can't get it to work.
¿Is there any help with that?
Thanks in advance.
==============================================
SCHEMA
VULTR VPS ================== CISCO
GRE: 1.1.1.1/24 GRE: 1.1.1.2/24
Public: 2.2.2.1/24 Public: ¿?¿?¿?¿?¿
On VULTR VPS i have announced the 2.2.2.1 and 2.2.2.5 so 2.2.2.1 are reachable on dummy interface and 2.2.2.5 are not yet reachable but are announced to internet.
networking routing cisco linux-networking bgp
add a comment |
I want to learn how to do this. I Will try to explain as better.
- First: I own a IP Block from RIPE
- Second: I have vultr.com VPS service and they are announcing my /24 and I can get the public IPs on the VPS with BIRD and dummy* interfaces.
- Third: I have a GRE tunnel stablished between one VPS and my home Cisco Router.
WHAT I WANT?
I want to set one the public IPs on my home, for come out to internet with one of my IPs. I think I need BGP over the GRE Tunnel, but I can't get it to work.
¿Is there any help with that?
Thanks in advance.
==============================================
SCHEMA
VULTR VPS ================== CISCO
GRE: 1.1.1.1/24 GRE: 1.1.1.2/24
Public: 2.2.2.1/24 Public: ¿?¿?¿?¿?¿
On VULTR VPS i have announced the 2.2.2.1 and 2.2.2.5 so 2.2.2.1 are reachable on dummy interface and 2.2.2.5 are not yet reachable but are announced to internet.
networking routing cisco linux-networking bgp
I want to learn how to do this. I Will try to explain as better.
- First: I own a IP Block from RIPE
- Second: I have vultr.com VPS service and they are announcing my /24 and I can get the public IPs on the VPS with BIRD and dummy* interfaces.
- Third: I have a GRE tunnel stablished between one VPS and my home Cisco Router.
WHAT I WANT?
I want to set one the public IPs on my home, for come out to internet with one of my IPs. I think I need BGP over the GRE Tunnel, but I can't get it to work.
¿Is there any help with that?
Thanks in advance.
==============================================
SCHEMA
VULTR VPS ================== CISCO
GRE: 1.1.1.1/24 GRE: 1.1.1.2/24
Public: 2.2.2.1/24 Public: ¿?¿?¿?¿?¿
On VULTR VPS i have announced the 2.2.2.1 and 2.2.2.5 so 2.2.2.1 are reachable on dummy interface and 2.2.2.5 are not yet reachable but are announced to internet.
networking routing cisco linux-networking bgp
networking routing cisco linux-networking bgp
asked May 30 at 18:41
Alvaro VidalAlvaro Vidal
41
41
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In your case you don't need BGP between VPS and Cisco router. The static route is enough. That is example step algo, what you can do:
- On the VULTR VPS create the static route. Because you already announce the
2.2.2.5
address, you don't need other routing changes on this host. In the linux you can use this command:
ip route add 2.2.2.5 via 1.1.1.2 dev <greiface>
On the cisco router you create the loopback interface and assign the
2.2.2.5
address on it. It's optinal step if you want use this public ip on the cisco router itself. Other way is usage of the NAT pool without the additional loopback interface itself.Setup the NAT on the cisco router to use the public ip as source address of outgoing packets.
Create the route-map to route selected packets with your public ip through the GRE tunnel.
Is not working. I can reach the Cisco Loopback address from the VPS but not from internet. BIRD daemon is announcing gre1 interface but the gre1 dont have the public ip. Maybe the error is here? Already activated ip forward.
– Alvaro Vidal
May 31 at 17:47
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f969546%2froute-public-ip-with-gre-tunnel-with-bgp-bird-from-a-vps-to-my-cisco-at-home%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In your case you don't need BGP between VPS and Cisco router. The static route is enough. That is example step algo, what you can do:
- On the VULTR VPS create the static route. Because you already announce the
2.2.2.5
address, you don't need other routing changes on this host. In the linux you can use this command:
ip route add 2.2.2.5 via 1.1.1.2 dev <greiface>
On the cisco router you create the loopback interface and assign the
2.2.2.5
address on it. It's optinal step if you want use this public ip on the cisco router itself. Other way is usage of the NAT pool without the additional loopback interface itself.Setup the NAT on the cisco router to use the public ip as source address of outgoing packets.
Create the route-map to route selected packets with your public ip through the GRE tunnel.
Is not working. I can reach the Cisco Loopback address from the VPS but not from internet. BIRD daemon is announcing gre1 interface but the gre1 dont have the public ip. Maybe the error is here? Already activated ip forward.
– Alvaro Vidal
May 31 at 17:47
add a comment |
In your case you don't need BGP between VPS and Cisco router. The static route is enough. That is example step algo, what you can do:
- On the VULTR VPS create the static route. Because you already announce the
2.2.2.5
address, you don't need other routing changes on this host. In the linux you can use this command:
ip route add 2.2.2.5 via 1.1.1.2 dev <greiface>
On the cisco router you create the loopback interface and assign the
2.2.2.5
address on it. It's optinal step if you want use this public ip on the cisco router itself. Other way is usage of the NAT pool without the additional loopback interface itself.Setup the NAT on the cisco router to use the public ip as source address of outgoing packets.
Create the route-map to route selected packets with your public ip through the GRE tunnel.
Is not working. I can reach the Cisco Loopback address from the VPS but not from internet. BIRD daemon is announcing gre1 interface but the gre1 dont have the public ip. Maybe the error is here? Already activated ip forward.
– Alvaro Vidal
May 31 at 17:47
add a comment |
In your case you don't need BGP between VPS and Cisco router. The static route is enough. That is example step algo, what you can do:
- On the VULTR VPS create the static route. Because you already announce the
2.2.2.5
address, you don't need other routing changes on this host. In the linux you can use this command:
ip route add 2.2.2.5 via 1.1.1.2 dev <greiface>
On the cisco router you create the loopback interface and assign the
2.2.2.5
address on it. It's optinal step if you want use this public ip on the cisco router itself. Other way is usage of the NAT pool without the additional loopback interface itself.Setup the NAT on the cisco router to use the public ip as source address of outgoing packets.
Create the route-map to route selected packets with your public ip through the GRE tunnel.
In your case you don't need BGP between VPS and Cisco router. The static route is enough. That is example step algo, what you can do:
- On the VULTR VPS create the static route. Because you already announce the
2.2.2.5
address, you don't need other routing changes on this host. In the linux you can use this command:
ip route add 2.2.2.5 via 1.1.1.2 dev <greiface>
On the cisco router you create the loopback interface and assign the
2.2.2.5
address on it. It's optinal step if you want use this public ip on the cisco router itself. Other way is usage of the NAT pool without the additional loopback interface itself.Setup the NAT on the cisco router to use the public ip as source address of outgoing packets.
Create the route-map to route selected packets with your public ip through the GRE tunnel.
answered May 31 at 11:40
Anton DanilovAnton Danilov
1,6631712
1,6631712
Is not working. I can reach the Cisco Loopback address from the VPS but not from internet. BIRD daemon is announcing gre1 interface but the gre1 dont have the public ip. Maybe the error is here? Already activated ip forward.
– Alvaro Vidal
May 31 at 17:47
add a comment |
Is not working. I can reach the Cisco Loopback address from the VPS but not from internet. BIRD daemon is announcing gre1 interface but the gre1 dont have the public ip. Maybe the error is here? Already activated ip forward.
– Alvaro Vidal
May 31 at 17:47
Is not working. I can reach the Cisco Loopback address from the VPS but not from internet. BIRD daemon is announcing gre1 interface but the gre1 dont have the public ip. Maybe the error is here? Already activated ip forward.
– Alvaro Vidal
May 31 at 17:47
Is not working. I can reach the Cisco Loopback address from the VPS but not from internet. BIRD daemon is announcing gre1 interface but the gre1 dont have the public ip. Maybe the error is here? Already activated ip forward.
– Alvaro Vidal
May 31 at 17:47
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f969546%2froute-public-ip-with-gre-tunnel-with-bgp-bird-from-a-vps-to-my-cisco-at-home%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown