Score:0

Exceed routing limit of 255 on Debian (any Kernel version)

bi flag

I want to setup more than 255 GRE tunnels between 1 server and about "6000 other servers/aka proxies", method used is:

sudo ip tunnel add gre1 mode gre local 149.5.175.220 remote 5.182.37.41 ttl 255
sudo ip addr add 10.0.0.2/30 dev gre1

sudo echo '100 GRE' >> /etc/iproute2/rt_tables
sudo ip rule add from 10.0.0.0/30 table GRE
sudo ip route add default via 10.0.0.1 table GRE

I'm facing an issue with that after gre255, it doesn't seem to work. I can update to any kernel version if necessary.

Is there any way of just "unlocking" this limit and make it unlimited? I search a bit everywhere, some recommended namespaces but apparently newer Kernel versions might not need, but I can't find any accurate documentation.

To be clear, I do not have any problems with the tunnels itself, but I want to have an unlimited amount of them possible.

Thank you so much for the help!

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.