Howto route Subnet via GRE-Tunnel to Debian Endpoint



I’m searching for some help. The scenario:

Datacenter A: VYOS Host
Datacenter B: Debian 7.x Host

Both Hosts are connected successfully with GRE-Tunnel:

tunnel tun0 {
description “GRE Tunnel”
encapsulation gre
local-ip 185.a.a.a
multicast enable
remote-ip 84.b.b.b

I can ping on each side <=> - Working!

Next Step: /27 Subnet (Internet IP-Block, no internal) in DC A I’d like to ‘tunnel’ to Datacenter B Host. The Subnet:

I add on Vyos:

vyos@gre-router# show protocols static
route {
next-hop {

And on Debian Host:
ip route add via dev greW0

When I know add a single IP on Debian Host, like:
ip addr add dev greW0

I can ping ->only<- from VYOS HOST but it’s not external available. When I make ping from Debian Host to Gateway, I get loop:

root@host1:~# ping
PING ( 56(84) bytes of data.
From icmp_seq=1 Redirect Host(New nexthop:
From icmp_seq=2 Redirect Host(New nexthop:
From icmp_seq=3 Redirect Host(New nexthop:

So it’s like a loop.

Need help :frowning: Please


your network mask /27 is same …


That means? Yes I have a /27 I’d like to send to Debian Host.


why do you need this route on Debian Host B “ip route add via dev greW0” ?