After Mucking around with Centos7, I finally got a fully Static Br0
Configuration working.
It Should not be this damn much of a problem, Bet here is what is working for me.
Do a "yum install NetworkManager-config-server" and verify that
/etc/NetworkManager/conf.d/
contains a file 00-server.conf
It forces NetworkManager to Mostly leave your configuration alone.
Now go to /etc/sysconfig/network-scripts/ -
I have created Two files
ifcfg-br0 -
Code: Select all
DEVICE=br0
NM_CONTROLLED="no"
TYPE=Bridge
IPADDR=192.168.101.4 <<<< ----------------- Set the IP Stuff as needed.
NETMASK=255.255.255.0
GATEWAY=192.168.101.254
DNS1=192.168.101.5
DNS2=8.8.2.2
DOMAIN="localdomain"
BOOTPROTO=none
ONBOOT=yes
DELAY=0
Code: Select all
DEVICE=enp3s0
NM_CONTROLLED="no"
HWADDR=AC:AE:C5:DE:E4:1C <<--- Replace with your Mac Addr
TYPE=Ethernet
BRIDGE=br0
BOOTPROTO=none
ONBOOT=yes
DELAY=10
ifcfg-lo -
Code: Select all
DEVICE=lo
nm_controlled="no" <<<----- Turnoff !@(@(## NetworkManager
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME="loopback
Code: Select all
NM_CONTROLLED="no" <<<<----------------------- Turn off Network Mangler
HWADDR=AC:AE:C5:DE:E4:1C <<<<---------------------- Should be you current Mac Addr
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME="Auto Ethernet"
UUID=f43f1bdc-c7a3-43ce-b56e-4b50ebfa0354
ONBOOT=no <<<<<<<<<<<<<<<<<<<----------------------------------- Don't let this device start.
One Last Problem - NetworkManger says we are off line !! @!#$@!$#$#@$#@%$
After much Grumping, and googling, I did this -
cd to /etc/NetworkManager/conf.d/
cp 00-server.conf 99-connect.conf
Now edit 99-connect.conf to look like this -
99-connect.conf
Code: Select all
# This configuration file, when placed into into
# /etc/NetworkManager/conf.d changes NetworkManager's behavior to
# what's expected on "traditional UNIX server" type deployments.
#
# See "man NetworkManager.conf" for more information about these
# and other keys.
#
# Do not edit this file; it will be overwritten on upgrades. If you
# want to override the values here, or set additional values, you can
# do so by adding another file (eg, "99-local.conf") to this directory
# and setting keys there.
[connectivity]
uri=http://start.ubuntu.com/connectivity-check.html
response=Lorem ipsum
interval=0
and by setting the interval to 0, MAGIC, it turns off the "Not Connected Status" in Gnome.
Of course ether restart NetworkManager or Reboot.
Centos 7 Now works Again.... Like a Static Server