- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- GRE tunneling between two Linux box working as rou...
Operating System - Linux
1753300
Members
7394
Online
108792
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2008 10:07 PM
06-15-2008 10:07 PM
I have two Linux Box (lets say LB1, LB2) working as routers for two different network each.
LB1 have two ethernet cards & configuration is
Eth0 IP 10.0.1.1
Sub mask 255.255.255.0
Eth1 IP 172.16.17.18
Sub mask 255.255.255.0
Gateway 172.19.20.21
LB2 have also two ethernet cards & setting is as
Eth0 IP 10.0.2.1
Sub mask 255.255.255.0
Eth1 IP 172.19.20.21
Sub mask 255.255.255.0
Gateway 172.16.17.18
Now my question is how to configure these two boxes (i.e. two different networks) to communicate through GRE Tunneling?
What are the packages and modules to install for GRE tunneling?
Pls suggest commands which I have to run to configure GRE tunneling on these two Linux boxes, which are working as router.
Thanks in Advanced.
MKS
LB1 have two ethernet cards & configuration is
Eth0 IP 10.0.1.1
Sub mask 255.255.255.0
Eth1 IP 172.16.17.18
Sub mask 255.255.255.0
Gateway 172.19.20.21
LB2 have also two ethernet cards & setting is as
Eth0 IP 10.0.2.1
Sub mask 255.255.255.0
Eth1 IP 172.19.20.21
Sub mask 255.255.255.0
Gateway 172.16.17.18
Now my question is how to configure these two boxes (i.e. two different networks) to communicate through GRE Tunneling?
What are the packages and modules to install for GRE tunneling?
Pls suggest commands which I have to run to configure GRE tunneling on these two Linux boxes, which are working as router.
Thanks in Advanced.
MKS
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2008 10:32 PM
06-15-2008 10:32 PM
Solution
You'll need the "ip" command (the central part of the "iproute2" tools).
You did not tell us the name and version of your Linux distribution(s), so it's kind of difficult to find out the exact package name for you.
Many modern Linux distributions install the "ip" command by default. If any kernel modules are needed, the system can probably load them automatically. Those modules should be included in the standard kernel package of your Linux distribution(s).
A Google search with keywords "Linux GRE tunnel" seems to find a lot of very clear instructions...
for example:
http://www.cerritoslug.org/tutorials/gre_tunneling.html
http://www.linux.com/base/ldp/howto/Adv-Routing-HOWTO/lartc.tunnel.gre.html
MK
You did not tell us the name and version of your Linux distribution(s), so it's kind of difficult to find out the exact package name for you.
Many modern Linux distributions install the "ip" command by default. If any kernel modules are needed, the system can probably load them automatically. Those modules should be included in the standard kernel package of your Linux distribution(s).
A Google search with keywords "Linux GRE tunnel" seems to find a lot of very clear instructions...
for example:
http://www.cerritoslug.org/tutorials/gre_tunneling.html
http://www.linux.com/base/ldp/howto/Adv-Routing-HOWTO/lartc.tunnel.gre.html
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP