Re: Problems with routing

On Tue, Jan 20, 2015 at 12:47 AM, Thomas Haller <thaller redhat com> wrote:
On Sat, 2015-01-17 at 17:44 +0300, Mustafa Muhammad wrote:
I am trying to use NetworkManager with per interface routing and split
routing tables, when I use network I can put the route in a file
route-ifname with:
default via table rt2

and it works, when I switched to using NM, this no longer work, I
tried several times and found that I can use: via table rt2

but not "default", is this a bug or am I missing something?

initscripts pass the lines from route-ifname directly to ip-route.
NetworkManager does not support all this flexibility, especially it
does not support specifying routing tables...

But... recently the following got merged, so if you use NetworkManager
from master, it might work for you:

The related bug on RHEL-7 is:

If you use an older NetworkManger, you might get around it by using a
dispatcher script. Something like

Thank you for answering, I use Fedora 21 server, so not from master,
but I'll use a script, happy to see this come to NM.
Thank you for your suggestion and for the links.

Mustafa Muhammad


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]