cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
439
Views
3
Helpful
9
Replies

gre tunnel conection between asr1001 and 920 problem

Matix
Level 1
Level 1

Hello people, recently i joined in the network area, and for now im testing few things on a local lab so i dont take down essential services xd

So this may be really simple for you all, 

i have 2 routers, physical connected (bc is a lab).

I have problem getting a conection between host1 to host2 via tun1

image.png

 

---------------------config------------------------------

ASR1001

interface GigabitEthernet0/0/5
description conexion a host1
ip address 192.168.27.143 255.255.255.0
negotiation auto
end

--------------------------------
interface GigabitEthernet0/0/7
description conexion a asr920
ip address 10.1.1.1 255.255.255.0
negotiation auto
end

-----------------------------------


interface Tunnel1
ip address 10.1.2.2 255.255.255.0
tunnel source GigabitEthernet0/0/7
tunnel destination 10.1.1.2
end

 

---------------------config------------------------------

ASR920

 

ASR920-LAB#show running-config interface g0/0/7
interface GigabitEthernet0/0/7
description coenxion a host2
ip address 192.168.27.144 255.255.255.0
media-type rj45
negotiation auto
no keepalive
end

----------------------------------

interface GigabitEthernet0/0/11
description Conexion a asr1001
ip address 10.1.1.2 255.255.255.0
media-type sfp
negotiation auto
no keepalive
end

-----------------------------------


interface Tunnel1
ip address 10.1.2.1 255.255.255.0
tunnel source GigabitEthernet0/0/11
tunnel destination 10.1.1.1
end

---------------------config------------------------------

From the hosts, i can reach each direct conection interface.

Router to router ,they reach eachother (physical connected).

Tunnel is up and protocol up, i can ping each local tunnel ip and it count the packets send or received.

All interfaces up, physical conections already checked.

tunnel mode gre ip is not appearing in the config, (tunnel mode ethernet gre dosnt seem to be working, Unrecognized command)


Tunnel1 is up, line protocol is up
Hardware is Tunnel
Internet address is 10.1.2.2/24
MTU 9976 bytes, BW 100 Kbit/sec, DLY 50000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation TUNNEL, loopback not set
Keepalive not set
Tunnel linestate evaluation up
Tunnel source 10.1.1.1 (GigabitEthernet0/0/7), destination 10.1.1.2
Tunnel Subblocks:
src-track:
Tunnel1 source tracking subblock associated with GigabitEthernet0/0/7
Set of tunnels with source GigabitEthernet0/0/7, 1 member (includes iterators), on interface <OK>
Tunnel protocol/transport GRE/IP
Key disabled, sequencing disabled
Checksumming of packets disabled
Tunnel TTL 255, Fast tunneling enabled
Tunnel transport MTU 1476 bytes
Tunnel transmit bandwidth 8000 (kbps)
Tunnel receive bandwidth 8000 (kbps)
Last input 04:05:39, output 00:44:09, output hang never
Last clearing of "show interface" counters 23:31:51
Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/0 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
419 packets input, 40529 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
674 packets output, 78780 bytes, 0 underruns
Output 0 broadcasts (0 IP multicasts)
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out

 What i cannot seem to be able to do is add routes, ip route 192.168.27.0 255.255.255.0 tunnel 1 or whatever i put is not registered in the route table for static routes (sh ip route).
Both routers are in v17.13.

For now i only need to stablish it, after that i start to add things into the config of each thing.

Thanks in advance!

 

9 Replies 9

This because you use same LAN 192. 168.27.0 in both side 

Change one subnet and it will be ok

MHM

@Matix 

 You dont neet to add "ip route 192.168.27.0 255.255.255.0 tunnel 1" just add  ip route 192.168.27.0 255.255.255.0 <ip add next tunnel>

But you can not use 192.168.27.0 on both sides of the network and I would use  tunnel source with IP address instead interface.

 

thanks for the answers, i may need a little bit more help, i changed the network on host2 (1001 host) to 192.168.101.10  as well the asr interface to .1 , dont seem to be able to ping each side.

added both ip routes:

asr920:

S* 0.0.0.0/0 is directly connected, Tunnel1
S 192.168.101.0/24 [1/0] via 10.1.1.1
is directly connected, Tunnel1

asr1001:

S 192.168.27.0/24 [1/0] via 10.1.2.1
is directly connected, GigabitEthernet0/0/5
is directly connected, Tunnel1

 

and changed the tunnel source ip as you said too.

 

thanks in advance

 

Friend staitc route need to config use tunnel no next-hop' 

Using next-hop is wrong

MHM

Hello, the route topic is kinda weird in those routers, i can use for example: "192.168.101.0 255.255.255.0 tunnel1" , but is not showing up in the ip route table, is like nothing happen, tried to add it as tunnel1, using the next tunnel ip or even the local tunnel ip (in which in this case, it tell me that is incorrect)..

What is weird too, the 920 for some reason doesnt like l2tpv3 (maybe is not supported?)

 

im trying to understand and learn about this so im sorry if its something much simple and i dont get it at first xd

 

thanks

192.168.101.0 255.255.255.0 tunnel1" , but is not showing up in the ip route table, <<- this happened if the tunnel is not UP/UP

Do 

Show ip interface brief 

MHM

For l2tpv3 sure it supports for asr series 

But I think you misconfig it

MHM

Hi @Matix ,

It seems that your static routes are misconfigured, at least you should have something similar to:

ASR920

C        10.1.1.0/24 is directly connected, GigabitEthernet0/0/11
C        10.1.2.0/24 is directly connected, Tunnel1
C        192.168.27.0/24 is directly connected, GigabitEthernet0/0/7
S      192.168.101.0/24 [1/0] via 10.1.2.2

ASR1K

C        10.1.1.0/24 is directly connected, GigabitEthernet0/0/7
C        10.1.2.0/24 is directly connected, Tunnel1
C        192.168.101.0/24 is directly connected, GigabitEthernet0/0/5
S     192.168.27.0/24 [1/0] via 10.1.2.1

Try also removing the static default route 0.0.0.0 that you have configured for the time being.

HTH

It seems you added it wrongly

asr1001:

S 192.168.27.0/24 [1/0] via 10.1.2.1

Should be:

asr1001:

S 192.168.27.0/24 [1/0] via 10.1.1.2

Review Cisco Networking for a $25 gift card