Score:0

Linux ip-ip tunnel not working

ws flag

An ip-ip tunnel between ubuntu 22 and a mikrotik router.

After an unknown period of time, tunnel will stop working.

just back once in linux pinging mikrotik side ip address.

i have to check eoip-tunnel also with same issue.

how do can fix problem?

Nikita Kipriyanov avatar
za flag
So well, first of all don't just *describe* configuration, *show it* to us. Also check firewalls. And, finally, note that ipip tunnels are insecure unless externally secured by ipsec; never use ipip alone over untrusted networks. For that, use Wireguard which can be thought as a secure drop-in replacement.
Score:0
in flag

That may be due to the same reason, why GRE tunnels Linux<->Mikrotik stop wotking at some point: Linux doesn't send keepalive packet, while Mikrotik is expecting it, and no any othe traffic goes through the tunnel for some time.

Solution is described here GRE keepalive with Linux and RouterOS

The other option may be to set maximum possible keepalive value on the Mikrotik side, which is 4294967295 according to docs. Or some people say at Mikrotik forums, that you can undefine it to completetely turn off, but i never tested it, so can't confurm.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.