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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content