What's new

suppress_prefixlength in ip rule is not working

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

tramchamploo

Occasional Visitor
Code:
ip rule add table main suppress_prefixlength 0
The command above is not working and adds a rule without suppress_prefixlength.
Code:
ip rule
not showing the suffix.
This command is critical to implement custom routing if you want to reuse the old rules.
 
Requires a 3.x kernel or higher. What router model do you have?
 
In theory it is possible as other third party firmwares are running Kernel 4.4 for Broadcom Northstar e.g. Asus AC68U but in practices very difficult without having access to the closed source Broadcom code
 
But you can maybe do it the old fashioned way and just copy all local routes to the other tables :)
 
but in practices very difficult without having access to the closed source Broadcom code
Flat out impossible without the full source code.
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top