Bridg And Dhclient

Home » CentOS » Bridg And Dhclient
CentOS No Comments

Hi. Anyone can help me?
I have Linux 3.10.0-123.20.1.el7.x86_64

# cat /etc/os-release NAME=”CentOS Linux”
VERSION=”7 (Core)”
ID=”CentOS
ID_LIKE=”rhel fedora”
VERSION_ID=”7″
PRETTY_NAME=”CentOS Linux 7 (Core)”

I added new virtual interfaces (br71 and vlan71) via NetworkManager

# cat /etc/sysconfig/network-scripts/ifcfg-br71
DEVICE=br71
STP=no TYPE=Bridge BOOTPROTO=none IPV6INIT=no NAME=br71
ONBOOT=yes

# cat /etc/sysconfig/network-scripts/ifcfg-vlan71
VLAN=yes TYPE=Vlan DEVICE=vlan71
PHYSDEV=team0
VLAN_IDq REORDER_HDR=0
BOOTPROTO=none IPV6INIT=no NAME=vlan71
ONBOOT=yes NM_CONTROLLED=yes BRIDGE=br71

Q: When interface going up (nmcli connection up br71) it was trying to get ip-addres via dhclient (but options BOOTPROTO=none uses). Why?

nmcli device status DEVICE TYPE STATE CONNECTION
vlan71 vlan connected vlan71
br71 bridge connecting (getting IP configuration) br71

Something wrong in my config files?
Thx.