Red Hat Bugzilla – Bug 1452648
(null) in old route syntaxt after calling nmcli modify ipv4.routes
Last modified: 2017-08-01 05:28:57 EDT
Description of problem: I set route for eth1 device: echo '192.168.122.3 src 192.168.3.10 dev eth1' > /etc/sysconfig/network-scripts/route-ethie and callled: [root@qe-dell-ovs5-vm-43 NetworkManager]# nmcli connection modify ethie ipv4.routes 1.2.3.4 [root@qe-dell-ovs5-vm-43 NetworkManager]# cat /etc/sysconfig/network-scripts/route-ethie 1.2.3.4/32 via (null) Version-Release number of selected component (if applicable): 1.8.0-2
Created attachment 1280444 [details] [PATCH] ifcfg-rh: omit empty next hop for routes in legacy format
(In reply to Beniamino Galvani from comment #1) > Created attachment 1280444 [details] > [PATCH] ifcfg-rh: omit empty next hop for routes in legacy format lgtm
Applied to master: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=af8aac9b544cb64df3b77a413dfded23e976d1b0 and nm-1-8: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-1-8&id=cb5ba08f00691b18d272bfb08e4929d00fa246bb
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:2299