Hi,
If I disable ipv6 via the kernel command line, ipv6.disable=1, then systemd-networkd fails to bring up any interfaces.
Removing the option and networking works as expected.
Phil.
On Wed, Oct 4, 2017 at 3:46 PM, Phil Manuel phil@zomojo.com wrote:
Hi,
If I disable ipv6 via the kernel command line, ipv6.disable=1, then systemd-networkd fails to bring up any interfaces.
Removing the option and networking works as expected.
Hi,
If you look at the appropriate ifcfg files eg /etc/sysconfig/network-scripts/ifcfg-em1 do you see IPV6_FAILURE_FATAL=no ?
Hi Clint,
systemd-networkd doesn't use those files at all.
On Wed, 4 Oct 2017 at 13:55 Clint Dilks clintd@scms.waikato.ac.nz wrote:
On Wed, Oct 4, 2017 at 3:46 PM, Phil Manuel phil@zomojo.com wrote:
Hi,
If I disable ipv6 via the kernel command line, ipv6.disable=1, then systemd-networkd fails to bring up any interfaces.
Removing the option and networking works as expected.
Hi,
If you look at the appropriate ifcfg files eg /etc/sysconfig/network-scripts/ifcfg-em1 do you see IPV6_FAILURE_FATAL=no ? _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Okay sorry about that.
No Idea if it will work in CentOS, but is it worth trying to turn off ipv6 for a single nic as as outlined at https://coreos.com/os/docs/latest/network-config-with-networkd.html ?
On Wed, Oct 4, 2017 at 4:14 PM, Phil Manuel phil@zomojo.com wrote:
Hi Clint,
systemd-networkd doesn't use those files at all.
On Wed, 4 Oct 2017 at 13:55 Clint Dilks clintd@scms.waikato.ac.nz wrote:
On Wed, Oct 4, 2017 at 3:46 PM, Phil Manuel phil@zomojo.com wrote:
Hi,
If I disable ipv6 via the kernel command line, ipv6.disable=1, then systemd-networkd fails to bring up any interfaces.
Removing the option and networking works as expected.
Hi,
If you look at the appropriate ifcfg files eg /etc/sysconfig/network-scripts/ifcfg-em1 do you see
IPV6_FAILURE_FATAL=no ?
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
That's ok the link was a good idea however, it doesn't fix the issue with disabling ipv6 at the kernel level, fails with the same output
Regards
On Wed, 4 Oct 2017 at 14:39 Clint Dilks clintd@scms.waikato.ac.nz wrote:
Okay sorry about that.
No Idea if it will work in CentOS, but is it worth trying to turn off ipv6 for a single nic as as outlined at https://coreos.com/os/docs/latest/network-config-with-networkd.html ?
On Wed, Oct 4, 2017 at 4:14 PM, Phil Manuel phil@zomojo.com wrote:
Hi Clint,
systemd-networkd doesn't use those files at all.
On Wed, 4 Oct 2017 at 13:55 Clint Dilks clintd@scms.waikato.ac.nz
wrote:
On Wed, Oct 4, 2017 at 3:46 PM, Phil Manuel phil@zomojo.com wrote:
Hi,
If I disable ipv6 via the kernel command line, ipv6.disable=1, then systemd-networkd fails to bring up any interfaces.
Removing the option and networking works as expected.
Hi,
If you look at the appropriate ifcfg files eg /etc/sysconfig/network-scripts/ifcfg-em1 do you see
IPV6_FAILURE_FATAL=no ?
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 4 Oct 2017 3:13 pm, "Kenneth Porter" shiva@sewingwitch.com wrote:
On 10/3/2017 8:14 PM, Phil Manuel wrote:
systemd-networkd doesn't use those files at all.
If you look at the appropriate ifcfg files eg /etc/sysconfig/network-scripts/ifcfg-em1 do you see IPV6_FAILURE_FATAL=no ?
Where does systemd-networkd store its settings, then?
Files in /etc/systemd/network if I'm remembering right... been awhile since I played with it and it's not in a standard rhel install. You use .network files to do network configuration and .link for link level stuff like mac address.
James Hogarth wrote:
On 4 Oct 2017 3:13 pm, "Kenneth Porter" shiva@sewingwitch.com wrote:
On 10/3/2017 8:14 PM, Phil Manuel wrote:
systemd-networkd doesn't use those files at all.
If you look at the appropriate ifcfg files eg /etc/sysconfig/network-scripts/ifcfg-em1 do you see IPV6_FAILURE_FATAL=no ?
Where does systemd-networkd store its settings, then?
Files in /etc/systemd/network if I'm remembering right... been awhile since I played with it and it's not in a standard rhel install. You use .network files to do network configuration and .link for link level stuff like mac address.
Nope. And find /etc/systemd -name network gives zilch.
mark
On 4 Oct 2017 6:51 pm, m.roth@5-cent.us wrote:
James Hogarth wrote:
On 4 Oct 2017 3:13 pm, "Kenneth Porter" shiva@sewingwitch.com wrote:
On 10/3/2017 8:14 PM, Phil Manuel wrote:
systemd-networkd doesn't use those files at all.
If you look at the appropriate ifcfg files eg /etc/sysconfig/network-scripts/ifcfg-em1 do you see IPV6_FAILURE_FATAL=no ?
Where does systemd-networkd store its settings, then?
Files in /etc/systemd/network if I'm remembering right... been awhile since I played with it and it's not in a standard rhel install. You use .network files to do network configuration and .link for link level stuff like mac address.
Nope. And find /etc/systemd -name network gives zilch.
mark
_______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
As I said it's not even installed by default and I think it's only in the extras repo too...
So given this is the first time you've chimed in on this thread and that I don't recall you ever mentioning using networkd in tiger past I would not expect to see any .network files for you or a network directory.
Here's some documentation to read:
https://www.freedesktop.org/software/systemd/man/systemd.network.html
On 10/04/2017 01:40 PM, James Hogarth wrote:
Nope. And find /etc/systemd -name network gives zilch.
Yes, systemd-networkd does store its configuration in /etc/systemd/network, but the directory isn't created by the RPM; you need to create it yourself.
As noted, systemd-networkd is in the RHEL extras (or somesuch) repo, so it isn't supported by Red Hat on RHEL. It's basically just (minimally) packaged.
Sometimes we build kernels that need the minimal amount of functionality that we can get away with, the environment this system is in an environment that does not use, and won't use IPv6 for some time.
systemd-networkd has some nice features for setting link speed, renaming interfaces etc, and so hence, trying to get it to work with no IPv6
On Thu, 5 Oct 2017 at 07:45 Ian Pilcher arequipeno@gmail.com wrote:
On 10/04/2017 01:40 PM, James Hogarth wrote:
Nope. And find /etc/systemd -name network gives zilch.
Yes, systemd-networkd does store its configuration in /etc/systemd/network, but the directory isn't created by the RPM; you need to create it yourself.
As noted, systemd-networkd is in the RHEL extras (or somesuch) repo, so it isn't supported by Red Hat on RHEL. It's basically just (minimally) packaged.
--
Ian Pilcher arequipeno@gmail.com
-------- "I grew up before Mark Zuckerberg invented friendship" --------
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 04/10/17 03:46, Phil Manuel wrote:
Hi,
If I disable ipv6 via the kernel command line, ipv6.disable=1, then systemd-networkd fails to bring up any interfaces.
Removing the option and networking works as expected.
Phil.
How are you controlling your network interfaces? I am using NM.
Whilst not answering your question directly, I disable ipv6 in /etc/sysctl.conf.
cat /etc/sysctl.conf # sysctl settings are defined through files in # /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/. # # Vendors settings live in /usr/lib/sysctl.d/. # To override a whole file, create a new file with the same in # /etc/sysctl.d/ and put new settings there. To override # only specific settings, add a file with a lexically later # name in /etc/sysctl.d/ and put new settings there. # # For more information, see sysctl.conf(5) and sysctl.d(5). net.ipv4.ip_forward = 1 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1
After updating, run 'sysctl -p' and 'dracut -f'
Works for me.
On 4 October 2017 at 07:20, Phil Perry pperry@elrepo.org wrote:
On 04/10/17 03:46, Phil Manuel wrote:
Hi,
If I disable ipv6 via the kernel command line, ipv6.disable=1, then systemd-networkd fails to bring up any interfaces.
Removing the option and networking works as expected.
Phil.
How are you controlling your network interfaces? I am using NM.
Whilst not answering your question directly, I disable ipv6 in /etc/sysctl.conf.
cat /etc/sysctl.conf # sysctl settings are defined through files in # /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/. # # Vendors settings live in /usr/lib/sysctl.d/. # To override a whole file, create a new file with the same in # /etc/sysctl.d/ and put new settings there. To override # only specific settings, add a file with a lexically later # name in /etc/sysctl.d/ and put new settings there. # # For more information, see sysctl.conf(5) and sysctl.d(5). net.ipv4.ip_forward = 1 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1
After updating, run 'sysctl -p' and 'dracut -f'
He's using systemd-networkd as he stated.
Best advice? Don't disable IPv6 ... configure your firewall properly.
Too much now depends on IPv6 to play silly buggers with a key component of the network stack (eg default binds and network bonding).