Centos 6.5 bridge can not start automatically after restart

S

sluszkulcs

Guest
I confugured eth2 and eth3 and 4 vlan with bond and 4 bridge on the vlan.
I show you how configured:
ifcfg-eth2:
DEVICE=eth2
HWADDR=00:17:A4:77:2D:32
TYPE=Ethernet
UUID=8322fcfb-b21a-4b85-8ae7-64064e7afd3c
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO="none"
MASTER=bond2
SLAVE=yes

ifcfg-eth3:
DEVICE=eth3
HWADDR=00:17:A4:77:2D:34
TYPE=Ethernet
UUID=69749ef1-aba0-40e8-bf2c-6c9e93647e10
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO="none"
MASTER=bond2
SLAVE=yes

ifcfg-bond2:
DEVICE=bond2
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
BONDING_OPTS="mode=1 miimon=100"
IPV6INIT=no
USERCTL=no

ifcfg-bond2.1052:
DEVICE=bond2.1052
NAME=bond2.1052
BONDING_MASTER=yes
VLAN=yes
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=1 miimon=100"
BRIDGE=br-int

ifcfg-bond2.1053:
DEVICE=bond2.1053
NAME=bond2.1053
BONDING_MASTER=yes
VLAN=yes
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=1 miimon=100"
BRIDGE=br-int2

ifcfg-bond2.1054:
DEVICE=bond2.1054
NAME=bond2.1054
BONDING_MASTER=yes
VLAN=yes
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=1 miimon=100"
BRIDGE=br-int3

ifcfg-br-int:
DEVICE=br-int
BOOTPROTO=static
ONBOOT=yes
TYPE=OVSBridge
DEVICETYPE=ovs
USERCTL=yes
PEERDNS=yes
IPV6INIT=no
STP=off

ifcfg-br-int2:
DEVICE=br-int2
BOOTPROTO=static
ONBOOT=yes
TYPE=OVSBridge
DEVICETYPE=ovs
USERCTL=yes
PEERDNS=yes
IPV6INIT=no
STP=off

ifcfg-br-int3:
DEVICE=br-int3
BOOTPROTO=static
ONBOOT=yes
TYPE=OVSBridge
DEVICETYPE=ovs
USERCTL=yes
PEERDNS=yes
IPV6INIT=no
STP=off

ifcfg-br-int4:
DEVICE=br-int4
BOOTPROTO=static
ONBOOT=yes
TYPE=OVSBridge
DEVICETYPE=ovs
USERCTL=yes
PEERDNS=yes
IPV6INIT=no
STP=off

My problem if I restart the computer the bridge can not start automatically on. I tried modify DELAY=0. But I write this command: service network start the bridge is start on. This is the log:
kernel: br-ext: port 1(bond4.2301) entering forwarding state
/etc/sysconfig/network-scripts/ifup-eth: Device br-ext does not seem to be present, delaying initialization.
Can you help me wthat is the problem my configuration file?
I chacked /etc/udev/rules.d/70-persistent-net.rules.
I found this config that I can use this. I brakedown the Bonding. If I restart the comupter the Bond is up and the bridge is down:

brctl showstp br-int
br-int
bridge id 8000.0017a4772d32
designated root 8000.0017a4772d32
root port 0 path cost 0
max age 19.99 bridge max age 19.99
hello time 1.99 bridge hello time 1.99
forward delay 14.99 bridge forward delay 14.99
ageing time 299.95
hello timer 1.40 tcn timer 0.00
topology change timer 0.00 gc timer 12.40
hash elasticity 4 hash max 512
mc last member count 2 mc init query count 2
mc router 1 mc snooping 1
mc last member timer 0.99 mc membership timer 259.96
mc querier timer 254.96 mc query interval 124.98
mc response interval 9.99 mc init query interval 31.24
flags


bond2.1052 (0)
port id 0000 state disabled
designated root 8000.0017a4772d32 path cost 2
designated bridge 8000.0017a4772d32 message age timer 0.00
designated port 8001 forward delay timer 0.00
designated cost 0 hold timer 0.40
mc router 1
flags


If I write this command srevice network start the bridge is up:
brctl showstp br-int
br-int
bridge id 8000.0017a4772d32
designated root 8000.0017a4772d32
root port 0 path cost 0
max age 19.99 bridge max age 19.99
hello time 1.99 bridge hello time 1.99
forward delay 14.99 bridge forward delay 14.99
ageing time 299.95
hello timer 1.40 tcn timer 0.00
topology change timer 0.00 gc timer 12.40
hash elasticity 4 hash max 512
mc last member count 2 mc init query count 2
mc router 1 mc snooping 1
mc last member timer 0.99 mc membership timer 259.96
mc querier timer 254.96 mc query interval 124.98
mc response interval 9.99 mc init query interval 31.24
flags


bond2.1052 (0)
port id 0000 state forwarding
designated root 8000.0017a4772d32 path cost 2
designated bridge 8000.0017a4772d32 message age timer 0.00
designated port 8001 forward delay timer 0.00
designated cost 0 hold timer 0.40
mc router 1
flags

I dont know why the bridge interface up if I restart the computer.
 

Members online


Latest posts

Top