cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
528
Views
0
Helpful
5
Replies

My first GRE Tunnel, HELP

nathanl02
Level 1
Level 1

I'm attempting to build my first GRE tunnel using 2 celular routers with static IP addresses provided by Verison.

 

Right now I have the 2 routers connected to two different laptops, although I eventually want one to be connected to a PLC.

 

I can succesfully ping the two routers from either laptop using the static IPs given to me by Verison. However I can't ping either laptop from the other.

 

I'm doing my pinging using command prompt using the commands "ping 192.168.1.120",  "ping 192.168.1.100", "ping 192.168.1.50", "ping 192.168.1.52". All of these will give errors when used to try and ping the remote router or laptop.

 

Here's my current configurations.

 

Laptop #1

Local IP 192.168.1.100

Router #1

Local IP 166.255.a.b

Remote IP 166.255.c.d

Tunnel IP 10.0.1.1

Tunnel Subnet/Mask 10.0.1.0/24

Remote User Subnet & Mask 192.168.1.52/24

 

Laptop #2

Local IP 192.168.1.120

Router #2

Local IP 166.255.c.d

Remote IP 166.255.a.b

Tuneel IP 10.0.1.2

Tunnel Subnet/Mask 10.0.1.0/24

Remote User Subnet & Mask 192.168.1.50/24

 

 

Can anyone tell me what I've done wrong either in my setup or in my attempts to ping using command prompt?

 

5 Replies 5

Richard Burts
Hall of Fame
Hall of Fame

I can not tell from the information provided what the issue is. Please provide detail of how the routers are configured.

 

I am a little confused at what you mean when you give us

Remote User Subnet & Mask 192.168.1.52/24

and

Remote User Subnet & Mask 192.168.1.50/24

These would appear to be in the same subnet. But they are given on different routers. Please clarify how subnet 192.168.50 can be on both routers.

 

HTH

 

Rick

 

HTH

Rick

192.168.1.50 and 192.168.1.52 are the LAN IP address that the individual routers are assigned. Since I've never done this before and am only trying to follow a simple guide left for me by a previous employee, I was assuming I should use these IP addresses followed by a /24 for the remote user subnet & mask field.

 

Honestly I don't even know what a subnet or mask is.

 

Thanks for the clarification. When you say that these are the LAN addresses does this mean that they are addresses in a LAN to which both routers are connected? That could make sense but then it is misleading to refer to them as Remote User Subnet. Or is it that each is a LAN connected behind the router to which users connect. That could make sense but then there is an issue because they are separate LANs but the IP addressing indicates that they are in the same subnet.

 

Configuring a GRE tunnel is pretty easy (after you have configured them a few times) and I believe that we can help solve your issues if you provide us sufficient information about what you are doing. As a start would you post the configuration that you have so far for both of the routers? It might also be helpful if you could post a simple diagram showing the routers, how they are connected, and the LAN through which each PC connects to its router.

 

HTH

 

Rick

HTH

Rick

nathanl02
Level 1
Level 1

I ended up solving my problem.

 

I once someone at work explained to me what a subnet was and how a GRE truly works I found my problem.

 

I was trying to connect two networks that had the same subnet. I didn't realize that I couldn't use the same first 3 numbers, ie "192.168.1" on both networks. I changed one of the network's subnet and it worked.

 

Thanks for trying Richard.

I am glad to know that you solved your own problem. That is frequently when we learn the best lessons. The issue of trying to connect two networks that had the same subnet is what I was trying to identify in my response. I am glad that someone at work was successful in explaining it to you. Thanks for posting back to the forum to let us know that you have worked it out.

 

HTH

 

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card