Restarting the network doesn't accept domain and dns changes in ifcfg files for bond

Solution Verified - Updated -

Issue

  • When using NetworkManager-1.0.6-27.el7 in conjunction with bond, domain and dns parameters aren't being accepted.
# cat ifcfg-bond0
DOMAIN=test.com
GATEWAY=10.0.0.254
DNS1=10.0.0.2

# systemctl restart NetworkManager

Environment

  • Red Hat Enterprise Linux 7.3
    7.3 --> NetworkManager-1.4.0-12.el7.x86_64
    7.2 --> NetworkManager-1.0.6-27.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.