0

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!

0 Answers0