Bug 1337826

Summary: [RFE] support advanced routing features (src, initcwnd, initrwnd, policy-routing)
Product: Red Hat Enterprise Linux 7 Reporter: Fani Orestiadou <forestia>
Component: NetworkManagerAssignee: Beniamino Galvani <bgalvani>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact: Mirek Jahoda <mjahoda>
Priority: low    
Version: 7.2CC: aloughla, atragler, bgalvani, lrintel, mleitner, msugaya, rkhan, sukulkar, thaller, vbenes
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-04 09:02:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1373698, 1384799, 1393481, 1411731    

Description Fani Orestiadou 2016-05-20 07:47:17 UTC
Description of problem:
There is possibility to set initcwnd and initrwnd options via ip command but there is no way to perform this using the nmcli.

Example of ip command:
ip route add default via x.x.x.x dev ethX proto static initcwnd X

Would it be applicable to add this feature to nmcli settings ?

Version-Release number of selected component (if applicable): 
All versions of NetworkManager

Actual results: No way of setting initcwnd and initrwnd via nmcli

Expected results: Be able to configure those values using nmcli

Thank you

Comment 1 Thomas Haller 2016-05-20 10:10:57 UTC
As you say, you currently can only configure basic attributes of a route.
E.g. no multi-path or policy-routing.





Current workaround:
===================


configure those routes in initscripts file
  /etc/sysconfig/network-scripts/rule-$NAME
  /etc/sysconfig/network-scripts/rule6-$NAME



to make this work also:

- ensure that the NetworkManager connection is handled via ifcfg-rh plugin (by default on RHEL). Basically, there should be a corresponding /etc/sysconfig/network-scripts/ifcfg-$NAME file for your connection.

- ensure dispatcher is enabled (by default on RHEL)
  $ systemctl status NetworkManager-dispatcher

- ensure NetworkManger-config-routing-rules package is installed (by default on RHEL). In rhel-7.3 this package will be renamed to NetworkManager-dispatcher-routing-rules. This package provides /etc/NetworkManager/dispatcher.d/10-ifcfg-rh-routes.sh which will apply the routes from the rule- file above.

Comment 4 Beniamino Galvani 2017-03-04 09:02:06 UTC
Bug 1373698 is also about adding native support for route options in NM. I'm closing this as a duplicate.

*** This bug has been marked as a duplicate of bug 1373698 ***