LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2019, 09:39 AM   #1
lee.test2000
LQ Newbie
 
Registered: May 2019
Posts: 2

Rep: Reputation: Disabled
Linux GRE tunneling to external router


Hi All,

I am trying to configure a GRE tunnel from a Juniper router to a linux server. I am quite happy with the router side of things, though want to understand the best option on the linux side.

The host linux server is running debian with an openvswitch, i want to create a GRE tunnel from the router to a systemd container running quagga..

There are options of a GRE tunnel end point on the host server and the openvswitch.. just wondering what is the best way to go about it and the configuration involved?



regards,
Lee.
 
Old 05-24-2019, 02:17 AM   #2
lee.test2000
LQ Newbie
 
Registered: May 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
More infro on the set up...

Juniper > hostmachine > openvswitch > container

routable addresses for tunnel source and destination;
Juniper loopback = 10.3.1.225
hostmachine gre0 = 172.17.8.139


container interface bgpsvrIf

openvswitch config;

Bridge "gre_n4"
Port "gre_n4"
Interface "gre_n4"
type: internal
Port "gre0"
Interface "gre0"
type: gre
options: {header_cache="false", local_ip="172.17.8.139", remote_ip="10.3.1.225"}
Port bgpsvrIf
Interface bgpsvrIf
type: internal
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vpn poptop - CTRL: PTY read or GRE write failed (pty,gre)=(5,6) dezeque Linux - Networking 9 08-26-2016 10:39 AM
icmp: 224.0.0.5 protocol 89 port 44 unreachable (gre encap) - Error over IPSEC/GRE kayasaman *BSD 5 03-03-2012 01:23 PM
GRE VS GIF . Difference between GRE and GIF. cristian123 Linux - Networking 4 04-29-2008 01:56 AM
IPv6 over IPv4 tunneling - GRE vs SIT kogi Linux - Networking 1 08-10-2005 02:22 AM
GRE keepalives. How can a SUSE 9.0 Linux box send GRE keepalives? dlef Linux - Networking 1 06-28-2005 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration