Answer the question
In order to leave comments, you need to log in
Ubuntu. How to wrap routing to 16k+ addresses with subnets?
Good day.
There is a Linux gateway. You need to wrap a large pack of addresses (with subnets) with a script to another gateway. How ?
I can’t do a simple route add, because the routing table is not rubber.
I can drive them into ipset for the convenience of checking, well, or into 2 ipsets. But then what?
Maybe BSD can do this?
Need to tune the kernel?
UPD: got into the table. on a worker about 600MB for almost 80k records.
UPD2: BGP seems to be the best option
Answer the question
In order to leave comments, you need to log in
It would be more convenient in this case to set up dynamic routing. BGP for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question