m.roth at 5-cent.us
2017-Feb-13 18:35 UTC
[CentOS] CentOS 7, systemd, NetworkMangler, oh, my
Gordon Messmer wrote:> On 02/13/2017 07:35 AM, m.roth at 5-cent.us wrote: >> Finally, I do an ifdown, followed by an ifup, and everything's >> wonderful. > > What's in /etc/sysconfig/network-scripts/ifcfg-<interface>? Does it say > NM_CONTROLLED=no? >Good catch. No, it doesn't say no... because the line was commented out. I've just uncommented it, and set it to yes. <snip> mark
On 02/13/2017 10:35 AM, m.roth at 5-cent.us wrote:>> What's in /etc/sysconfig/network-scripts/ifcfg-<interface>? Does it say >> NM_CONTROLLED=no? >> > Good catch. No, it doesn't say no... because the line was commented out. > I've just uncommented it, and set it to yes.Commented out should be the same as =yes. Only =no will cause it to be managed by the old sysconfig scripts, unless I'm mistaken. As Johnny suggested, ONBOOT=no is another option that could be problematic. Your log was a little too edited. Some of the early lines were incomplete, so it's hard to determine what's going on. Maybe just send ifcfg-em1?
m.roth at 5-cent.us
2017-Feb-13 20:13 UTC
[CentOS] CentOS 7, systemd, NetworkMangler, oh, my
Gordon Messmer wrote:> On 02/13/2017 10:35 AM, m.roth at 5-cent.us wrote: >>> What's in /etc/sysconfig/network-scripts/ifcfg-<interface>? Does it say >>> NM_CONTROLLED=no? >>> >> Good catch. No, it doesn't say no... because the line was commented out. >> I've just uncommented it, and set it to yes. > > Commented out should be the same as =yes. Only =no will cause it to be > managed by the old sysconfig scripts, unless I'm mistaken. As Johnny > suggested, ONBOOT=no is another option that could be problematic. > > Your log was a little too edited. Some of the early lines were > incomplete, so it's hard to determine what's going on. Maybe just send > ifcfg-em1?NAME="em1" DEVICE="em1" ONBOOT=yes NETBOOT=yes NM_CONTROLLED="yes" UUID="c432eaa1-023b-4f1f-a7b5-4605ec07195b" BOOTPROTO=dhcp TYPE=Ethernet SEARCH="nih.gov" IPV6INIT="yes" DHCPV6C="yes" DEFROUTE=yes PEERDNS=yes PEERROUTES=yes IPV4_FAILURE_FATAL=no IPV6_AUTOCONF=no IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no mark