| Summary: | Add support for ip rules to the iproute2 network init script | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christian Schmidt <gentoo> |
| Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | 2006.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www.orbis-terrarum.net/~robbat2/conf.d-net-load.balanced | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Patch to add support for ip rules to the iproute2 init script
Patch to add support for ip rules to the iproute2 init script |
||
Created attachment 100260 [details, diff]
Patch to add support for ip rules to the iproute2 init script
Created attachment 100261 [details, diff]
Patch to add support for ip rules to the iproute2 init script
Comment on attachment 100261 [details, diff]
Patch to add support for ip rules to the iproute2 init script
duplicate, sorry
The last time I opened a bug suggesting this, uberlord rejected it, and said I should do it with hooks into postup/predown. The URL i've just set shows that configuration. Please note that flushing the route cache is extremely important after changing the rules, as the route cache takes precedence over the rules, until the route expires (which can take a very long time). Nice patch, but not going to happen. See comment #18 on bug #107268 for why. *** This bug has been marked as a duplicate of 107268 *** |
It would be great to have "ip rule" support in ip route 2 for multihomed machines with dual default routes. The attached patch adds support for a rules_${ifvar} variable in /etc/conf.d/net to the iproute.sh script.