GRE Configuration Between Mikrotik And Cisco Router

 CiscoRouter Configuration:


R1#conf t

R1 (config)# hostname CiscoRouter

CiscoRouter (config)# interface FastEthernet0/0

CiscoRouter (config-if)# ip address

CiscoRouter (config-if)#no shutdown

CiscoRouter (config-if)#exit

CiscoRouter (config)# interface FastEthernet0/1

CiscoRouter (config-if)# ip address

CiscoRouter (config-if)# no shutdown

CiscoRouter (config-if)# exit

CiscoRouter (config)# interface tunnel 0

CiscoRouter (config-if)# ip ip address

CiscoRouter (config-if)# no shutdown

CiscoRouter (config-if)# tunnel source

 CiscoRouter (config-if )# tunnel destination

CiscoRouter (config-if )#exit

CiscoRouter (config)# ip route

CiscoRouter (config)# ip route

Cisco Router Verification :

 CiscoRouter#sh ip route

Codes: C – connected, S – static, R – RIP, M – mobile, B – BGP

       D – EIGRP, EX – EIGRP external, O – OSPF, IA – OSPF inter area

       N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external type 2

       E1 – OSPF external type 1, E2 – OSPF external type 2

       i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2

       ia – IS-IS inter area, * – candidate default, U – per-user static route

       o – ODR, P – periodic downloaded static route

Gateway of last resort is to network is subnetted, 2 subnets

S [1/0] via

C is directly connected, FastEthernet0/1 is subnetted, 1 subnets

C is directly connected, Tunnel0 is subnetted, 1 subnets

C is directly connected, FastEthernet0/0

S* [1/0] via

CiscoRouter#sh int tunnel 0

Tunnel0 is up, line protocol is up

  Hardware is Tunnel

  Internet address is

  MTU 1514 bytes, BW 9 Kbit, DLY 500000 usec,

     reliability 255/255, txload 1/255, rxload 1/255

  Encapsulation TUNNEL, loopback not set

  Keepalive not set

  Tunnel source, destination

  Tunnel protocol/transport GRE/IP

    Key disabled, sequencing disabled

    Checksumming of packets disabled

  Tunnel TTL 255

  Fast tunneling enabled

  Tunnel transmit bandwidth 8000 (kbps)

  Tunnel receive bandwidth 8000 (kbps)

  Last input 00:12:16, output 00:12:16, output hang never

  Last clearing of “show interface” counters never

  Input queue: 0/75/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

     95 packets input, 8040 bytes, 0 no buffer

     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

     105 packets output, 9112 bytes, 0 underruns

     0 output errors, 0 collisions, 0 interface resets

     0 output buffer failures, 0 output buffers swapped out

Mikrotik Route Configuration:

[admin@MikroTik] > ip address add address= interface=ether1

[admin@MikroTik] > ip address add address= interface=ether2

[admin@MikroTik] > interface gre add name=tunnel0 local-address= remote-address=104.10g .1.2

[admin@MikroTik] > ip address add address= interface=tunnel0

[admin@MikroTik] > ip route add dst-address= gateway=

[admin@MikroTik] > ip route add dst-address= gateway=

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top