Re: Network scripts ifup-post

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



Disabled NetworkManager, all is working now as it should. Probably never rebooted the server since setting the routes and did not discover that it does not work, shame on me :-O

As I found out there would be a package NetworkManager-dispatcher-routing-rules, which enables policy routing for NM.
But I will keep it the old fashioned way....

Am 02.10.2017 um 15:17 schrieb Thomas Plant:
Hello,

since updating to Centos 7.4 the ifup-post script in /etc/sysconfig/network-scripts does not behave as it did before the update. I use it to configure additional routes via  /sbin/ifup-local with the parameter of the interface being upped, but it seems to pass only 'lo' as interface name. Before it passed correctly 'eth0:0' of the virtual interface.

Added a line in /etc/sysconfig/network-scripts/ifup-post, near the end when it calls the ifup-local, echoing the variable of ${DEVICE} to a file and all that showed up was 'lo'.

Is this a bug? Or how can I correct this behaviour?

Thanks,
Thomas


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux