Re: Problems with routing



On Sat, 2015-01-17 at 17:44 +0300, Mustafa Muhammad wrote:
Hi,
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 192.168.222.1 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:
192.168.222.0/0 via 192.168.222.1 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:

http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=6d5e62a3877491299654de99809e156fd348c549


The related bug on RHEL-7 is:
https://bugzilla.redhat.com/show_bug.cgi?id=1160013



If you use an older NetworkManger, you might get around it by using a
dispatcher script. Something like
https://bugzilla.redhat.com/show_bug.cgi?id=1160013#c3



Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



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